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 java.lang.String |
SUBFORM_PROPERTY |
Constructor and Description |
---|
BeanForm(DynamicDesignInstance design)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Add a property listener.
|
protected void |
fire(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Fire property change events.
|
DynamicDesignInstance |
getDesign()
Get the design instance that created this form.
|
Form |
getSubForm()
Getter for the sub form.
|
java.lang.String |
getTitle()
Get the title of the form.
|
void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Remove a property listener.
|
void |
setClassName(java.lang.String className)
Set the class name.
|
void |
setSubForm(Form subForm)
Set the sub form and fire a property change event.
|
public static final java.lang.String SUBFORM_PROPERTY
public BeanForm(DynamicDesignInstance design)
design
- The instance this form belongs to.public void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
propertyName
- listener
- public void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
propertyName
- listener
- protected void fire(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
propertyName
- oldValue
- newValue
- public DynamicDesignInstance getDesign()
public void setClassName(java.lang.String className)
className
- public void setSubForm(Form subForm)
subForm
- public Form getSubForm()