com.icesoft.pdf.pobjects.actions
Class GoToAction

java.lang.Object
  extended bycom.icesoft.pdf.pobjects.Dictionary
      extended bycom.icesoft.pdf.pobjects.actions.Action
          extended bycom.icesoft.pdf.pobjects.actions.GoToAction

public class GoToAction
extends Action

The class GoToAction represents the Action type "GoTo". It's purpose when called to to navigate the a destination in the document specified by this action.

Since:
2.6
Author:
ICEsoft Technologies, Inc.

Field Summary
 
Fields inherited from class com.icesoft.pdf.pobjects.actions.Action
ACTION_TYPE_GOTO, ACTION_TYPE_GOTO_REMOTE, ACTION_TYPE_LAUNCH, ACTION_TYPE_URI
 
Fields inherited from class com.icesoft.pdf.pobjects.Dictionary
entries, inited, library
 
Constructor Summary
GoToAction(Library l, Hashtable h)
          Creates a new instance of a GoTo Action.
 
Method Summary
 Destination getDestination()
          Gets the Destination object which the "GoTo" action should jump to.
 
Methods inherited from class com.icesoft.pdf.pobjects.actions.Action
getType
 
Methods inherited from class com.icesoft.pdf.pobjects.Dictionary
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, setPObjectReference, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoToAction

public GoToAction(Library l,
                  Hashtable h)
Creates a new instance of a GoTo Action.

Parameters:
l - document library.
h - Action dictionary entries.
Method Detail

getDestination

public Destination getDestination()
Gets the Destination object which the "GoTo" action should jump to.

Returns:
Destination object specified in the action.