public class SimpleDemoBean extends BeanSupport
CLASS_PROPERTY_NAME, DISPLAYNAME_PROPERTY_DISPLAY_NAME, DISPLAYNAME_PROPERTY_NAME, NAME_PROPERTY_DISPLAY_NAME, NAME_PROPERTY_NAME, NODE_ACTIONS_PROPERTY_NAME, NODE_DEFAULT_ACTION_PROPERTY_NAME, NODE_ICON_PROPERTY_NAME, NODE_PROPERTIES_CACHEABLE_PROPERTY_NAME, PROPERTY_INFO_PROPERTY_NAME, SHORTDESCRIPTION_PROPERTY_DISPLAY_NAME, SHORTDESCRIPTION_PROPERTY_NAME| Constructor and Description |
|---|
SimpleDemoBean()
creates a bean with a default name which can be modified
with the
setName(String) method |
SimpleDemoBean(java.lang.String name)
constructs a bean with a given name
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
getter method
|
double |
getValue()
accessor methods
|
void |
setName(java.lang.String newName)
Setter method
|
addPropertyChangeListener, addPropertyChangeListener, checkPropertyChangeSupport, fireDisplayNamePropertyChange, fireNamePropertyChange, fireNodeDefaultActionPropertyChange, fireNodeIconPropertyChange, firePropertyChange, fireShortDescriptionPropertyChange, getDisplayName, getNodeActions, getNodeDefaultAction, getNodeIcon, getNodeIconFromPathname, getNodePropertiesCacheable, getPropertyInfo, getShortDescription, mergeNodeActions, mergePropertyInfo, removePropertyChangeListener, removePropertyChangeListenerpublic SimpleDemoBean()
setName(String) methodpublic SimpleDemoBean(java.lang.String name)
name - the initial value of the name propertypublic java.lang.String getName()
getName in interface GPBeangetName in class BeanSupportpublic void setName(java.lang.String newName)
name - the new value of the namepublic double getValue()