COSObjectable
, PDDestinationOrAction
PDActionGoTo
, PDActionJavaScript
, PDActionLaunch
, PDActionNamed
, PDActionRemoteGoTo
, PDActionURI
public abstract class PDAction extends java.lang.Object implements PDDestinationOrAction
Modifier and Type | Field | Description |
---|---|---|
protected COSDictionary |
action |
The action dictionary.
|
static java.lang.String |
TYPE |
The type of PDF object.
|
Constructor | Description |
---|---|
PDAction() |
Default constructor.
|
PDAction(COSDictionary a) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
COSDictionary |
getCOSDictionary() |
Convert this standard java object to a COS object.
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
java.util.List |
getNext() |
This will get the next action, or sequence of actions, to be performed after this one.
|
java.lang.String |
getSubType() |
This will get the type of action that the actions dictionary describes.
|
java.lang.String |
getType() |
This will get the type of PDF object that the actions dictionary describes.
|
void |
setNext(java.util.List next) |
This will set the next action, or sequence of actions, to be performed after this one.
|
void |
setSubType(java.lang.String s) |
This will set the type of action that the actions dictionary describes.
|
void |
setType(java.lang.String type) |
This will set the type of PDF object that the actions dictionary describes.
|
public static final java.lang.String TYPE
protected COSDictionary action
public PDAction()
public PDAction(COSDictionary a)
a
- The action dictionary.public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSDictionary getCOSDictionary()
public java.lang.String getType()
public void setType(java.lang.String type)
type
- The new Type for the PDF object.public java.lang.String getSubType()
public void setSubType(java.lang.String s)
s
- The new type of action.public java.util.List getNext()
public void setNext(java.util.List next)
next
- The Next action or sequence of actions.