cern::laser::test::SimpleDemoBean Class Reference

Inheritance diagram for cern::laser::test::SimpleDemoBean:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::test::SimpleDemoBean:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimpleDemoBean ()
 SimpleDemoBean (String name)
String getName ()
void setName (String newName)
double getValue ()
void setValue (double newValue)
String[] getNodeActions ()

Static Public Attributes

static final String PROP_NAME = "name"
static final String PROP_VALUE = "value"

Private Attributes

double value
String name = "hello"

Static Private Attributes

static int counter

Constructor & Destructor Documentation

cern::laser::test::SimpleDemoBean::SimpleDemoBean (  )  [inline]

creates a bean with a default name which can be modified with the setName(String) method

cern::laser::test::SimpleDemoBean::SimpleDemoBean ( String  name  )  [inline]

constructs a bean with a given name

Parameters:
name the initial value of the name property

References counter, and value.


Member Function Documentation

String cern::laser::test::SimpleDemoBean::getName (  )  [inline]

getter method

Returns:
the name property

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

References name.

String [] cern::laser::test::SimpleDemoBean::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.

double cern::laser::test::SimpleDemoBean::getValue (  )  [inline]

accessor methods

Returns:
the current value

References value.

void cern::laser::test::SimpleDemoBean::setName ( String  newName  )  [inline]

Setter method

Parameters:
name the new value of the name

References name.

void cern::laser::test::SimpleDemoBean::setValue ( double  newValue  )  [inline]

References value.


Member Data Documentation

Referenced by SimpleDemoBean().

String cern::laser::test::SimpleDemoBean::name = "hello" [private]

Referenced by getName(), and setName().

final String cern::laser::test::SimpleDemoBean::PROP_NAME = "name" [static]
final String cern::laser::test::SimpleDemoBean::PROP_VALUE = "value" [static]

Referenced by getValue(), setValue(), and SimpleDemoBean().


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

Generated by  doxygen 1.6.2