CheckboxMenuItem.CheckboxMenuItem
Class Overview | Class Members |
This Package |
All Packages
public CheckboxMenuItem()
Description
Create a check box menu item with an empty label.
The item's state is initially set to "off."
public CheckboxMenuItem( String label )
Parameters
- label
- a string label for the check box menu item,
or null for an unlabeled menu item.
Description
Create a check box menu item with the specified label.
The item's state is initially set to "off."
public CheckboxMenuItem( String label,
boolean state )
Parameters
- label
- the button label.
- state
- the initial state of the menu item, where
true indicates "on" and
false indicates "off."
Description
Create a check box menu item with the specified label and state.