|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo2.app.button.ButtonGroup net.sf.echobinding.controls.BoundButtonGroup<T>
T
- public class BoundButtonGroup<T>
Constructor Summary | |
---|---|
BoundButtonGroup(java.lang.String adapterId,
BindingContext context)
Creates a bound button group. |
Method Summary | |
---|---|
RadioButton<T> |
createButton(java.lang.String adapterId,
java.lang.String label)
Creates a bound radio button and adds it to this group. |
java.lang.Object |
getValue()
Returns the value of the selected button. |
boolean |
isDirty(java.lang.Object value)
Checks if the selected value is the sames as the value in the model. |
java.lang.Object |
load()
Returns the value saved in the model. |
void |
setValue(java.lang.Object value)
Selects the button whose option equals the given value. |
void |
update(java.lang.Object value)
Update the model's value with the value of the selected button. |
Methods inherited from class nextapp.echo2.app.button.ButtonGroup |
---|
addButton, getButtons, getRenderId, removeButton, updateSelection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoundButtonGroup(java.lang.String adapterId, BindingContext context)
adapterId
- context
- Method Detail |
---|
public RadioButton<T> createButton(java.lang.String adapterId, java.lang.String label)
adapterId
- The adapter id for the radio button optionlabel
- The label of the radio button
public java.lang.Object load()
public void update(java.lang.Object value)
value
- public boolean isDirty(java.lang.Object value)
value
-
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |