|
java-gnome version 4.0.13 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.gnome.gtk.RadioButtonGroup
public class RadioButtonGroup
A group of RadioButtons sharing the mutually exclusive relationship that
only one of the group member can be selected at a time.
This is the mechanism by which you indicate a series of RadioButtons will be associated:
RadioButtonGroup group; RadioButton one, two, three, ...; group = RadioButtonGroup(); one = RadioButton(group, "One"); two = RadioButton(group, "Two"); three = RadioButton(group, "Three");
Nested Class Summary | |
---|---|
static interface |
RadioButtonGroup.GroupToggled
Signal that is emitted each time the active RadioButton is a group is changed. |
Constructor Summary | |
---|---|
RadioButtonGroup()
Create a new group of related RadioButtons |
Method Summary | |
---|---|
void |
connect(RadioButtonGroup.GroupToggled handler)
Hook up a handler to the RadioButtonGroup.GroupToggled
signal. |
RadioButton |
getActive()
Indicate which RadioButton in this RadioButtonGroup is currently selected active. |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadioButtonGroup()
Method Detail |
---|
public void connect(RadioButtonGroup.GroupToggled handler)
RadioButtonGroup.GroupToggled
signal.
public RadioButton getActive()
This Will return null
if no RadioButton is selected, but
note that this is generally indicative of something wrong with the
programming; generally a RadioButtonGroup should always have at least
one RadioButton selected.
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |