|
java-gnome version 4.0.19 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.gnome.gtk.RadioGroup
public class RadioGroup
A group of RadioActions or Radio widgets sharing the mutually exclusive relationship that only one of the group member can be selected at a time.
A group can contain only one type of object. It must be
RadioAction
, RadioButton
, RadioMenuItem
or
RadioToolButton
.
Nested Class Summary | |
---|---|
static interface |
RadioGroup.GroupToggled
Signal that is emitted each time the active action or widget of the group is changed. |
Constructor Summary | |
---|---|
RadioGroup()
|
Method Summary | |
---|---|
void |
connect(RadioGroup.GroupToggled handler)
Hook up a handler to the RadioGroup.GroupToggled signal. |
Object |
getActive()
Indicate which RadioAction or Radio widget in this RadioGroup is currently selected active. |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadioGroup()
Method Detail |
---|
public void connect(RadioGroup.GroupToggled handler)
RadioGroup.GroupToggled
signal.
public Object getActive()
This will return null
if no RadioAction or Radio widget is
selected, but note that this is generally indicative of something wrong
with the programming; generally a RadioGroup should always have at
least one RadioAction or Radio widget selected.
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |