net.clackrouter.actions
Class WindowWindows
java.lang.Object
javax.swing.AbstractAction
net.clackrouter.actions.AbstractActionDefault
net.clackrouter.actions.AbstractActionList
net.clackrouter.actions.WindowWindows
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, TranslatorConstants
public class WindowWindows
- 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 |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Gets the GPInternalFrame from the ActionEvent and sets the
frame toFront and selected. |
java.lang.String |
getItemPresentationText(java.lang.Object itemValue)
returns null |
protected java.lang.Object[] |
getItems()
Returns an empty item list by default. |
protected javax.swing.JMenu |
getMenuBarComponent()
Returns a JMenu and stores the JMenu at the menus Vector |
java.lang.String |
getPresentationText(java.lang.String actionCommand)
returns the actionCommand (The presentation file name from the document) |
void |
update()
updates the window list at the menu entries |
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 |
WindowWindows
public WindowWindows(ClackFramework graphpad)
- Constructor for WindowWindows.
- Parameters:
graphpad
-
getItems
protected java.lang.Object[] getItems()
- Returns an empty item list by default.
- Specified by:
getItems
in class AbstractActionList
- See Also:
AbstractActionList.getItems()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Gets the GPInternalFrame from the ActionEvent and sets the
frame toFront and selected.
- See Also:
ActionListener.actionPerformed(ActionEvent)
getMenuBarComponent
protected javax.swing.JMenu getMenuBarComponent()
- Returns a JMenu and stores the JMenu at the menus Vector
- Overrides:
getMenuBarComponent
in class AbstractActionList
- See Also:
AbstractActionList.getMenuBarComponent()
getPresentationText
public java.lang.String getPresentationText(java.lang.String actionCommand)
- returns the actionCommand (The presentation file name from the document)
- Overrides:
getPresentationText
in class AbstractActionDefault
getItemPresentationText
public java.lang.String getItemPresentationText(java.lang.Object itemValue)
- returns null
- Overrides:
getItemPresentationText
in class AbstractActionList
update
public void update()
- updates the window list at the menu entries
- Overrides:
update
in class AbstractActionDefault