flatscape.editor
Class EditorModel

java.lang.Object
  |
  +--flatscape.editor.EditorModel
Direct Known Subclasses:
ToolEditorModel, UFormEditorModel

public abstract class EditorModel
extends java.lang.Object

Base class for editor models

Copyright (c) 2001 Rutgers, The State University of New Jersey

Since:
flatscape %Version%
Version:
%Version%, %Time%

Field Summary
protected  EditorPanel editorPanel_
          The models editor panel
 
Constructor Summary
EditorModel(EditorPanel editorPanel)
           
 
Method Summary
 void cleanUp()
          Method called by PropertiesEditor when the model is not needed anymore.
abstract  java.lang.Object getProperty(java.lang.String key)
          Gets a property from the model.
abstract  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

editorPanel_

protected EditorPanel editorPanel_
The models editor panel

Constructor Detail

EditorModel

public EditorModel(EditorPanel editorPanel)
Method Detail

cleanUp

public void cleanUp()
Method called by PropertiesEditor when the model is not needed anymore. This implementation does nothing.


setProperty

public abstract void setProperty(java.lang.String key,
                                 java.lang.Object value)
Sets a property of the model.


getProperty

public abstract java.lang.Object getProperty(java.lang.String key)
Gets a property from the model.



Copyright (c) 2003 Rutgers, The State University of New Jersey