Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.virtuosotechnologies.lib.basiccommand
Class BasicRadioGroupCommandNode  view BasicRadioGroupCommandNode download BasicRadioGroupCommandNode.java

java.lang.Object
  extended bycom.virtuosotechnologies.lib.propertyset.BasicPropertySet
      extended bycom.virtuosotechnologies.lib.command.AbstractCommandNode
          extended bycom.virtuosotechnologies.lib.basiccommand.BasicCommandNode
              extended bycom.virtuosotechnologies.lib.basiccommand.BasicRadioGroupCommandNode
All Implemented Interfaces:
com.virtuosotechnologies.lib.command.CommandListener, com.virtuosotechnologies.lib.command.CommandNode, com.virtuosotechnologies.lib.propertyset.PropertySet
Direct Known Subclasses:
BasicRadioContainerCommandNode

public class BasicRadioGroupCommandNode
extends BasicCommandNode

A node representing a radio group node. These nodes are used for enclosing and implementing mutual exclusion for radio groups.


Field Summary
private  com.virtuosotechnologies.lib.propertyset.PropertySetListener listener_
           
 
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 class com.virtuosotechnologies.lib.command.AbstractCommandNode
 
Fields inherited from class com.virtuosotechnologies.lib.propertyset.BasicPropertySet
 
Fields inherited from interface com.virtuosotechnologies.lib.command.CommandListener
COMMAND_INVOKED_METHOD
 
Constructor Summary
BasicRadioGroupCommandNode()
          Constructor.
 
Method Summary
 void addChild(com.virtuosotechnologies.lib.command.CommandNode child)
          Add a child node.
private  void childStateChanged(com.virtuosotechnologies.lib.command.CommandNode childChanged, boolean newState)
          Child state changed
 void commandInvoked(com.virtuosotechnologies.lib.command.CommandEvent ev)
          Invoke the command
 com.virtuosotechnologies.lib.command.CommandNodeFlavor getFlavor()
          Get the flavor of CommandNode
private  void groupStateChanged(com.virtuosotechnologies.lib.command.CommandNode oldState, com.virtuosotechnologies.lib.command.CommandNode newState)
          Group state changed
 void insertChild(int index, com.virtuosotechnologies.lib.command.CommandNode child)
          Insert a child node at the given index Overriding this to listen on the child's state.
 void removeAllChildren()
          Remove all children.
 void removeNthChild(int index)
          Remove a child node.
 
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
addNodeListener, fireAllChildrenRemovedEvent, fireChildAddedEvent, fireChildRemovedEvent, getNthChild, getNumChildren, invoke, isChild, removeNodeListener
 
Methods inherited from class com.virtuosotechnologies.lib.propertyset.BasicPropertySet
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.propertyset.PropertySet
addPropertySetListener, getDefaultValue, getValue, putValue, removePropertySetListener, resetValue
 

Field Detail

listener_

private com.virtuosotechnologies.lib.propertyset.PropertySetListener listener_
Constructor Detail

BasicRadioGroupCommandNode

public BasicRadioGroupCommandNode()
Constructor.

Method Detail

getFlavor

public com.virtuosotechnologies.lib.command.CommandNodeFlavor getFlavor()
Get the flavor of CommandNode


commandInvoked

public void commandInvoked(com.virtuosotechnologies.lib.command.CommandEvent ev)
Invoke the command


addChild

public void addChild(com.virtuosotechnologies.lib.command.CommandNode child)
Add a child node. Overriding this to listen on the child's state.


insertChild

public void insertChild(int index,
                        com.virtuosotechnologies.lib.command.CommandNode child)
Insert a child node at the given index Overriding this to listen on the child's state.


removeNthChild

public void removeNthChild(int index)
Remove a child node. Overriding this to listen on the child's state.


removeAllChildren

public void removeAllChildren()
Remove all children. Overriding this to listen on the child's state.


groupStateChanged

private void groupStateChanged(com.virtuosotechnologies.lib.command.CommandNode oldState,
                               com.virtuosotechnologies.lib.command.CommandNode newState)
Group state changed


childStateChanged

private void childStateChanged(com.virtuosotechnologies.lib.command.CommandNode childChanged,
                               boolean newState)
Child state changed