org.jgraph.pad.actions
Class ToolsLookAndFeel

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.jgraph.pad.actions.AbstractActionDefault
          extended byorg.jgraph.pad.actions.AbstractActionToggle
              extended byorg.jgraph.pad.actions.AbstractActionRadioButton
                  extended byorg.jgraph.pad.actions.ToolsLookAndFeel
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable, TranslatorConstants

public class ToolsLookAndFeel
extends AbstractActionRadioButton

See Also:
Serialized Form

Field Summary
protected  javax.swing.UIManager.LookAndFeelInfo[] lookAndFeels
           
 
Fields inherited from class org.jgraph.pad.actions.AbstractActionRadioButton
lastActionCommand
 
Fields inherited from class org.jgraph.pad.actions.AbstractActionToggle
abstractButtons
 
Fields inherited from class org.jgraph.pad.actions.AbstractActionDefault
graphpad
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface org.jgraph.pad.resources.TranslatorConstants
PREFIX_COMPONENT, PREFIX_MESSAGE_ERROR, PREFIX_MESSAGE_INFORMATION, PREFIX_MESSAGE_WARING, SUFFIX_ACCELERATOR, SUFFIX_ACTION, SUFFIX_ICON, SUFFIX_IMAGE, SUFFIX_LABEL, SUFFIX_MENU, SUFFIX_MNEMONIC, SUFFIX_TEXT, SUFFIX_TITLE, SUFFIX_TOOL_TIP_TEXT
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ToolsLookAndFeel(GPGraphpad graphpad)
          Constructor for ToolsLookAndFeel.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.lang.String[] getPossibleActionCommands()
           
 java.lang.String getPresentationText(java.lang.String actionCommand)
          Should return presentation Text for the action command or null for the default
 void update()
          updates all Abstract Buttons from this action
 
Methods inherited from class org.jgraph.pad.actions.AbstractActionRadioButton
getMenuComponent, getMenuComponents, getToolComponent, getToolComponents, isSelected
 
Methods inherited from class org.jgraph.pad.actions.AbstractActionToggle
removeAbstractButton
 
Methods inherited from class org.jgraph.pad.actions.AbstractActionDefault
getCurrentDocument, getCurrentGraph, getCurrentGraphLayoutCache, getGraphpad, getName, setFontNameForSelection, setFontSizeForSelection, setFontStyleForSelection, setGraphpad, setSelectionAttributes
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lookAndFeels

protected javax.swing.UIManager.LookAndFeelInfo[] lookAndFeels
Constructor Detail

ToolsLookAndFeel

public ToolsLookAndFeel(GPGraphpad graphpad)
Constructor for ToolsLookAndFeel.

Parameters:
graphpad -
Method Detail

getPossibleActionCommands

public java.lang.String[] getPossibleActionCommands()
Specified by:
getPossibleActionCommands in class AbstractActionRadioButton
See Also:
AbstractActionRadioButton.getPossibleActionCommands()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
See Also:
ActionListener.actionPerformed(ActionEvent)

update

public void update()
updates all Abstract Buttons from this action

Overrides:
update in class AbstractActionToggle

getPresentationText

public java.lang.String getPresentationText(java.lang.String actionCommand)
Should return presentation Text for the action command or null for the default

Overrides:
getPresentationText in class AbstractActionDefault