Action Class Documentation

class Action

Namespace:com::datalogics::PDFL

Derived classes:
GoToAction, LaunchAction, RemoteGoToAction, URIAction

Detailed Description

When a user clicks a link or bookmark in a PDF, an action occurs, moving the reader to a new location. An action can involve moving the reader to a new page in the file, for example.

Also, with a PDF Viewer a PDF file can have an Action that runs automatically when a user opens the file, or reaches a specific page.

Applications can support Actions in custom annotation types they add. Only GoTo and URI Actions are supported; you can only use an Action with the interface to move from one part of a file to another or open an external web page.

Constructor & Destructor Documentation

Action

Action(Document doc, String type)

Parameters

doc: Document

The document in which the action is created.

type: String

The string corresponding to the action's subtype.

Creates a new action object.

Member Function Documentation

delete

synchronized void delete(Boolean disposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized void delete()

Returns:

synchronized void

equals

boolean equals(Object rhs)

Parameters

rhs: Object

Returns:

boolean

finalize

void finalize()

Returns:

void

getPDFDict

PDFDict getPDFDict()

Returns:

PDFDict

The underlying PDF dictionary for this Action.

Retrieve the PDFObject representation of this object.

getSubtype

String getSubtype()

Returns:

String

The subtype string for this action, such as "GoTo", "URI", "Launch", or "GoToR".

The action's subtype.

toString

String toString()

Returns:

String

A string describing this Action.

Returns a string representation of this Action. The string includes the action's subtype.