net.clackrouter.actions
Class AbstractActionListCell
java.lang.Object
javax.swing.AbstractAction
net.clackrouter.actions.AbstractActionDefault
net.clackrouter.actions.AbstractActionList
net.clackrouter.actions.AbstractActionListCell
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, TranslatorConstants
- Direct Known Subclasses:
- AbstractActionListCellColor
public abstract class AbstractActionListCell
- extends AbstractActionList
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface net.clackrouter.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 |
Methods inherited from class net.clackrouter.actions.AbstractActionDefault |
getCurrentDocument, getCurrentGraph, getCurrentGraphLayoutCache, getGraphpad, getMenuComponent, getName, getPresentationText, getToolComponent, setGraphpad, setSelectionAttributes, update |
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 |
dummyGraph
public static JGraph dummyGraph
- A dummy jgraph for the menu components based
on jgraph components. (For example the arrows.)
IDENTIFIER_RESET
public static final java.lang.String IDENTIFIER_RESET
- See Also:
- Constant Field Values
IDENTIFIER_SELECT
public static final java.lang.String IDENTIFIER_SELECT
- See Also:
- Constant Field Values
arrowPoints
protected static java.util.List<java.awt.Point> arrowPoints
arrowEndPoints
protected static java.util.List<java.awt.Point> arrowEndPoints
size
protected java.awt.Dimension size
point
protected java.awt.Point point
AbstractActionListCell
public AbstractActionListCell(ClackFramework graphpad)
- Constructor for AbstractActionListCell.
- Parameters:
graphpad
-
AbstractActionListCell
public AbstractActionListCell(ClackFramework graphpad,
java.lang.String name)
- Constructor for AbstractActionListCell.
- Parameters:
graphpad
- name
-
AbstractActionListCell
public AbstractActionListCell(ClackFramework graphpad,
java.lang.String name,
javax.swing.Icon icon)
- Constructor for AbstractActionListCell.
- Parameters:
graphpad
- name
- icon
-
getToolBarComponent
protected javax.swing.JComboBox getToolBarComponent()
- Overrides:
getToolBarComponent
in class AbstractActionList
- See Also:
AbstractActionList.getToolBarComponent()
getItems
protected java.lang.Object[] getItems()
- Description copied from class:
AbstractActionList
- You should return a hashtable with the possible items.
- Specified by:
getItems
in class AbstractActionList
- See Also:
AbstractActionList.getItems()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- See Also:
ActionListener.actionPerformed(ActionEvent)
fillCustomItems
protected abstract void fillCustomItems(java.util.Vector items)
fillResetMap
protected abstract void fillResetMap(java.util.Map target)
fillApplyMap
protected abstract void fillApplyMap(CellView source,
java.util.Map target)
selectAndFillMap
protected abstract void selectAndFillMap(java.util.Map target)