org.browsecode.helpers.menus
Class CheckboxMenuItemJCheckbox

java.lang.Object
  extended by org.browsecode.helpers.menus.MenuItemStub
      extended by org.browsecode.helpers.menus.MenuItemJMenuItem
          extended by org.browsecode.helpers.menus.CheckboxMenuItemJCheckbox
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, CheckboxMenuItem, MenuItem

public class CheckboxMenuItemJCheckbox
extends MenuItemJMenuItem
implements CheckboxMenuItem


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.browsecode.helpers.menus.MenuItem
MenuItem.MenuItemSelectedListener
 
Field Summary
protected  javax.swing.JCheckBoxMenuItem checkboxMenuItem
           
 
Fields inherited from class org.browsecode.helpers.menus.MenuItemJMenuItem
jMenuItem
 
Constructor Summary
CheckboxMenuItemJCheckbox(MenuBarHelper menuBarHelper, java.lang.String title, javax.swing.Icon icon, javax.swing.KeyStroke keyStroke)
           
 
Method Summary
 boolean isSelected()
           
 void setSelected(boolean checked)
           
 
Methods inherited from class org.browsecode.helpers.menus.MenuItemJMenuItem
actionPerformed, getFont, getVisibleTitle, setBackgroundColor, setEnabledDisabled, setFont, setForegroundColor, setToolTipText, setVisibleTitleAfterTranslation
 
Methods inherited from class org.browsecode.helpers.menus.MenuItemStub
addActionListener, canAListenerHandleAction, fireAction, getMenuBarHelper, getTitle, removeActionListener, setTitle, setVisibleTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.browsecode.helpers.menus.MenuItem
addActionListener, getFont, getTitle, getVisibleTitle, removeActionListener, setBackgroundColor, setEnabledDisabled, setFont, setForegroundColor, setToolTipText, setVisibleTitle
 

Field Detail

checkboxMenuItem

protected javax.swing.JCheckBoxMenuItem checkboxMenuItem
Constructor Detail

CheckboxMenuItemJCheckbox

public CheckboxMenuItemJCheckbox(MenuBarHelper menuBarHelper,
                                 java.lang.String title,
                                 javax.swing.Icon icon,
                                 javax.swing.KeyStroke keyStroke)
Parameters:
title -
icon -
Method Detail

isSelected

public boolean isSelected()
Specified by:
isSelected in interface CheckboxMenuItem

setSelected

public void setSelected(boolean checked)
Specified by:
setSelected in interface CheckboxMenuItem