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

cern::laser::guiplatform::configuration::ConfigurationBean Class Reference

Inheritance diagram for cern::laser::guiplatform::configuration::ConfigurationBean:

Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::configuration::ConfigurationBean:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ConfigurationBean (Configuration conf) throws LaserConsoleException
String getName ()
String getDisplayName ()
String[] getNodeActions ()
String getNodeDefaultAction ()
java.awt.Image getNodeIcon ()
cern.gp.beans.PropertyInfo[] getPropertyInfo ()
boolean getIsDefault ()
void setIsDefault (boolean flag)
String getShortDescription ()

Private Attributes

Configuration conf = null
String name = null
boolean isDefault = false

Static Private Attributes

final Logger logger

Detailed Description

This is configuration bean (configuration wrapper)

Author:
pawlowsk


Constructor & Destructor Documentation

cern::laser::guiplatform::configuration::ConfigurationBean::ConfigurationBean Configuration  conf  )  throws LaserConsoleException [inline]
 

Creates a new instance of ConfigurationBean

In the future there shuold be only one constructor public ConfugurationBean(Configuration conf)

Configuration -- object which comes from business API


Member Function Documentation

String cern::laser::guiplatform::configuration::ConfigurationBean::getDisplayName  )  [inline]
 

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

  • Property name : displayName
  • Visibility : normal (visible in a property sheet)
  • Default value (when null is returned from this method) : if getName() is available it is used instead of getDisplayName(), else beanInfo.getBeanDescriptor().getDisplayName() is used
Returns:
the internal display name of the associated bean or null

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

boolean cern::laser::guiplatform::configuration::ConfigurationBean::getIsDefault  )  [inline]
 

This matehod returns "isDefault" status for this configuration

Returns:
true if this configuration is default, otherwise false

String cern::laser::guiplatform::configuration::ConfigurationBean::getName  )  [inline]
 

This constructor should be used only for testing

Parameters:
name conf name
isDefault shows whether this configuration is default configuration

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

String [] cern::laser::guiplatform::configuration::ConfigurationBean::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::configuration::ConfigurationBean::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::configuration::ConfigurationBean::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.

cern.gp.beans.PropertyInfo [] cern::laser::guiplatform::configuration::ConfigurationBean::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::configuration::ConfigurationBean::getShortDescription  )  [inline]
 

Returns a short description of the associated bean (used in tooltip for instance). If null is returned a default description will be used.

  • Property name : shortDescription
  • Visibility : normal (visible in a property sheet)
  • Default value (when null is returned from this method) : beanInfo.getBeanDescriptor(). getShortDescription()
Returns:
a short description of the associated bean or null

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

void cern::laser::guiplatform::configuration::ConfigurationBean::setIsDefault boolean  flag  )  [inline]
 


Member Data Documentation

Configuration cern::laser::guiplatform::configuration::ConfigurationBean::conf = null [private]
 

boolean cern::laser::guiplatform::configuration::ConfigurationBean::isDefault = false [private]
 

if this configuration is default

final Logger cern::laser::guiplatform::configuration::ConfigurationBean::logger [static, private]
 

Initial value:

LogFactory.getLogger(ConfigurationBean.class.getName())

String cern::laser::guiplatform::configuration::ConfigurationBean::name = null [private]
 

configuration name


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