public interface ActionInfo
extends javax.swing.Action, java.awt.event.ActionListener, org.gvsig.tools.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACCELERATOR |
static java.lang.String |
ACTIVE |
static java.lang.String |
EXTENSION |
static java.lang.String |
EXTENSION_NAME |
static java.lang.String |
ICON_NAME |
static java.lang.String |
PLUGIN |
static java.lang.String |
PLUGIN_NAME |
static java.lang.String |
POSITION |
static java.lang.String |
REDIRECTION |
static java.lang.String |
REDIRECTIONS |
static java.lang.String |
TOOLTIP |
static java.lang.String |
VISIBLE |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute the code asociated to the action.
|
void |
execute(java.util.Map args) |
void |
execute(java.lang.Object arg)
Execute the code asociated to the action.
|
void |
execute(java.lang.Object[] args)
Execute the code asociated to the action.
|
java.lang.String |
getAccelerator()
returns a representation human readable of the accelerator to be used
associated to the action.
|
java.lang.String |
getCommand()
Returns the command used for invoking the execute method of
the extension asociated to this action.
|
IExtension |
getExtension()
returns the extension asociated to the action.
|
java.lang.String |
getExtensionName()
Returns the extension name of the extension asociated to this action.
|
javax.swing.ImageIcon |
getIcon()
Return an icon asociated to the action.
|
java.lang.String |
getIconName()
Returns the name of icon asociated to the action.
|
javax.swing.KeyStroke |
getKeyStroke()
returns the KeyStroke which represents the accelerator of this
action.
|
java.lang.String |
getLabel()
Return a label asociated to the action.
|
java.lang.String |
getName()
Returns the name of the action.
|
PluginServices |
getPlugin()
returns the plugin of the extension asociated to the action.
|
java.lang.String |
getPluginName()
Return the plugin name of the plugin asociated to the action.
|
long |
getPosition()
Return the position absolute of the action referred to all actions.
|
java.util.Collection<ActionInfo> |
getRedirections()
An action can redirect the execution of the execute, isVisible and isEnabled methods
to other action.
|
java.lang.String |
getTooltip()
Return a string that represents a tip asociated whit the action,
usually used as tooltip in buttons or menus.
|
boolean |
isActive()
Return true is the action is active.
|
boolean |
isEnabled()
retrurn if the action is enables.
|
boolean |
isVisible()
retrurn if the action can be visible in the user interface or not.
|
void |
setActive(boolean active)
Set the active state of an ActionInfo.
|
static final java.lang.String ACCELERATOR
static final java.lang.String ACTIVE
static final java.lang.String EXTENSION
static final java.lang.String EXTENSION_NAME
static final java.lang.String ICON_NAME
static final java.lang.String PLUGIN
static final java.lang.String PLUGIN_NAME
static final java.lang.String POSITION
static final java.lang.String REDIRECTION
static final java.lang.String REDIRECTIONS
static final java.lang.String TOOLTIP
static final java.lang.String VISIBLE
void execute()
void execute(java.util.Map args)
void execute(java.lang.Object arg)
execute()void execute(java.lang.Object[] args)
execute()java.lang.String getAccelerator()
java.lang.String getCommand()
IExtension getExtension()
java.lang.String getExtensionName()
getExtension()javax.swing.ImageIcon getIcon()
java.lang.String getIconName()
javax.swing.KeyStroke getKeyStroke()
getAccelerator()java.lang.String getLabel()
java.lang.String getName()
PluginServices getPlugin()
java.lang.String getPluginName()
getPlugin()long getPosition()
java.util.Collection<ActionInfo> getRedirections()
java.lang.String getTooltip()
boolean isActive()
boolean isEnabled()
isEnabled in interface javax.swing.Actionboolean isVisible()
void setActive(boolean active)
active - Copyright © 2024 gvSIG Association. All rights reserved.