NextApp Echo2 Extras
v2.1.0

nextapp.echo2.extras.app.menu
Class DefaultToggleOptionModel

java.lang.Object
  extended by nextapp.echo2.extras.app.menu.DefaultOptionModel
      extended by nextapp.echo2.extras.app.menu.DefaultToggleOptionModel
All Implemented Interfaces:
java.io.Serializable, ItemModel, OptionModel, ToggleOptionModel
Direct Known Subclasses:
DefaultRadioOptionModel

public class DefaultToggleOptionModel
extends DefaultOptionModel
implements ToggleOptionModel

Default ToggleOptionModel implementation.

See Also:
Serialized Form

Constructor Summary
DefaultToggleOptionModel(java.lang.String id, java.lang.String text)
          Creates a new DefaultOptionModel.
 
Method Summary
 
Methods inherited from class nextapp.echo2.extras.app.menu.DefaultOptionModel
getIcon, getId, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nextapp.echo2.extras.app.menu.OptionModel
getIcon, getText
 
Methods inherited from interface nextapp.echo2.extras.app.menu.ItemModel
getId
 

Constructor Detail

DefaultToggleOptionModel

public DefaultToggleOptionModel(java.lang.String id,
                                java.lang.String text)
Creates a new DefaultOptionModel.

Parameters:
id - the id of the OptionModel; the id will be used as the actionCommand of ActionEvents fired by a menu when the option is selected
text - the item text

NextApp Echo2 Extras
v2.1.0