[Chapter 23] CheckboxMenuItemPeer

#

| Chapter 23 java.awt.peer Reference |

# CheckboxMenuItemPeer

## Name

CheckboxMenuItemPeer

##

## Description

`CheckboxMenuItemPeer` is an interface that defines the basis for checkbox menu items.

## Interface Definition

    public abstract interface java.awt.peer.CheckboxMenuItemPeer
       extends java.awt.peer.MenuItemPeer {
      // Interface Methods
      public abstract void setState (boolean condition);
    }

## Interface Methods

### setState

#### public abstract void setState (boolean condition)

Parameters

  condition

    New state for checkbox menu item's peer.

Description

  Changes the state of checkbox menu item's peer.

## See Also

`MenuComponentPeer`, `MenuItemPeer`

CanvasPeer |  | CheckboxPeer