org.jaffa.presentation.portlet.widgets.model
Class RadioButtonModel

java.lang.Object
  extended byorg.jaffa.presentation.portlet.widgets.model.WidgetModel
      extended byorg.jaffa.presentation.portlet.widgets.model.RadioButtonModel

public class RadioButtonModel
extends WidgetModel

Model for the RadioButton widget.


Constructor Summary
RadioButtonModel(String radioValue)
          Creates a model initialized to the input value.
 
Method Summary
 String getValue()
          Getter for property value.
 boolean isModelChanged()
          See if model has changed, in the process reset the changed flag.
 void setValue(String value)
          Setter for property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioButtonModel

public RadioButtonModel(String radioValue)
Creates a model initialized to the input value.

Parameters:
radioValue - The initial value.
Method Detail

getValue

public String getValue()
Getter for property value.

Returns:
Value of property value.

setValue

public void setValue(String value)
Setter for property value.

Parameters:
value - New value of property value.

isModelChanged

public boolean isModelChanged()
See if model has changed, in the process reset the changed flag.

Returns:
true if the model was changed.


Copyright © 2002-2004 JAFFA Project.