|
|||||||||
| 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
public class CheckButton
A CheckButton widget displays a small button with a label next to it. The button can be toggled on or off by the mouse, and will retain its state until it is toggled again.
| Constructor Summary | |
|---|---|
CheckButton()
Creates a new CheckButton |
|
CheckButton(org.gnu.glib.Handle handle)
Construct a check button using a handle to a native resource. |
|
CheckButton(java.lang.String label,
boolean hasMnemonic)
Creates a new Checkbutton with a label. |
|
| Method Summary | |
|---|---|
static CheckButton |
getCheckButton(org.gnu.glib.Handle handle)
Internal static factory method to be used by Java-Gnome only. |
static Type |
getType()
Retrieve the runtime type used by the GLib library. |
| 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.Struct |
|---|
equals, getHandle, getNullHandle, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckButton()
public CheckButton(org.gnu.glib.Handle handle)
public CheckButton(java.lang.String label,
boolean hasMnemonic)
Label will be interpreted. See the
description of the Label class for more details of mnemonic
characters.
label - Text to be displayed in a label next to the check box.hasMnemonic - Determines whether to interpret Mnemonic characters| Method Detail |
|---|
public static CheckButton getCheckButton(org.gnu.glib.Handle handle)
public static Type getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||