ewe.data
Interface EditableData

All Superinterfaces:
Comparable, Copyable, DataUnit, Textable, Transferrable
All Known Implementing Classes:
EditableObject

public interface EditableData
extends DataUnit, Textable, Transferrable


Method Summary
 void fromSaveableData(Wrapper data)
          This retrieves the state from the data in the wrapper.
 EditableObjectControl getControl()
          Get the Control for the object.
 Object getProperty(String property, Object defaultValue)
          Get a property for the object.
 void toSaveableData(Wrapper data)
          This asks the object to set the Wrapper to be a value that can be used to save the state of this object.
 
Methods inherited from interface ewe.data.DataUnit
copyFrom, getNew
 
Methods inherited from interface ewe.util.Copyable
getCopy
 
Methods inherited from interface ewe.util.Comparable
compareTo
 
Methods inherited from interface ewe.util.Textable
getText, setText
 
Methods inherited from interface ewe.data.Transferrable
getSetTransferData
 

Method Detail

getControl

public EditableObjectControl getControl()
Get the Control for the object.


getProperty

public Object getProperty(String property,
                          Object defaultValue)
Get a property for the object.


toSaveableData

public void toSaveableData(Wrapper data)
This asks the object to set the Wrapper to be a value that can be used to save the state of this object. The value set in the Wrapper should be If you are calling setObject() for one of the specified types, you must NOT provide a null object.


fromSaveableData

public void fromSaveableData(Wrapper data)
                      throws IllegalArgumentException
This retrieves the state from the data in the wrapper. See toSaveableData() for acceptable data types that should be stored in the Wrapper.

Throws:
IllegalArgumentException