public class GoToAction extends Action
GoToAction represents the Action type "GoTo". It's
purpose when called to to navigate the a destination in the document
specified by this action.| Modifier and Type | Field and Description |
|---|---|
static Name |
DESTINATION_KEY |
ACTION_TYPE, ACTION_TYPE_GOTO, ACTION_TYPE_GOTO_REMOTE, ACTION_TYPE_JAVA_SCRIPT, ACTION_TYPE_KEY, ACTION_TYPE_LAUNCH, ACTION_TYPE_NAMED, ACTION_TYPE_RESET_SUBMIT, ACTION_TYPE_SUBMIT_SUBMIT, ACTION_TYPE_URI, NEXT_KEYentries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
GoToAction(Library l,
java.util.HashMap h)
Creates a new instance of a GoTo Action.
|
| Modifier and Type | Method and Description |
|---|---|
Destination |
getDestination()
Gets the Destination object which the "GoTo" action should jump to.
|
void |
setDestination(Destination destination)
Set the destination and adds the new data to the action's dictionary
|
buildAction, getType, similargetEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toStringpublic static final Name DESTINATION_KEY
public GoToAction(Library l, java.util.HashMap h)
l - document library.h - Action dictionary entries.public void setDestination(Destination destination)
destination - new destionat, replace old values.public Destination getDestination()