public class HideAction extends PdfAction
Represents a hide action that hides or shows one or more annotations on the screen by setting or clearing their Hidden flags.
Constructor and Description |
---|
HideAction(Annotation annotation)
Initializes a new instance of the
HideAction class for the specified annotation. |
HideAction(Annotation[] annotations)
Initializes a new instance of the
HideAction class for the specified annotations. |
HideAction(Annotation[] annotations,
boolean isHidden)
Initializes a new instance of the
HideAction class for the specified annotations and for invisibility flag. |
HideAction(Annotation annotation,
boolean isHidden)
Initializes a new instance of the
HideAction class for the specified annotation and invisibility flag. |
HideAction(String fieldName)
Initializes a new instance of the
HideAction class for the specified field name. |
HideAction(String[] names)
Initializes a new instance of the
HideAction class for the specified field names. |
HideAction(String[] names,
boolean isHidden)
Initializes a new instance of the
HideAction class for the specified field names and for invisibility flag. |
HideAction(String fieldName,
boolean isHidden)
Initializes a new instance of the
HideAction class for the specified field name and invisibility flag. |
Modifier and Type | Method and Description |
---|---|
boolean |
isHidden()
Gets or sets status of the annotation(s) to hide/display.
|
void |
setHidden(boolean value)
Gets or sets status of the annotation(s) to hide/display.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public HideAction(Annotation annotation)
Initializes a new instance of the HideAction
class for the specified annotation.
annotation
- An annotation to be hidden.public HideAction(Annotation annotation, boolean isHidden)
Initializes a new instance of the HideAction
class for the specified annotation and invisibility flag.
annotation
- An annotation to be hidden or shown.isHidden
- A flag indicating whether to hide the annotation (true) or show it (false).public HideAction(String fieldName)
Initializes a new instance of the HideAction
class for the specified field name.
fieldName
- A text string giving the fully qualified field name of an interactive form field.public HideAction(String fieldName, boolean isHidden)
Initializes a new instance of the HideAction
class for the specified field name and invisibility flag.
fieldName
- A text string giving the fully qualified field name of an interactive form field.isHidden
- A flag indicating whether to hide the field (true) or show it (false).public HideAction(Annotation[] annotations)
Initializes a new instance of the HideAction
class for the specified annotations.
annotations
- An array of annotations to be hidden.public HideAction(Annotation[] annotations, boolean isHidden)
Initializes a new instance of the HideAction
class for the specified annotations and for invisibility flag.
annotations
- An array of annotations to be hidden or shown.isHidden
- A flag indicating whether to hide the annotations (true) or show it (false).public HideAction(String[] names)
Initializes a new instance of the HideAction
class for the specified field names.
names
- An array of strings giving the fully qualified field names of an interactive form fields.public HideAction(String[] names, boolean isHidden)
Initializes a new instance of the HideAction
class for the specified field names and for invisibility flag.
names
- An array of strings giving the fully qualified field names of an interactive form fields.isHidden
- A flag indicating whether to hide the fields (true) or show it (false).