public class NamedAction extends Action
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_TYPE_DESCRIPTION |
static String |
NAME_FIRST_PAGE |
static String |
NAME_LAST_PAGE |
static String |
NAME_NEXT_PAGE |
static String |
NAME_OPEN |
static String |
NAME_PREV_PAGE |
static String |
NAME_PRINT |
static String |
NAME_SAVE |
static String |
NAME_SAVE_AS |
OPEN_EXISTING_WINDOW, OPEN_NEW_WINDOW, OPEN_USER_PREFERENCE
Constructor and Description |
---|
NamedAction(String actionName)
Construct a NamedAction object with the named command.
|
Modifier and Type | Method and Description |
---|---|
String |
getActionName()
Returns the named action.
|
String |
getActionType()
Returns the action type.
|
String |
getActionTypeDesc()
Returns the action type description
|
static Vector<String> |
getNameList()
Returns a list of the recognized action names.
|
String |
toString()
Returns the description of the action.
|
getNextAction, setNextAction
public static final String NAME_NEXT_PAGE
public static final String NAME_PREV_PAGE
public static final String NAME_FIRST_PAGE
public static final String NAME_LAST_PAGE
public static final String NAME_PRINT
public static final String NAME_SAVE
public static final String NAME_OPEN
public static final String NAME_SAVE_AS
public static String ACTION_TYPE_DESCRIPTION
public NamedAction(String actionName)
actionName
- The name of the action.public String getActionType()
getActionType
in class Action
public String getActionTypeDesc()
getActionTypeDesc
in class Action
public String getActionName()
public static Vector<String> getNameList()