public class JMapApplicationActionManager
extends java.lang.Object
AbstractAction
in a JMapApplication
.Constructor and Description |
---|
JMapApplicationActionManager(JMapApplicationContext appContext)
Constructs a JMapApplicationActionManager with the
JMapApplicationContext specified. |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method calls the
destroy method on each JMapAbstractAction managed by
this JMapApplicationActionManager. |
javax.swing.AbstractAction |
getAction(java.lang.Class actionClassName)
Gets the unique instance of the
actionClassName received. |
public JMapApplicationActionManager(JMapApplicationContext appContext)
JMapApplicationContext
specified.appContext
- the application contextpublic javax.swing.AbstractAction getAction(java.lang.Class actionClassName)
actionClassName
received. The actionClassName
must extend AbstractAction
. The actionClassName
will be instanciated if not
already done before.
If the actionClassName
extends JMapAbstractAction
, setJMapApplicationContext
and init
methods will be called after instanciation.actionClassName
- the AbstractAction
class instance to returnactionClassName
receivedpublic void destroy()
destroy
method on each JMapAbstractAction
managed by
this JMapApplicationActionManager.