Top Description Methods
java.awt.peer

public Interface CheckboxMenuItemPeer

extends MenuItemPeer
Known Direct Implementers
sun.awt.X11.XCheckboxMenuItemPeer
Imports
java.awt.CheckboxMenuItem

The peer interface for CheckboxMenuItem. The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.

Method Summary

Modifier and TypeMethod and Description
public void
setState(boolean
the state to set on the checkbox
state
)

Sets the state of the checkbox to be checked true or unchecked false.

Inherited from java.awt.peer.MenuItemPeer:
setEnabledsetLabel

Method Detail

setStateback to summary
public void setState(boolean state)

Sets the state of the checkbox to be checked true or unchecked false.

Parameters
state:boolean

the state to set on the checkbox

See Also
CheckboxMenuItem#setState(boolean)