Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.interactive.action

public Class PDActionHide

extends PDAction
Class Inheritance
Imports
org.apache.pdfbox.cos.COSBase, .COSBoolean, .COSDictionary, .COSName

This represents a thread action that can be executed in a PDF document.
Author
Evgeniy Muravitskiy

Field Summary

Modifier and TypeField and Description
public static final String
SUB_TYPE

This type of action this object represents.

Inherited from org.apache.pdfbox.pdmodel.interactive.action.PDAction:
actionTYPE

Constructor Summary

AccessConstructor and Description
public
PDActionHide()

Default Constructor

public
PDActionHide(COSDictionary
the action dictionary
a
)

Constructor

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if annotation is hidden
getH
()

A flag indicating whether to hide the annotation or show it

public COSBase

Returns:

The T entry of the specific thread action dictionary.
getT
()

The annotation or annotations to be hidden or shown

public void
setH(boolean
hide flag
h
)

public void
setT(COSBase
annotation or annotations
t
)

Inherited from org.apache.pdfbox.pdmodel.interactive.action.PDAction:
getCOSObjectgetNextgetSubTypegetTypesetNextsetSubTypesetType

Field Detail

SUB_TYPEback to summary
public static final String SUB_TYPE

This type of action this object represents.

Constructor Detail

PDActionHideback to summary
public PDActionHide()

Default Constructor

PDActionHideback to summary
public PDActionHide(COSDictionary a)

Constructor

Parameters
a:COSDictionary

the action dictionary

Method Detail

getHback to summary
public boolean getH()

A flag indicating whether to hide the annotation or show it

Returns:boolean

true if annotation is hidden

getTback to summary
public COSBase getT()

The annotation or annotations to be hidden or shown

Returns:COSBase

The T entry of the specific thread action dictionary.

setHback to summary
public void setH(boolean h)
Parameters
h:boolean

hide flag

setTback to summary
public void setT(COSBase t)
Parameters
t:COSBase

annotation or annotations