com.virtuosotechnologies.lib.basiccommand
Class BasicToggleItemCommandNode
java.lang.Object
  
com.virtuosotechnologies.lib.container.PseudoModifiablePropertySet
      
com.virtuosotechnologies.lib.container.BasicModifiablePropertySet
          
com.virtuosotechnologies.lib.command.AbstractCommandNode
              
com.virtuosotechnologies.lib.basiccommand.BasicCommandNode
                  
com.virtuosotechnologies.lib.basiccommand.BasicToggleItemCommandNode
- All Implemented Interfaces: 
 - CommandListener, CommandNode, EventListener, ModifiablePropertySet, PropertySet
 
- public class BasicToggleItemCommandNode
- extends BasicCommandNode
  
A node representing a toggle action. Normally, you do not implement
 commandInvoked for these types of command nodes, but instead listen
 for changes to the SELECTION_STATE_PROPERTY property.
 
| Fields inherited from class com.virtuosotechnologies.lib.basiccommand.BasicCommandNode | 
ACCELERATOR_KEYSTROKE_PROPERTY, ACTIONITEM_FLAVOR, APPEARANCECHANGING_TOGGLEITEM_FLAVOR, CONTAINER_FLAVOR, DISABLED_PROPERTY, GROUP_FLAVOR, HIDDEN_PROPERTY, LONG_DESCRIPTION_PROPERTY, MNEMONIC_CODE_PROPERTY, NAME_PROPERTY, NULL_FLAVOR, RADIOCONTAINER_FLAVOR, RADIOGROUP_FLAVOR, RADIOMUTEX_FLAVOR, SELECTED_CHILD_PROPERTY, SELECTED_NAME_PROPERTY, SELECTED_SHORT_DESCRIPTION_PROPERTY, SELECTED_SMALL_ICON_PROPERTY, SELECTION_STATE_PROPERTY, SEPARATOR_FLAVOR, SHORT_DESCRIPTION_PROPERTY, SMALL_ICON_PROPERTY, TOGGLEITEM_FLAVOR | 
 
 
 
 
| Methods inherited from class com.virtuosotechnologies.lib.basiccommand.BasicCommandNode | 
dump, getAcceleratorKeystrokeProperty, getDefaultProperties, getDisabledProperty, getHiddenProperty, getLongDescriptionProperty, getMnemonicCodeProperty, getNameProperty, getSelectedChildProperty, getSelectedNameProperty, getSelectedShortDescriptionProperty, getSelectedSmallIconProperty, getSelectionStateProperty, getShortDescriptionProperty, getSmallIconProperty, setAcceleratorKeystrokeProperty, setDisabledProperty, setHiddenProperty, setLongDescriptionProperty, setMnemonicCodeProperty, setNameProperty, setSelectedChildProperty, setSelectedNameProperty, setSelectedShortDescriptionProperty, setSelectedSmallIconProperty, setSelectionStateProperty, setShortDescriptionProperty, setSmallIconProperty | 
 
| Methods inherited from class com.virtuosotechnologies.lib.command.AbstractCommandNode | 
addChild, addNodeListener, fireAllChildrenRemovedEvent, fireChildAddedEvent, fireChildRemovedEvent, getIndexOfChild, getNthChild, getNumChildren, insertChild, invoke, isChild, removeAllChildren, removeNodeListener, removeNthChild | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
 
BasicToggleItemCommandNode
public BasicToggleItemCommandNode()
- Constructor.
 
getFlavor
public CommandNodeFlavor getFlavor()
- Get the flavor of CommandNode
- Returns:
 - BasicCommandNode.TOGGLEITEM_FLAVOR
 
 
 
commandInvoked
public void commandInvoked(CommandEvent ev)
- Invoke the command. Does nothing. Typically, you should listen to changes to SELECTION_STATE_PROPERTY
 instead of responding to commandInvoked(), because sometimes the state may change without the
 node being directly invoked (i.e. if this node is part of a radio group).
- Parameters:
 ev - event