Action Class Documentation

classAction

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(Documentdoc, Stringtype)

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

DisposeChildren

voidDisposeChildren()

Returns:

void

[static initializer]

static void[static initializer]()

delete

synchronized voiddelete(Booleandisposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized voiddelete()

Returns:

synchronized void

equals

booleanequals(Objectrhs)

Parameters

rhs: Object

Returns:

boolean

finalize

voidfinalize()

Returns:

void

getPDFDict

PDFDictgetPDFDict()

Returns:

PDFDict

Retrieve the PDFObject representation of this object

getSubtype

StringgetSubtype()

Returns:

String

The action's subtype

sameTypeEquals

booleansameTypeEquals(Actionarg0)

Parameters

arg0: Action

Returns:

boolean

toString

StringtoString()

Returns:

String