Example usage for Java java.awt CheckboxMenuItem fields, constructors, methods, implement or subclass
The text is from its open source code.
CheckboxMenuItem(String label) Create a check box menu item with the specified label. | |
CheckboxMenuItem(String label, boolean state) Create a check box menu item with the specified label and state. |
void | addItemListener(ItemListener l) Adds the specified item listener to receive item events from this check box menu item. |
void | setEnabled(boolean b) Sets whether or not this menu item can be chosen. |
void | setFont(Font f) Sets the font to be used for this menu component to the specified font. |
void | setState(boolean b) Sets this check box menu item to the specified state. |