public abstract class PDAction extends Object implements PDDestinationOrAction
Modifier and Type | Field and Description |
---|---|
protected COSDictionary |
action
The action dictionary.
|
static 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.
|
List<PDAction> |
getNext()
This will get the next action, or sequence of actions, to be performed after this one.
|
String |
getSubType()
This will get the type of action that the actions dictionary describes.
|
String |
getType()
This will get the type of PDF object that the actions dictionary describes.
|
void |
setNext(List<?> next)
This will set the next action, or sequence of actions, to be performed after this one.
|
void |
setSubType(String s)
This will set the type of action that the actions dictionary describes.
|
void |
setType(String type)
This will set the type of PDF object that the actions dictionary describes.
|
public static final String TYPE
protected COSDictionary action
public PDAction()
public PDAction(COSDictionary a)
a
- The action dictionary.public COSDictionary getCOSObject()
getCOSObject
in interface COSObjectable
public String getType()
public final void setType(String type)
type
- The new Type for the PDF object.public String getSubType()
public void setSubType(String s)
s
- The new type of action.public List<PDAction> getNext()
public void setNext(List<?> next)
next
- The Next action or sequence of actions.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.