Package io.github.jonestimd.swing.window
Class FrameAction<E extends WindowInfo>
- java.lang.Object
-
- javax.swing.AbstractAction
-
- io.github.jonestimd.swing.action.LocalizedAction
-
- io.github.jonestimd.swing.window.FrameAction<E>
-
- Type Parameters:
E
- the class providing information about the requested window
- All Implemented Interfaces:
ApplicationWindowAction<E>
,java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class FrameAction<E extends WindowInfo> extends LocalizedAction implements ApplicationWindowAction<E>
A UI action that opens a new window.- See Also:
FrameManager
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.github.jonestimd.swing.action.LocalizedAction
LocalizedAction.Factory
-
-
Constructor Summary
Constructors Constructor Description FrameAction(java.util.ResourceBundle bundle, java.lang.String resourcePrefix, FrameManager<E> frameManager, E windowInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
E
getWindowInfo()
-
Methods inherited from class io.github.jonestimd.swing.action.LocalizedAction
create
-
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
-
Methods inherited from interface io.github.jonestimd.swing.window.ApplicationWindowAction
matches
-
-
-
-
Constructor Detail
-
FrameAction
public FrameAction(java.util.ResourceBundle bundle, java.lang.String resourcePrefix, FrameManager<E> frameManager, E windowInfo)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
getWindowInfo
public E getWindowInfo()
- Specified by:
getWindowInfo
in interfaceApplicationWindowAction<E extends WindowInfo>
-
-