| java.lang.Object com.javujavu.javux.wings.MenuRadioGroup
MenuRadioGroup | public class MenuRadioGroup (Code) | | The MenuRadioGroup class is used to group together
a set of WingMenuItem items.
Exactly one check box item in a MenuRadioGroup can
be selected at any given time. Pushing any
item sets its state to selected and forces any other item that
is in the selected state into the unselected state.
This class is thread safe.
|
add | public void add(WingMenuItem mi)(Code) | | Adds the item to the group.
Parameters: mi - the item to be added |
setSelected | public void setSelected(WingMenuItem mi, boolean select)(Code) | | Sets selected state of the item mi.
Only one item in the group may be selected at a time.
Parameters: mi - the menu item Parameters: select - true if this item is to beselected, otherwise false |
|
|