|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.jaspira.option.OptionWidget
org.openbp.jaspira.option.widget.RadioWidget
public class RadioWidget
| Field Summary |
|---|
| Fields inherited from class org.openbp.jaspira.option.OptionWidget |
|---|
option |
| Constructor Summary | |
|---|---|
RadioWidget(Option option,
java.util.List values)
Constructor. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
java.lang.Object |
getValue()
Returns the value of the option widget. |
javax.swing.JComponent |
getWidgetComponent()
Gets the widget component that visualizes the option. |
void |
setValue(java.lang.Object o)
Sets the value that will be displayed in the option widget. |
| Methods inherited from class org.openbp.jaspira.option.OptionWidget |
|---|
createHeading, getDescriptionComponent, getOption, notifyOptionMgrOfOptionChange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RadioWidget(Option option,
java.util.List values)
option - Option the widget refers tovalues - Values to display as radio buttons (arbitrary objects or LocalizableOptionString objects)| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic java.lang.Object getValue()
OptionWidget
getValue in class OptionWidgetpublic void setValue(java.lang.Object o)
OptionWidget
setValue in class OptionWidgetpublic javax.swing.JComponent getWidgetComponent()
OptionWidget
getWidgetComponent in class OptionWidget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||