cern::laser::guiplatform::filters::FilterItemBean Class Reference

Inheritance diagram for cern::laser::guiplatform::filters::FilterItemBean:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::filters::FilterItemBean:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FilterItemBean ()
 FilterItemBean (Filter filter)
Filter getFilter ()
String getName ()
String getOperator ()
String getValue ()
String[] getNodeActions ()
String getNodeDefaultAction ()
java.awt.Image getNodeIcon ()
cern.gp.beans.PropertyInfo[] getPropertyInfo ()

Static Package Attributes

static String[] nodeActions = null

Private Attributes

Filter filter = null
String defaultNodeAction

Static Private Attributes

static final String[] EMPTY_NODE_ACTIONS = new String [] {}

Detailed Description

Class stores inforamtion about filter and is used to display filters in TableListExplorer. This class stores inforamation as name/value pairs. (i. e. fault_family like XXXX).

This class could be wrapper for FilterBean from business layer.

Author:
pawlowsk

Constructor & Destructor Documentation

cern::laser::guiplatform::filters::FilterItemBean::FilterItemBean (  )  [inline]

Creates a new instance of FilterItemBean Creates a new instance of FilterItemBean !!! WARNING !!!!! this constructor should be used only when one wants to set table columns for CreatedFilterExplorer

References defaultNodeAction, EMPTY_NODE_ACTIONS, and nodeActions.

cern::laser::guiplatform::filters::FilterItemBean::FilterItemBean ( Filter  filter  )  [inline]
Parameters:
bean filter bean from business layer

References nodeActions.


Member Function Documentation

Filter cern::laser::guiplatform::filters::FilterItemBean::getFilter (  )  [inline]

References filter.

String cern::laser::guiplatform::filters::FilterItemBean::getName (  )  [inline]

Returns the internal name of the associated bean. If null is returned a default name will be used.

  • Property name : name
  • Visibility : normal (visible in a property sheet)
  • Default value (when null is returned from this method) : a unique name generated using BeanUtils. generateUniqueBeanName()
Returns:
the internal name of the associated bean or null.

Reimplemented from cern::gp::beans::BeanSupport.

References filter, and cern::laser::client::services::selection::Filter::getProperty().

Referenced by cern::laser::guiplatform::windows::filter::CreatedFiltersExplorer::CreatedFiltersNodeManager::initChildrenMap(), cern::laser::guiplatform::actions::filters::EditFilterAction::performAction(), cern::laser::guiplatform::windows::filter::CreateFiltersPanel::removeFilter(), and cern::laser::guiplatform::windows::filter::CreatedFiltersExplorer::CreatedFiltersNodeManager::removeFilter().

String [] cern::laser::guiplatform::filters::FilterItemBean::getNodeActions (  )  [inline]

Returns an array of qualified name of actions for the node representing the associated bean. Null can be used in the array to represent a separator.

  • Property name : nodeActions
  • Visibility : hidden (not visible in a property sheet)
  • Default value (when null is returned from this method) : use the possible tagging of the BeanDescriptor of the BeanInfo : BeanTagger.getActions(beanInfo.getBeanDescriptor())
Returns:
an array of qualified name of actions for a node representing the bean.

Reimplemented from cern::gp::beans::BeanSupport.

References nodeActions.

String cern::laser::guiplatform::filters::FilterItemBean::getNodeDefaultAction (  )  [inline]

Returns the qualified name of the default action for the node representing the associated bean. The default action is the one triggered when the user double-clic on the node. If null is returned a default default action will be used.

  • Property name : nodeDefaultAction
  • Visibility : hidden
  • Default value (when null is returned from this method) : use the possible tagging of the BeanDescriptor of the BeanInfo : BeanTagger.getDefaultAction(beanInfo.getBeanDescriptor())
Returns:
the qualified name of the default action for the node or null representing the associated bean.

Reimplemented from cern::gp::beans::BeanSupport.

References defaultNodeAction.

java.awt.Image cern::laser::guiplatform::filters::FilterItemBean::getNodeIcon (  )  [inline]

Returns the icon in 16x16 size used to display the node representing the associated bean. If null is returned a default icon will be used.

  • Property name : nodeIcon
  • Visibility : hidden (not visible in a property sheet)
  • Default value (when null is returned from this method) : beanInfo.getIcon()
Returns:
the icon in 16x16 size used to display the node representing the associated bean or null

Reimplemented from cern::gp::beans::BeanSupport.

String cern::laser::guiplatform::filters::FilterItemBean::getOperator (  )  [inline]
cern.gp.beans.PropertyInfo [] cern::laser::guiplatform::filters::FilterItemBean::getPropertyInfo (  )  [inline]

Returns an array of PropertyInfo specifying information on some properties.

Each PropertyInfo of this array defines information for one property of this bean. Defining a PropertyInfo for a given property is usefull when there is no explicit BeanInfo for the bean and when the property have non default characteristics such as, for instance, a specific PropertyEditor.

  • Property name : propertyInfo
  • Visibility : hidden (not visible in a property sheet)
  • Default value (when null is returned from this method) : use PropertyDescriptors from BeanInfo
Returns:
true is the value of the properties can be cached in the node, false else or null for default behavior

Reimplemented from cern::gp::beans::BeanSupport.

String cern::laser::guiplatform::filters::FilterItemBean::getValue (  )  [inline]

Member Data Documentation

Initial value:
 
        
        
        "cern.laser.guiplatform.actions.filters.EditFilterAction"

default node action

Referenced by FilterItemBean(), and getNodeDefaultAction().

final String [] cern::laser::guiplatform::filters::FilterItemBean::EMPTY_NODE_ACTIONS = new String [] {} [static, private]

Referenced by FilterItemBean().

name operator value filter from business layer

Referenced by getFilter(), getName(), getOperator(), and getValue().

node actions

Referenced by FilterItemBean(), and getNodeActions().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2