Class PDActionNamed

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SUB_TYPE
      This type of action this object represents.
      • Fields inherited from class org.apache.pdfbox.pdmodel.interactive.action.type.PDAction

        action, TYPE
    • Field Detail

      • SUB_TYPE

        public static final java.lang.String SUB_TYPE
        This type of action this object represents.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PDActionNamed

        public PDActionNamed()
        Default constructor.
      • PDActionNamed

        public PDActionNamed​(COSDictionary a)
        Constructor.
        Parameters:
        a - The action dictionary.
    • Method Detail

      • getCOSDictionary

        public COSDictionary getCOSDictionary()
        Convert this standard java object to a COS object.
        Overrides:
        getCOSDictionary in class PDAction
        Returns:
        The cos object that matches this Java object.
      • getN

        public java.lang.String getN()
        This will get the name of the action to be performed.
        Returns:
        The name of the action to be performed.
      • setN

        public void setN​(java.lang.String name)
        This will set the name of the action to be performed.
        Parameters:
        name - The name of the action to be performed.