|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--flatscape.editor.EditorModel
|
+--flatscape.editor.UFormEditorModel
Editor model for editing of existing uforms.
Copyright (c) 2001 Rutgers, The State University of New Jersey
| Field Summary | |
protected org.w3c.dom.Element |
model_
The model (UForm) |
protected PropertiesEditor |
propertiesEditor_
The Properties editor |
| Fields inherited from class flatscape.editor.EditorModel |
editorPanel_ |
| Constructor Summary | |
UFormEditorModel(PropertiesEditor propertiesEditor,
EditorPanel editorPanel,
org.w3c.dom.Element model)
|
|
| Method Summary | |
void |
cleanUp()
Method called by PropertiesEditor when the model is not needed anymore.
|
java.lang.Object |
getProperty(java.lang.String key)
Gets a property from the model. |
void |
propertyChange(org.w3c.dom.Element model,
java.lang.String key,
java.lang.Object oldValue,
java.lang.Object newValue)
Listener interface for uform property changes |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Sets a property of the model. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.w3c.dom.Element model_
protected PropertiesEditor propertiesEditor_
| Constructor Detail |
public UFormEditorModel(PropertiesEditor propertiesEditor,
EditorPanel editorPanel,
org.w3c.dom.Element model)
propertiesEditor - the parent PropertiesEditoreditorPanel - the EditorPanel which uses this model| Method Detail |
public void cleanUp()
PropertiesEditor when the model is not needed anymore.
This implementation removes this model as a UFormChangeListener from the uform.
cleanUp in class EditorModel
public void setProperty(java.lang.String key,
java.lang.Object value)
setProperty in class EditorModelpublic java.lang.Object getProperty(java.lang.String key)
getProperty in class EditorModel
public void propertyChange(org.w3c.dom.Element model,
java.lang.String key,
java.lang.Object oldValue,
java.lang.Object newValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||