java.lang.Object
gnu.java.awt.peer.gtk.GtkGenericPeer
gnu.java.awt.peer.gtk.GtkMenuComponentPeer
gnu.java.awt.peer.gtk.GtkMenuItemPeer
gnu.java.awt.peer.gtk.GtkCheckboxMenuItemPeer
- All Implemented Interfaces:
- java.awt.peer.CheckboxMenuItemPeer, java.awt.peer.MenuComponentPeer, java.awt.peer.MenuItemPeer
- public class GtkCheckboxMenuItemPeer
- extends GtkMenuItemPeer
- implements java.awt.peer.CheckboxMenuItemPeer
|
Method Summary |
protected void |
create(java.lang.String label)
Creates the associated gtk+ widget and stores it in the nsa table
for this peer. |
protected void |
postMenuActionEvent()
Called from the signal handler of the gtk widget. |
void |
setState(boolean t)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GtkCheckboxMenuItemPeer
public GtkCheckboxMenuItemPeer(java.awt.CheckboxMenuItem menu)
create
protected void create(java.lang.String label)
- Description copied from class:
GtkMenuItemPeer
- Creates the associated gtk+ widget and stores it in the nsa table
for this peer. Called by the create() method with the label name
of the associated MenuItem. Needs to be overridden my subclasses
that want to create a different gtk+ widget.
- Overrides:
create in class GtkMenuItemPeer
setState
public void setState(boolean t)
- Specified by:
setState in interface java.awt.peer.CheckboxMenuItemPeer
postMenuActionEvent
protected void postMenuActionEvent()
- Called from the signal handler of the gtk widget. Posts a
ItemEvent to indicate a state changed, then calls super to post
an ActionEvent.
- Overrides:
postMenuActionEvent in class GtkMenuItemPeer