Modifier and Type | Class and Description |
---|---|
static class |
BeanForm.ClassNotFoundForm
Form for when the class is missing or not found.
|
static class |
BeanForm.PropertiesForm
Form for the properties of the class when it is found.
|
Modifier and Type | Field and Description |
---|---|
static String |
SUBFORM_PROPERTY |
Constructor and Description |
---|
BeanForm(DynamicDesignInstance design)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Add a property listener.
|
protected void |
fire(String propertyName,
Object oldValue,
Object newValue)
Fire property change events.
|
DynamicDesignInstance |
getDesign()
Get the design instance that created this form.
|
Form |
getSubForm()
Getter for the sub form.
|
String |
getTitle() |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Remove a property listener.
|
void |
setClassName(String className)
Set the class name.
|
void |
setSubForm(Form subForm)
Set the sub form and fire a property change event.
|
public static final String SUBFORM_PROPERTY
public BeanForm(DynamicDesignInstance design)
design
- The instance this form belongs to.public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
propertyName
- listener
- public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
propertyName
- listener
- protected void fire(String propertyName, Object oldValue, Object newValue)
propertyName
- oldValue
- newValue
- public DynamicDesignInstance getDesign()
public void setClassName(String className)
className
- public void setSubForm(Form subForm)
subForm
- public Form getSubForm()