|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.design.screem.BeanForm
public class BeanForm
The form used by a BeanType
. This form consists of a field
for the class name and a sub form that is the properties of the
given class or a blank message form if the class is not found.
Nested Class Summary | |
---|---|
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. |
Field Summary | |
---|---|
static String |
SUBFORM_PROPERTY
|
Constructor Summary | |
---|---|
BeanForm(DynamicDesignInstance design)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SUBFORM_PROPERTY
Constructor Detail |
---|
public BeanForm(DynamicDesignInstance design)
design
- The instance this form belongs to.Method Detail |
---|
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()
public String getTitle()
getTitle
in interface Form
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |