com.virtuosotechnologies.lib.basiccommand
Class BasicSeparatorCommandNode

java.lang.Object
  extended bycom.virtuosotechnologies.lib.container.PseudoModifiablePropertySet
      extended bycom.virtuosotechnologies.lib.container.BasicModifiablePropertySet
          extended bycom.virtuosotechnologies.lib.command.AbstractCommandNode
              extended bycom.virtuosotechnologies.lib.basiccommand.BasicCommandNode
                  extended bycom.virtuosotechnologies.lib.basiccommand.BasicSeparatorCommandNode
All Implemented Interfaces:
CommandListener, CommandNode, EventListener, ModifiablePropertySet, PropertySet

public class BasicSeparatorCommandNode
extends BasicCommandNode

A node representing a separator. Generally reuse the same separator, so there's a singleton instance available.


Field Summary
 
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
 
Fields inherited from interface com.virtuosotechnologies.lib.command.CommandListener
COMMAND_INVOKED_METHOD
 
Constructor Summary
BasicSeparatorCommandNode()
          Constructor.
 
Method Summary
 void commandInvoked(CommandEvent ev)
          Invoke the command.
 CommandNodeFlavor getFlavor()
          Get the flavor of CommandNode
static BasicSeparatorCommandNode getInstance()
          Get singleton instance.
 
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 com.virtuosotechnologies.lib.container.PseudoModifiablePropertySet
addPropertySetListener, firePropertySetEvent, getDefaultValue, getValue, putValue, removePropertySetListener, resetValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.virtuosotechnologies.lib.container.ModifiablePropertySet
putValue, resetValue
 
Methods inherited from interface com.virtuosotechnologies.lib.container.PropertySet
addPropertySetListener, getDefaultValue, getValue, removePropertySetListener
 

Constructor Detail

BasicSeparatorCommandNode

public BasicSeparatorCommandNode()
Constructor.

Method Detail

getFlavor

public CommandNodeFlavor getFlavor()
Get the flavor of CommandNode

Returns:
BasicCommandNode.SEPARATOR_FLAVOR

commandInvoked

public void commandInvoked(CommandEvent ev)
Invoke the command. Does nothing (typically separators cannot be invoked).

Parameters:
ev - event

getInstance

public static BasicSeparatorCommandNode getInstance()
Get singleton instance. This is a global instance that may be reused.

Returns:
a global singleton BasicSeparatorCommandNode