Packages  This Package  Prev  Next  Index  

§3.3 Interface CheckboxMenuItemPeer

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  (II-§3.15)
{
        // Methods
    public abstract void setState(boolean  t);	§3.3.1
}

Methods

setState

public abstract void setState(boolean t)
Sets the check box to the specifed boolean state: true indicates "on"; false indicates "off."
Parameters:
state - the boolean state

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com