Class PDActionHide
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.action.PDAction
org.apache.pdfbox.pdmodel.interactive.action.PDActionHide
- All Implemented Interfaces:
COSObjectable
,PDDestinationOrAction
This represents a thread action that can be executed in a PDF document.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorConstructor -
Method Summary
Methods inherited from class org.apache.pdfbox.pdmodel.interactive.action.PDAction
getCOSObject, getNext, getSubType, getType, setNext, setSubType, setType
-
Field Details
-
SUB_TYPE
This type of action this object represents.- See Also:
-
-
Constructor Details
-
PDActionHide
public PDActionHide()Default Constructor -
PDActionHide
Constructor- Parameters:
a
- the action dictionary
-
-
Method Details
-
getT
The annotation or annotations to be hidden or shown- Returns:
- The T entry of the specific thread action dictionary.
-
setT
- Parameters:
t
- annotation or annotations
-
getH
public boolean getH()A flag indicating whether to hide the annotation or show it- Returns:
- true if annotation is hidden
-
setH
public void setH(boolean h) - Parameters:
h
- hide flag
-