| |
|
| java.lang.Object org.pdfbox.pdmodel.interactive.annotation.PDAppearanceDictionary
PDAppearanceDictionary | public class PDAppearanceDictionary implements COSObjectable(Code) | | This class represents a PDF /AP entry the appearance dictionary.
author: Ben Litchfield version: $Revision: 1.4 $ |
PDAppearanceDictionary | public PDAppearanceDictionary()(Code) | | Constructor.
|
PDAppearanceDictionary | public PDAppearanceDictionary(COSDictionary dict)(Code) | | Constructor.
Parameters: dict - The annotations dictionary. |
getCOSObject | public COSBase getCOSObject()(Code) | | returns the dictionary.
the dictionary |
getDownAppearance | public Map getDownAppearance()(Code) | | This will return a list of appearances. In the case where there is
only one appearance the map will contain one entry whose key is the string
"default". If there is no rollover appearance then the normal appearance
will be returned. Which means that this method will never return null.
A list of key(java.lang.String) value(PDAppearanceStream) pairs |
getNormalAppearance | public Map getNormalAppearance()(Code) | | This will return a list of appearances. In the case where there is
only one appearance the map will contain one entry whose key is the string
"default".
A list of key(java.lang.String) value(PDAppearanceStream) pairs |
getRolloverAppearance | public Map getRolloverAppearance()(Code) | | This will return a list of appearances. In the case where there is
only one appearance the map will contain one entry whose key is the string
"default". If there is no rollover appearance then the normal appearance
will be returned. Which means that this method will never return null.
A list of key(java.lang.String) value(PDAppearanceStream) pairs |
setDownAppearance | public void setDownAppearance(Map appearanceMap)(Code) | | This will set a list of appearances. If you would like to set the single
appearance then you should use the key "default", and when the PDF is written
back to the filesystem then there will only be one stream.
Parameters: appearanceMap - The updated map with the appearance. |
setNormalAppearance | public void setNormalAppearance(Map appearanceMap)(Code) | | This will set a list of appearances. If you would like to set the single
appearance then you should use the key "default", and when the PDF is written
back to the filesystem then there will only be one stream.
Parameters: appearanceMap - The updated map with the appearance. |
setNormalAppearance | public void setNormalAppearance(PDAppearanceStream ap)(Code) | | This will set the normal appearance when there is only one appearance
to be shown.
Parameters: ap - The appearance stream to show. |
setRolloverAppearance | public void setRolloverAppearance(Map appearanceMap)(Code) | | This will set a list of appearances. If you would like to set the single
appearance then you should use the key "default", and when the PDF is written
back to the filesystem then there will only be one stream.
Parameters: appearanceMap - The updated map with the appearance. |
|
|
|