public abstract class PDAction extends java.lang.Object implements PDDestinationOrAction
Modifier and Type | Field and Description |
---|---|
protected COSDictionary |
action
The action dictionary.
|
static java.lang.String |
TYPE
The type of PDF object.
|
Constructor and Description |
---|
PDAction()
Default constructor.
|
PDAction(COSDictionary a)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
COSDictionary |
getCOSObject()
Convert this standard java object to a COS object.
|
java.util.List<PDAction> |
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 COSDictionary getCOSObject()
getCOSObject
in interface COSObjectable
public java.lang.String getType()
public final 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<PDAction> getNext()
public void setNext(java.util.List<?> next)
next
- The Next action or sequence of actions.