Package java.awt.peer |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
The check box menu peer interface specifies the methods that all implementations of Abstract Window Toolkit check box menus must define.
public interface java.awt.peer.CheckboxMenuItemPeer extends java.awt.peer.MenuItemPeer { // Methods public abstract void setState(boolean t); }
public abstract void setState(boolean t)Sets the check box to the specifed boolean state: true indicates "on"; false indicates "off."
Parameter Description state the boolean state
© 1996 Sun Microsystems, Inc. All rights reserved.