com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class HideAction

  • All Implemented Interfaces:
    IAppointment


    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 Summary

      Constructors 
      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.
    • Constructor Detail

      • HideAction

        public HideAction(Annotation annotation)

        Initializes a new instance of the HideAction class for the specified annotation.

        Parameters:
        annotation - An annotation to be hidden.
      • HideAction

        public HideAction(Annotation annotation,
                          boolean isHidden)

        Initializes a new instance of the HideAction class for the specified annotation and invisibility flag.

        Parameters:
        annotation - An annotation to be hidden or shown.
        isHidden - A flag indicating whether to hide the annotation (true) or show it (false).
      • HideAction

        public HideAction(String fieldName)

        Initializes a new instance of the HideAction class for the specified field name.

        Parameters:
        fieldName - A text string giving the fully qualified field name of an interactive form field.
      • HideAction

        public HideAction(String fieldName,
                          boolean isHidden)

        Initializes a new instance of the HideAction class for the specified field name and invisibility flag.

        Parameters:
        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).
      • HideAction

        public HideAction(Annotation[] annotations)

        Initializes a new instance of the HideAction class for the specified annotations.

        Parameters:
        annotations - An array of annotations to be hidden.
      • HideAction

        public HideAction(Annotation[] annotations,
                          boolean isHidden)

        Initializes a new instance of the HideAction class for the specified annotations and for invisibility flag.

        Parameters:
        annotations - An array of annotations to be hidden or shown.
        isHidden - A flag indicating whether to hide the annotations (true) or show it (false).
      • HideAction

        public HideAction(String[] names)

        Initializes a new instance of the HideAction class for the specified field names.

        Parameters:
        names - An array of strings giving the fully qualified field names of an interactive form fields.
      • HideAction

        public HideAction(String[] names,
                          boolean isHidden)

        Initializes a new instance of the HideAction class for the specified field names and for invisibility flag.

        Parameters:
        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).
    • Method Detail

      • isHidden

        public boolean isHidden()

        Gets or sets status of the annotation(s) to hide/display.

        Returns:
        boolean value
      • setHidden

        public void setHidden(boolean value)

        Gets or sets status of the annotation(s) to hide/display.

        Parameters:
        value - boolean value