org.jgraph.pad.actions
Class GraphLayout
java.lang.Object
javax.swing.AbstractAction
org.jgraph.pad.actions.AbstractActionDefault
org.jgraph.pad.actions.AbstractActionToggle
org.jgraph.pad.actions.AbstractActionCheckBox
org.jgraph.pad.actions.GraphLayout
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable, TranslatorConstants
- public class GraphLayout
- extends AbstractActionCheckBox
- See Also:
- Serialized Form
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 |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
boolean |
isSelected(java.lang.String actionCommand)
Should return true if the action value is true |
Methods inherited from class org.jgraph.pad.actions.AbstractActionDefault |
getCurrentDocument, getCurrentGraph, getCurrentGraphLayoutCache, getGraphpad, getMenuComponents, getName, getPresentationText, getToolComponents, 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 |
GraphLayout
public GraphLayout(GPGraphpad graphpad)
- Constructor for GraphLayout.
- Parameters:
graphpad
-
GraphLayout
public GraphLayout(GPGraphpad graphpad,
java.lang.String name)
- Constructor for GraphLayout.
- Parameters:
graphpad
- name
-
GraphLayout
public GraphLayout(GPGraphpad graphpad,
java.lang.String name,
javax.swing.Icon icon)
- Constructor for GraphLayout.
- Parameters:
graphpad
- name
- icon
-
isSelected
public boolean isSelected(java.lang.String actionCommand)
- Description copied from class:
AbstractActionToggle
- Should return true if the action value is true
- Specified by:
isSelected
in class AbstractActionToggle
- See Also:
AbstractActionToggle.isSelected(String)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- See Also:
ActionListener.actionPerformed(ActionEvent)