|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--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
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(int 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 Type |
getType()
Retrieve the runtime type used by the GLib library. |
Methods inherited from class org.gnu.gtk.ToggleButton |
addListener, getEventListenerClass, getEventType, getInconsistent, getState, removeListener, setInconsistent, setState |
Methods inherited from class org.gnu.gtk.Button |
addListener, click, enter, getLabel, getRelief, getUseStock, getUseUnderline, leave, press, release, removeListener, setLabel, setRelief, setUseStock, setUseUnderline |
Methods inherited from class org.gnu.gtk.Bin |
getChild |
Methods inherited from class org.gnu.gtk.Container |
add, addListener, getBorderWidth, getResizeMode, remove, removeListener, resizeChildren, setBorderWidth, setResizeMode |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CheckButton()
public CheckButton(int 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.Method Detail |
public static Type getType()
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |