org.speakright.core.tests
Class TestRender.MyItem

java.lang.Object
  extended by org.speakright.core.ModelItemBase
      extended by org.speakright.core.tests.TestRender.MyItem
All Implemented Interfaces:
java.io.Serializable, IItemFormatter, IModelItem
Enclosing class:
TestRender

public class TestRender.MyItem
extends ModelItemBase
implements IItemFormatter

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.speakright.core.ModelItemBase
m_formatter, m_isSet, m_name
 
Method Summary
 void clear()
          clear the value back to its default, and clear the 'set' flag.
 java.lang.String formatItem()
          Return a prompt string that says the value of a model item.
 java.lang.Object rawValue()
          get raw value as object.
 
Methods inherited from class org.speakright.core.ModelItemBase
getFormattedItem, getFormatter, isSet, log, setFormatter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public void clear()
Description copied from interface: IModelItem
clear the value back to its default, and clear the 'set' flag.

Specified by:
clear in interface IModelItem

rawValue

public java.lang.Object rawValue()
Description copied from interface: IModelItem
get raw value as object. (for internal use)

Specified by:
rawValue in interface IModelItem
Returns:

formatItem

public java.lang.String formatItem()
Description copied from interface: IItemFormatter
Return a prompt string that says the value of a model item.

Specified by:
formatItem in interface IItemFormatter
Returns: