
Public Member Functions | |
| CreateFiltersPanel (Configuration configuration) throws LaserConsoleException | |
| List | getDefinedFilters () |
| void | reset () |
| void | removeFilter (GPNode node) |
| void | removeAllFilters () |
| void | setInUpdateMode (String name, String operator, String value, String buttonName) |
| void | updateFilterSelection (Configuration newConfiguration) throws LaserConsoleException |
Static Package Functions | |
| [static initializer] | |
Static Package Attributes | |
| static final Logger | logger |
Private Member Functions | |
| void | initComponents () throws LaserConsoleException |
Private Attributes | |
| SingleFilterItem | createFilterItem = null |
| CreatedFiltersExplorer | createdFiltersExpl = null |
| javax.swing.JButton | deleteAllButton |
| javax.swing.JPanel | tableListSouthPanel |
| javax.swing.JPanel | buttonPanel |
| javax.swing.JPanel | staticInfoPanel |
| javax.swing.JPanel | headerPanel |
| javax.swing.JPanel | filtrListPanel |
| javax.swing.JButton | addButton1 |
| javax.swing.JButton | updateButton |
| javax.swing.JPanel | centralPanel |
| javax.swing.JPanel | southPanel |
| javax.swing.JButton | deleteButton |
| javax.swing.JPanel | tableListPanel |
| Configuration | configuration = null |
This windows allows user to create, update and remove filters for given configuration
| cern::laser::guiplatform::windows::filter::CreateFiltersPanel::CreateFiltersPanel | ( | Configuration | configuration | ) | throws LaserConsoleException [inline] |
Creates a new instance of CreateFiltersPanel
| configuration | configuration which contains filters to be shown |
References configuration, and initComponents().
| cern::laser::guiplatform::windows::filter::CreateFiltersPanel::[static initializer] | ( | ) | [inline, static, package] |
| List cern::laser::guiplatform::windows::filter::CreateFiltersPanel::getDefinedFilters | ( | ) | [inline] |
This method returns all defined filters
| <code>List</code> | with FilterItemBeanobjects |
References createdFiltersExpl, and cern::laser::guiplatform::windows::filter::CreatedFiltersExplorer::getDefinedFilters().
Referenced by cern::laser::guiplatform::windows::configuration::ConsoleConfigurationPanel::createConfiguration().
| void cern::laser::guiplatform::windows::filter::CreateFiltersPanel::initComponents | ( | ) | throws LaserConsoleException [inline, private] |
This method initializes all components for this panel
| filters | list with defined filtes, this List contains FilterItemBean objects |
References addButton1, buttonPanel, centralPanel, configuration, createdFiltersExpl, createFilterItem, filtrListPanel, cern::laser::client::services::selection::Selection::getFilterSelection(), cern::laser::console::Configuration::getSelection(), headerPanel, cern::laser::guiplatform::windows::filter::SingleFilterItem::setFitlerExplorer(), southPanel, staticInfoPanel, tableListPanel, and tableListSouthPanel.
Referenced by CreateFiltersPanel().
| void cern::laser::guiplatform::windows::filter::CreateFiltersPanel::removeAllFilters | ( | ) | [inline] |
References createdFiltersExpl, createFilterItem, cern::laser::guiplatform::windows::filter::CreatedFiltersExplorer::removeAllFilters(), and cern::laser::guiplatform::windows::filter::SingleFilterItem::resetPanel().
Referenced by cern::laser::guiplatform::windows::configuration::ConsoleConfigurationPanel::removeAllFilters().
| void cern::laser::guiplatform::windows::filter::CreateFiltersPanel::removeFilter | ( | GPNode | node | ) | [inline] |
| node | filter to be removed |
References createdFiltersExpl, createFilterItem, cern::gp::nodes::GPNode::getBean(), cern::laser::guiplatform::filters::FilterItemBean::getName(), cern::laser::guiplatform::filters::FilterItemBean::getOperator(), cern::laser::guiplatform::filters::FilterItemBean::getValue(), cern::laser::guiplatform::windows::filter::CreatedFiltersExplorer::removeFilter(), and cern::laser::guiplatform::windows::filter::SingleFilterItem::setMode().
Referenced by cern::laser::guiplatform::windows::configuration::ConsoleConfigurationPanel::removeFilter().
| void cern::laser::guiplatform::windows::filter::CreateFiltersPanel::reset | ( | ) | [inline] |
This method resets this panel
References createdFiltersExpl, and cern::laser::guiplatform::windows::filter::CreatedFiltersExplorer::removeAllFilters().
Referenced by cern::laser::guiplatform::windows::configuration::ConsoleConfigurationPanel::resetButtonActionPerformed().
| void cern::laser::guiplatform::windows::filter::CreateFiltersPanel::setInUpdateMode | ( | String | name, | |
| String | operator, | |||
| String | value, | |||
| String | buttonName | |||
| ) | [inline] |
| void cern::laser::guiplatform::windows::filter::CreateFiltersPanel::updateFilterSelection | ( | Configuration | newConfiguration | ) | throws LaserConsoleException [inline] |
used when configuration is reloaded (ConfigurationLoadAction)
| newConfiguration | new configuration to be shown |
References cern::laser::guiplatform::windows::filter::CreatedFiltersExplorer::addFilter(), configuration, createdFiltersExpl, logger, and cern::laser::guiplatform::windows::filter::CreatedFiltersExplorer::removeAllFilters().
Referenced by cern::laser::guiplatform::windows::configuration::ConsoleConfigurationPanel::updateConfiguration().
javax.swing.JButton cern::laser::guiplatform::windows::filter::CreateFiltersPanel::addButton1 [private] |
Referenced by initComponents().
javax.swing.JPanel cern::laser::guiplatform::windows::filter::CreateFiltersPanel::buttonPanel [private] |
Referenced by initComponents().
javax.swing.JPanel cern::laser::guiplatform::windows::filter::CreateFiltersPanel::centralPanel [private] |
Referenced by initComponents().
Configuration cern::laser::guiplatform::windows::filter::CreateFiltersPanel::configuration = null [private] |
Referenced by CreateFiltersPanel(), initComponents(), and updateFilterSelection().
CreatedFiltersExplorer cern::laser::guiplatform::windows::filter::CreateFiltersPanel::createdFiltersExpl = null [private] |
on this panel, thers is list with defined filters
Referenced by getDefinedFilters(), initComponents(), removeAllFilters(), removeFilter(), reset(), and updateFilterSelection().
SingleFilterItem cern::laser::guiplatform::windows::filter::CreateFiltersPanel::createFilterItem = null [private] |
panel where user can create new filter
Referenced by initComponents(), removeAllFilters(), removeFilter(), and setInUpdateMode().
javax.swing.JButton cern::laser::guiplatform::windows::filter::CreateFiltersPanel::deleteAllButton [private] |
javax.swing.JButton cern::laser::guiplatform::windows::filter::CreateFiltersPanel::deleteButton [private] |
javax.swing.JPanel cern::laser::guiplatform::windows::filter::CreateFiltersPanel::filtrListPanel [private] |
Referenced by initComponents().
javax.swing.JPanel cern::laser::guiplatform::windows::filter::CreateFiltersPanel::headerPanel [private] |
Referenced by initComponents().
final Logger cern::laser::guiplatform::windows::filter::CreateFiltersPanel::logger [static, package] |
LogFactory.getLogger(CreateFiltersPanel.class.getName())
Referenced by updateFilterSelection().
javax.swing.JPanel cern::laser::guiplatform::windows::filter::CreateFiltersPanel::southPanel [private] |
Referenced by initComponents().
javax.swing.JPanel cern::laser::guiplatform::windows::filter::CreateFiltersPanel::staticInfoPanel [private] |
Referenced by initComponents().
javax.swing.JPanel cern::laser::guiplatform::windows::filter::CreateFiltersPanel::tableListPanel [private] |
Referenced by initComponents().
javax.swing.JPanel cern::laser::guiplatform::windows::filter::CreateFiltersPanel::tableListSouthPanel [private] |
Referenced by initComponents().
javax.swing.JButton cern::laser::guiplatform::windows::filter::CreateFiltersPanel::updateButton [private] |
1.6.2