Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
public class CheckMenuItem
extends MenuItem
Constructor Summary | |
| |
| |
|
Method Summary | |
void |
|
boolean |
|
static CheckMenuItem |
|
boolean |
|
Class |
|
EventType |
|
boolean |
|
static Type |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.gnu.gtk.MenuItem | |
addListener , emitActivate , emitDeselect , getEventListenerClass , getEventType , getMenuItem , getType , removeListener , removeSubmenu , setLeftJustified , setRightJustified , setSubmenu |
Methods inherited from class org.gnu.gtk.Item | |
addListener , deselect , getEventListenerClass , getEventType , getType , removeListener , select , toggle |
Methods inherited from class org.gnu.gtk.Container | |
add , addListener , getBooleanChildProperty , getBorderWidth , getChildProperty , getChildren , getEventListenerClass , getEventType , getIntChildProperty , getResizeMode , getType , remove , removeListener , resizeChildren , setBooleanChildProperty , setBorderWidth , setChildProperty , setIntChildProperty , setResizeMode |
public CheckMenuItem()
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.
Create a new CheckMenuItem
public CheckMenuItem(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.
Construct a CheckMenuItem using a handle to a native resource.
public CheckMenuItem(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.
Create a new CheckMenuItem with the given label.
- Parameters:
label
- The label to display for this CheckMenuItem.
public void addListener(CheckMenuItemListener listener)
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.
Register an object to handle dialog events.
- See Also:
CheckMenuItemListener
public boolean getActive()
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.
Returns whether the CheckMenuItem is active.
- Returns:
- true if the check box is active.
public static CheckMenuItem getCheckMenuItem(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.
Internal static factory method to be used by Java-Gnome only.
public boolean getDrawAsRadio()
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.
Gets whether the CheckMenuItem will be drawn as a radio control.
public Class getEventListenerClass(String signal)
- Overrides:
- getEventListenerClass in interface MenuItem
public EventType getEventType(String signal)
- Overrides:
- getEventType in interface MenuItem
public boolean getInconsistent()
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.
Returns whether the CheckMenuItem is in the "inconsistent" state.
- Returns:
- true if the check box is inconsistent.
public static 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.
Retrieve the runtime type used by the GLib library.
public void removeListener(CheckMenuItemListener listener)
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.
Removes a listener
- See Also:
addListener(CheckMenuItemListener)
public void setActive(boolean isActive)
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.
Sets the active state of the CheckMenuItem's check box.
- Parameters:
isActive
- true if the check box is checked.
public void setDrawAsRadio(boolean drawAsRadio)
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.
Sets whether the CheckMenuItem should be drawn as a radio control
- Parameters:
drawAsRadio
-
public void setInconsistent(boolean isInconsistent)
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.
This method will turn on a third state that indicates that the widget is in an inconsistent state.
- Parameters:
isInconsistent
- true to display an "inconsistent" third state.