|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.pdmodel.interactive.annotation.PDAppearanceDictionary
This class represents a PDF /AP entry the appearance dictionary.
Constructor Summary | |
PDAppearanceDictionary()
Constructor. |
|
PDAppearanceDictionary(COSDictionary dict)
Constructor. |
Method Summary | |
COSBase |
getCOSObject()
returns the dictionary. |
COSDictionary |
getDictionary()
returns the dictionary. |
Map |
getDownAppearance()
This will return a list of appearances. |
Map |
getNormalAppearance()
This will return a list of appearances. |
Map |
getRolloverAppearance()
This will return a list of appearances. |
void |
setDownAppearance(Map appearanceMap)
This will set a list of appearances. |
void |
setNormalAppearance(Map appearanceMap)
This will set a list of appearances. |
void |
setNormalAppearance(PDAppearanceStream ap)
This will set the normal appearance when there is only one appearance to be shown. |
void |
setRolloverAppearance(Map appearanceMap)
This will set a list of appearances. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDAppearanceDictionary()
public PDAppearanceDictionary(COSDictionary dict)
dict
- The annotations dictionary.Method Detail |
public COSDictionary getDictionary()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public Map getNormalAppearance()
public void setNormalAppearance(Map appearanceMap)
appearanceMap
- The updated map with the appearance.public void setNormalAppearance(PDAppearanceStream ap)
ap
- The appearance stream to show.public Map getRolloverAppearance()
public void setRolloverAppearance(Map appearanceMap)
appearanceMap
- The updated map with the appearance.public Map getDownAppearance()
public void setDownAppearance(Map appearanceMap)
appearanceMap
- The updated map with the appearance.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |