com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class WidgetAnnotation

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable
    Direct Known Subclasses:
    Field


    public class WidgetAnnotation
    extends Annotation

    Class representing widget annotation.

    • Constructor Detail

      • WidgetAnnotation

        public WidgetAnnotation(IDocument doc)

        Create annotation (used for Generator)

        Parameters:
        doc - Document where annotation will be created.
    • Method Detail

      • getOnActivated

        public PdfAction getOnActivated()

        Get an action which shall be performed when the annotation is activated.

        Returns:
        PdfAction object
      • setOnActivated

        public void setOnActivated(PdfAction value)

        Set an action which shall be performed when the annotation is activated.

        Parameters:
        value - PdfAction object
      • getAnnotationActions

        public AnnotationActionCollection getAnnotationActions()

        Gets the annotation actions.

        Returns:
        AnnotationActionCollection object
      • getHighlighting

        public int getHighlighting()

        Annotation highlighting mode.

        Returns:
        HighlightingMode value
        See Also:
        HighlightingMode
      • setHighlighting

        public void setHighlighting(int value)

        Annotation highlighting mode.

        Parameters:
        value - HighlightingMode value
        See Also:
        HighlightingMode
      • getParent

        public Field getParent()

        Gets annotation parent.

        Returns:
        Field object
      • getDefaultAppearance

        public DefaultAppearance getDefaultAppearance()

        Gets default appearance of the field.

        Returns:
        DefaultAppearance object
      • setDefaultAppearance

        public void setDefaultAppearance(DefaultAppearance value)

        Sets default appearance of the field.

        Parameters:
        value - DefaultAppearance object
      • getReadOnly

        public boolean getReadOnly()

        Gets read only status of the field.

        Returns:
        boolean value
      • setReadOnly

        public void setReadOnly(boolean value)

        Sets read only status of the field.

        Parameters:
        value - boolean value
      • getRequired

        public boolean getRequired()

        Gets required status of the field.

        Returns:
        boolean value
      • setRequired

        public void setRequired(boolean value)

        Sets read only status of the field.

        Parameters:
        value - boolean value
      • getExportable

        public boolean getExportable()

        Gets exportable flag of the field.

        Returns:
        boolean value
      • setExportable

        public void setExportable(boolean value)

        Sets read only status of the field.

        Parameters:
        value - boolean value
      • getAnnotationType

        public int getAnnotationType()

        Gets type of annotation.

        Specified by:
        getAnnotationType in class Annotation
        Returns:
        int value
        See Also:
        AnnotationType