Class PDActionNamed
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.action.type.PDAction
org.apache.pdfbox.pdmodel.interactive.action.type.PDActionNamed
- All Implemented Interfaces:
COSObjectable
,PDDestinationOrAction
This represents a named action in a PDF document.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionConvert this standard java object to a COS object.Convert this standard java object to a COS object.getN()
This will get the name of the action to be performed.void
This will set the name of the action to be performed.Methods inherited from class org.apache.pdfbox.pdmodel.interactive.action.type.PDAction
getNext, getSubType, getType, setNext, setSubType, setType
-
Field Details
-
SUB_TYPE
This type of action this object represents.- See Also:
-
-
Constructor Details
-
PDActionNamed
public PDActionNamed()Default constructor. -
PDActionNamed
Constructor.- Parameters:
a
- The action dictionary.
-
-
Method Details
-
getCOSObject
Convert this standard java object to a COS object.- Specified by:
getCOSObject
in interfaceCOSObjectable
- Overrides:
getCOSObject
in classPDAction
- Returns:
- The cos object that matches this Java object.
-
getCOSDictionary
Convert this standard java object to a COS object.- Overrides:
getCOSDictionary
in classPDAction
- Returns:
- The cos object that matches this Java object.
-
getN
This will get the name of the action to be performed.- Returns:
- The name of the action to be performed.
-
setN
This will set the name of the action to be performed.- Parameters:
name
- The name of the action to be performed.
-