|
|||||||||
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.Item
org.gnu.gtk.MenuItem
org.gnu.gtk.CheckMenuItem
org.gnu.gtk.RadioMenuItem
org.gnome.gtk.RadioMenuItem
.
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 RadioMenuItem
A RadioMenuItem is a CheckMenuItem that belongs to a group. At each instant exactly one of the RadioMenuItems from the group is selected.
Constructor Summary | |
---|---|
RadioMenuItem(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. |
|
RadioMenuItem(RadioMenuItem group)
Deprecated. |
|
RadioMenuItem(RadioMenuItem[] group)
Deprecated. |
|
RadioMenuItem(RadioMenuItem[] 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. |
|
RadioMenuItem(RadioMenuItem group,
java.lang.String label,
boolean hasMnemonic)
Deprecated. |
Method Summary | |
---|---|
RadioMenuItem[] |
getGroup()
Deprecated. |
static RadioMenuItem |
getRadioMenuItem(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. |
void |
setGroup(RadioMenuItem[] group)
Deprecated. |
Methods inherited from class org.gnu.gtk.CheckMenuItem |
---|
addListener, getActive, getCheckMenuItem, getDrawAsRadio, getEventListenerClass, getEventType, getInconsistent, removeListener, setActive, setDrawAsRadio, setInconsistent |
Methods inherited from class org.gnu.gtk.MenuItem |
---|
addListener, emitActivate, emitDeselect, getMenuItem, removeListener, removeSubmenu, setLeftJustified, setRightJustified, setSubmenu |
Methods inherited from class org.gnu.gtk.Item |
---|
addListener, deselect, removeListener, select, toggle |
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 RadioMenuItem(RadioMenuItem[] group)
public RadioMenuItem(RadioMenuItem[] group, java.lang.String label, boolean hasMnemonic)
null
for this parameter.
group
- A RadioMenuItem that belongs to the group that we wish to add
this newly constructed RadioMenuItem to. If this is the first
RadioMenuItem 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 RadioMenuItem(RadioMenuItem group)
public RadioMenuItem(RadioMenuItem group, java.lang.String label, boolean hasMnemonic)
public RadioMenuItem(org.gnu.glib.Handle handle)
Method Detail |
---|
public static RadioMenuItem getRadioMenuItem(org.gnu.glib.Handle handle)
public RadioMenuItem[] getGroup()
public void setGroup(RadioMenuItem[] group)
public static org.gnu.glib.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |