|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.Bin
org.gnu.gtk.Button
org.gnu.gtk.ToggleButton
org.gnu.gtk.CheckButton
org.gnu.gtk.RadioButton
org.gnome.gtk.RadioButton
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
public class RadioButton
A single RadioButton performs the same basic function as a
CheckButton
, as it's position in the object hierarchy reflects. It
is only when multiple RadioButtons are grouped together that they become a
different user interface component.
Every RadioButton is a member of some group of RadioButtons. When one is selected, all of the other RadioButtons in the same group are deselected.
A RadioButton is created by the constructor passing a null
value for the RadioButton objection for the first object, and the First
object as a parameter for the remaining objects.
Constructor Summary | |
---|---|
RadioButton(org.gnu.glib.Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
|
RadioButton(RadioButton group)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
|
RadioButton(RadioButton[] group,
java.lang.String label,
boolean hasMnemonic)
Deprecated. |
|
RadioButton(RadioButton group,
java.lang.String label,
boolean hasMnemonic)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
|
RadioButton(RadioMenuItem[] group)
Deprecated. |
Method Summary | |
---|---|
static RadioButton |
getRadioButton(org.gnu.glib.Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
static org.gnu.glib.Type |
getType()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Methods inherited from class org.gnu.gtk.CheckButton |
---|
getCheckButton |
Methods inherited from class org.gnu.gtk.ToggleButton |
---|
addListener, getEventListenerClass, getEventType, getInconsistent, getState, getToggleButton, removeListener, setInconsistent, setState |
Methods inherited from class org.gnu.gtk.Button |
---|
addListener, click, enter, getButton, getFocusOnClick, getImage, getLabel, getRelief, getUseStock, getUseUnderline, getXAlignment, getYAlignment, leave, press, release, removeListener, setAlignment, setFocusOnClick, setImage, setLabel, setRelief, setUseStock, setUseUnderline |
Methods inherited from class org.gnu.gtk.Bin |
---|
getChild |
Methods inherited from class org.gnu.gtk.Container |
---|
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode |
Methods inherited from class org.gnu.gtk.GtkObject |
---|
destroy, sink |
Methods inherited from class org.gnu.glib.GObject |
---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadioButton(RadioMenuItem[] group)
public RadioButton(RadioButton[] group, java.lang.String label, boolean hasMnemonic)
public RadioButton(RadioButton group)
null
for this parameter.
group
- A RadioButton that belongs to the group that we wish to add
this newly constructed RadioButton to. If this is the first
RadioButton in the group just pass null
.public RadioButton(RadioButton group, java.lang.String label, boolean hasMnemonic)
null
for this parameter.
group
- A RadioButton that belongs to the group that we wish to add
this newly constructed RadioButton to. If this is the first
RadioButton in the group just pass null
.label
- The text label to assign to this RadioButton.hasMnemonic
- An indicator to inform the widget if the label contains a
mnemonic.public RadioButton(org.gnu.glib.Handle handle)
Method Detail |
---|
public static RadioButton getRadioButton(org.gnu.glib.Handle handle)
public static org.gnu.glib.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |