|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdfViewer.actions.Action
com.qoppa.pdfViewer.actions.NamedAction
public class NamedAction
Actions in a document defined by "name". Actions defined in this way are typically used to execute commands as if the user chose them from the application menu bar. For instance, named commands can be "Print", "Save", "Open" and others.
| Field Summary | |
|---|---|
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
|
| Constructor Summary | |
|---|---|
NamedAction(String actionName)
Construct a NamedAction object with the named command. |
|
| Method Summary | |
|---|---|
String |
getActionName()
Returns the named action. |
String |
getActionType()
Returns the action type. |
String |
getActionTypeDesc()
Returns the action type description |
static Vector |
getNameList()
Returns a list of the recognized action names. |
String |
toString()
Returns the description of the action. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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 String ACTION_TYPE_DESCRIPTION
| Constructor Detail |
|---|
public NamedAction(String actionName)
actionName - The name of the action.| Method Detail |
|---|
public String getActionType()
getActionType in class Actionpublic String getActionTypeDesc()
getActionTypeDesc in class Actionpublic String getActionName()
public static Vector getNameList()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||