Package de.sciss.common
Class BasicMenuFactory.ActionShowWindow
- java.lang.Object
-
- javax.swing.AbstractAction
-
- de.sciss.gui.MenuAction
-
- de.sciss.common.BasicMenuFactory.ActionShowWindow
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
- Enclosing class:
- BasicMenuFactory
public class BasicMenuFactory.ActionShowWindow extends MenuAction
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionShowWindow(java.lang.String text, javax.swing.KeyStroke shortcut, java.lang.Object component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)Tries to find the component using theMainclass'getComponentmethod.-
Methods inherited from class de.sciss.gui.MenuAction
deinstallFrom, installOn, mimic
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
Tries to find the component using theMainclass'getComponentmethod. It does not instantiate a new object if the component is not found. If the window is already open, this method will bring it to the front.- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener- Specified by:
actionPerformedin classMenuAction
-
-