de.matthiasmann.twl.model
Class SimpleStringModel

java.lang.Object
  extended by de.matthiasmann.twl.model.HasCallback
      extended by de.matthiasmann.twl.model.SimpleStringModel
All Implemented Interfaces:
StringModel, WithRunnableCallback

public class SimpleStringModel
extends HasCallback
implements StringModel

A simple string model. Doesn't support null values.


Constructor Summary
SimpleStringModel()
           
SimpleStringModel(java.lang.String value)
           
 
Method Summary
 java.lang.String getValue()
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class de.matthiasmann.twl.model.HasCallback
addCallback, doCallback, hasCallbacks, removeCallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.matthiasmann.twl.utils.WithRunnableCallback
addCallback, removeCallback
 

Constructor Detail

SimpleStringModel

public SimpleStringModel()

SimpleStringModel

public SimpleStringModel(java.lang.String value)
Method Detail

getValue

public java.lang.String getValue()
Specified by:
getValue in interface StringModel

setValue

public void setValue(java.lang.String value)
Specified by:
setValue in interface StringModel