Public Member Functions | |
FilterChooserDialog (String title, LoggingClient logCli, Filterable filterable) | |
void | setFilters (FiltersVector flts) |
boolean[] | getChecked () |
Filter[] | getFilters () |
Override void | setVisible (boolean visible) |
Protected Member Functions | |
GridBagConstraints | newConstraints (int x, int y, int top, int bottom) |
void | updateButtons () |
Private Member Functions | |
void | initialize () |
void | setupFields (FiltersVector filters) |
void | loadFilters () |
void | saveAsFilters () |
void | saveFilters (String fileName) |
void | applyFilters () |
void | restoreFilters () |
void | initToolbar () |
void | initMenubar () |
Private Attributes | |
JCheckList | filterList = null |
JLabel | description = null |
JButton | buttonClose = null |
JButton | buttonApply = null |
JButton | buttonRestore = null |
JToolBar | toolBar = new JToolBar() |
JButton | buttonAdd = null |
JButton | buttonRemove = null |
JButton | buttonModify = null |
JMenuBar | menuBar = new JMenuBar() |
JMenuItem | loadMI = new JMenuItem("Load") |
JMenuItem | saveMI = new JMenuItem("Save") |
JMenuItem | saveAsMI = new JMenuItem("Save as") |
JMenuItem | closeMI = new JMenuItem("Close") |
JMenuItem | activateAllMI = new JMenuItem("Activate all") |
JMenuItem | deactivateAllMI = new JMenuItem("Deactivate all") |
JMenuItem | clearAllMI = new JMenuItem("Clear all") |
ButtonListener | bl = new ButtonListener() |
LoggingClient | loggingClient |
Filterable | filterable = null |
FiltersVector | filters = new FiltersVector() |
FiltersVector | initialFilters = new FiltersVector() |
boolean | modified = false |
String | filterFileName = null |
Creation date: (1/2/2002 22:53:33)
|
FilterChooserDialog constructor.
|
|
Apply the filters in the table of logs |
|
Insert the method's description here. Creation date: (1/2/2002 23:35:37)
|
|
Insert the method's description here. Creation date: (2/6/02 3:34:17 PM)
|
|
Init the GUI |
|
Initialize the menubar |
|
Initialize the toolbar |
|
Load filters from a XML file The user chooses if the loaded filters substitutes the existing ones or merges with them |
|
Insert the method's description here. Creation date: (2/7/02 4:30:09 PM)
|
|
Restore the initial filters in the list |
|
Save the filters in a new XML file |
|
Save the filters to a XML files with a given name It create the File object then call overloaded method
|
|
Set the filters
|
|
Set the entries in the list of filters (one row per each filter)
|
|
Override |
|
Insert the method's description here. Creation date: (2/13/2002 18:35:12) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The name of the last save/load filter file (to implement the save as option) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|