Public Member Functions | |
LogEntryTable (LoggingClient client, boolean initialDateFormat, boolean initalLogTypeFormat) throws Exception | |
org.w3c.dom.Node | getExtraInfo () |
LogTableDataModel | getLCModel () |
int | getSortIndex () |
void | hideColumn (int columnIndex) |
Component | prepareRenderer (TableCellRenderer renderer, int rowIndex, int vColIndex) |
int | getColumnWidth (int n) |
void | setAdditionalWidth (int n, int width) |
boolean | isSortAscending () |
void | setSortIndex (int index) |
void | setSortOrder (boolean ascending) |
void | setOrdering (int field, boolean ascending) |
void | showColumn (int columnIndex) |
void | showFieldChooser () |
boolean[] | getVisibleColumns (boolean zeroBased) |
void | close () |
void | setShortDateFormat (boolean shortFormat) |
void | setLogTypeDescriptionView (boolean showDescription) |
Override void | changeSelection (int rowIndex, int columnIndex, boolean toggle, boolean extend) |
void | scrollToNextSelectedRow () |
void | scrollToPrevSelectedRow () |
void | scrollToFirstRow () |
void | scrollToLastRow () |
void | scrollToSelectedRow () |
FiltersVector | getFilters () |
void | setFilters (FiltersVector newFilters, boolean append) |
String | getFiltersString () |
void | setLogLevel (LogTypeHelper newLevel) |
int | getViewRowCount () |
Override void | sorterChanged (RowSorterEvent e) |
void | zoom () |
Override void | zoomReadingFile (int num) |
Override void | zoomTotalFileToRead (int num) |
Protected Member Functions | |
int | columnToModel (int index) |
Private Member Functions | |
String | getCellStringContent (int row, int col) |
void | initialize (boolean shortDateFormat, boolean logTypeformat) |
Private Attributes | |
TableColumn[] | columnsList |
boolean[] | visibleColumns |
FieldChooserDialog | fieldChooser = null |
LoggingClient | loggingClient |
DefaultListSelectionModel | selectionModel |
LogTableRowSorter | rowSorter |
int | selecteViewdRow = - 1 |
int | selecteModelRow = - 1 |
int | selecteLogKey = - 1 |
DateRenderer | dateRenderer |
EntryTypeRenderer | logTypeRenderer |
ProgressMonitor | zoomProgressMonitor = null |
int | zoomTotFiles |
|
LogEntryTable constructor.
|
|
Override the method in
|
|
Close the filterChooser dialog releasing all the resources. This is intended to be the last operatione when the application is closing |
|
Utility method to provide mapping of column index to data fields. Creation date: (1/25/02 11:11:43 AM)
|
|
Get a string representing the content of a cell
|
|
Computes the total width of the table taking into consideration the visible columns' width.
|
|
Insert the method's description here. Creation date: (2/7/02 3:52:36 PM)
|
|
Return the filters defined by the user.
|
|
|
|
Returns the LogTableDataModel. This is a convenience method that returns properly case data model. Creation date: (11/24/2001 18:44:41)
|
|
Sets the index of the column the table should be sorted by. If the table is currently unsorted, the result is -1.
|
|
Shows the number of rows shown by the table.
|
|
Returns an array of boolean with true for each visible column The visibleComun array of this class starts counting the column from 1 instead of 0 (i.e. 0 is not used)
|
|
Hides a table column specified by index. Creation date: (12/4/2001 22:57:58)
|
|
Setup the table
|
|
Returns true if the elements are sorted in ascending order and false if in descending. If the table is not sorted, this parameter has no meaning. Creation date: (1/24/02 10:49:21 AM)
|
|
Sets a tool tip on all the cells. It pops up when the value is not fully displayed while the mose scrolls over it.
|
|
Scroll the table to the first row |
|
Scroll the table to the last row |
|
Scroll the table to the next selected row and select it. If there is no row selected or the selected line is the last row of the table, the method return without scrolling the table. |
|
Scroll the table to the next selected row and select it. If there is no row selected or the selected row is the first row of the table, the method return without scrolling the table |
|
Scroll the table to the selected row If there is no selected row, the method return without scrolling.
The selected row could not be anymore present in the table for example because it has been deleted by the |
|
Assigns the additional width that is left to the right to Log Message column.
|
|
|
|
Set the new log level i.e. the level of the logs shown in the table.
|
|
Show/Hide the description of the log type at the right side of the icon. When the description is disabled, the icon appear without the written. The column is also resized to use less space as possible.
|
|
Set the order and the field for ordering at once. Calling this method is faster the calling the setSortIndex and setSortOrder
|
|
Set the format used to show the timestamp in the date column
|
|
Sets the column the elements in this table should be sorted by. Setting it to -1 means the table is not sorted. To change both the index and the order, it is better to execute setOrdering
|
|
Changes the order in which the elements are sorted. Set true for ascending and false for descending. To change both the index and the order, it is better to execute setOrdering
|
|
Displays the column specified by index. Creation date: (12/4/2001 22:56:11)
|
|
Displays the field chooser dialog. Creation date: (1/2/2002 23:20:27) |
|
|
|
Zoom over the selected logs.
The zoom consists of loading all the logs in the time interval defined by the selected logs. The zoom is delegated to the
|
|
|
|
|
|
|
|
The renderer to show the date (short or complete format) |
|
|
|
|
|
The renderer to show the type of log (icon and description or icon only) |
|
The object to sort, order and filter the logs shown by the table |
|
The key of the last log selected by the user.
|
|
The index (in the model!!!) of the row selected by the user.
|
|
The index (in the view!!!) of the row selected by the user.
|
|
|
|
|
|
The dialog to show (and stop) the progress of the zoom |
|
The total number of files to read while zooming |