|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
org.oddjob.designer.model.DesignAdult
org.oddjob.designer.model.DesignElementType
A DesignElementType is a DesignElement which can be created from a factory. These are the configuration elements for the ValueType objects that appear in Variables and Lists.
| Field Summary | |
protected java.util.Observer |
detailObserver
|
| Fields inherited from class org.oddjob.designer.model.DesignAdult |
parent |
| Constructor Summary | |
DesignElementType()
Constructor. |
|
| Method Summary | |
void |
clear()
Clear the DesignElement of Data. |
DesignDefinition |
detail()
The method is overridden by sub classes which have a detailed definition for their configuration. |
SimpleTextAttribute |
getName()
Get the name. |
boolean |
hasDetail()
Has the the element got detail, i.e more than just an attribute. |
void |
setName(SimpleTextAttribute name)
Set the name. |
java.lang.String |
type()
Get the type. |
void |
type(java.lang.String type)
Set the type. |
| Methods inherited from class org.oddjob.designer.model.DesignAdult |
addChild, childCount, childElements, children, children, clearChildren, createType, insertChild, parent, removeChild, supportedTypes, supportedTypes |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Observer detailObserver
| Constructor Detail |
public DesignElementType()
| Method Detail |
public void type(java.lang.String type)
type - public java.lang.String type()
public void setName(SimpleTextAttribute name)
name - The name.public SimpleTextAttribute getName()
public boolean hasDetail()
DesignElement
hasDetail in interface DesignElementpublic DesignDefinition detail()
detail in interface DesignElementpublic void clear()
clear in interface DesignElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||