mvc
Class Choice.Model<TM>

java.lang.Object
  extended by mvc.DirectModel<T>
      extended by mvc.NamedDirectModel<TM>
          extended by mvc.Choice.Model<TM>
All Implemented Interfaces:
Named, CallbackRegistry, Model<TM>, NamedModel<TM>
Enclosing class:
Choice<T>

public static class Choice.Model<TM>
extends NamedDirectModel<TM>

DOCME.


Method Summary
 Choice<TM> getChoice()
          m.getChoice() returns the choice of values for m.
 TM getValue()
          m.getValue returns the current value of m.
 
Methods inherited from class mvc.NamedDirectModel
getName
 
Methods inherited from class mvc.DirectModel
addCallback, notifyObservers, removeCallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface mvc.CallbackRegistry
addCallback, removeCallback
 

Method Detail

getValue

public TM getValue()
m.getValue returns the current value of m.

Returns:

getChoice

public Choice<TM> getChoice()
m.getChoice() returns the choice of values for m.

Returns: