|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectks.common.model.Element
Root of hierarchy of all Model objects.
Each Model object has a name, and may have a single ElementListener
that is contacted whenever the Model element changes state.
Each Element is associated with one view only to simplify the processing of model state changes.
Creation date: (10/2/01 10:24:08 PM)
Constructor Summary | |
Element()
Element constructor. |
Method Summary | |
ElementListener |
getListener()
Returns listener for the model. |
java.lang.String |
getName()
Returns the name of this model element. |
void |
setListener(ElementListener newListener)
Sets the listener for model changing events. |
void |
setName(java.lang.String newName)
Sets the name of this model element. |
java.lang.String |
toString()
Return string representation of this model element. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Element()
Method Detail |
public java.lang.String getName()
Creation date: (10/2/01 10:24:30 PM)
public void setListener(ElementListener newListener)
Creation date: (10/6/01 11:38:41 PM)
newListener
- ks.common.model.ElementListenerpublic ElementListener getListener()
public void setName(java.lang.String newName)
Creation date: (10/2/01 10:24:30 PM)
newName
- java.lang.Stringpublic java.lang.String toString()
String is of the form:
[className]:name
Creation date: (10/28/01 9:57:17 PM)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |