Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

String[] nodeActions = null

Private Attributes

Filter filter = null
String defaultNodeAction

Static Private Attributes

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 !!! WARNING !!!!! this constructor should be used only when one wants to set table columns for CreatedFilterExplorer

cern::laser::guiplatform::filters::FilterItemBean::FilterItemBean Filter  filter  )  [inline]
 

Parameters:
bean filter bean from business layer


Member Function Documentation

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

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.

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.

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.

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

String cern::laser::guiplatform::filters::FilterItemBean::defaultNodeAction [private]
 

Initial value:

"cern.laser.guiplatform.actions.filters.EditFilterAction"
default node action

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

Filter cern::laser::guiplatform::filters::FilterItemBean::filter = null [private]
 

filter from business layer

String [] cern::laser::guiplatform::filters::FilterItemBean::nodeActions = null [static, package]
 

node actions


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:34 2009 for ACS Java API by doxygen 1.3.8