|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.oddjob.designer.model.SingleTypeSelection
A model for a view onto a DesignElement which can support one child of different possible types.
| Constructor Summary | |
SingleTypeSelection(java.lang.String heading,
DesignElementType de)
|
|
| Method Summary | |
void |
accept(DesignProcessor processor)
Visitor pattern. |
DesignElementType |
getChildDesignElement()
|
java.lang.String[] |
getOptions()
|
java.lang.String |
getSelected()
|
java.lang.String |
getTitle()
The title will either be the title for a field or the title round a group or the title on a dialog depending on how the visual component is presented. |
boolean |
isPopulated()
Used by certain summary views to indicate that there is more detail. |
void |
setSelected(java.lang.String type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SingleTypeSelection(java.lang.String heading,
DesignElementType de)
| Method Detail |
public java.lang.String getTitle()
DesignDefinition
getTitle in interface DesignDefinitionpublic java.lang.String[] getOptions()
public java.lang.String getSelected()
public void setSelected(java.lang.String type)
public DesignElementType getChildDesignElement()
public void accept(DesignProcessor processor)
DesignDefinition
accept in interface DesignDefinitionprocessor - A design processor which will typically produce
visual components for the model.public boolean isPopulated()
DesignDefinition
isPopulated in interface DesignDefinition
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||