|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceDictionary
public class 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<String,PDAppearanceStream> |
getDownAppearance()
This will return a list of appearances. |
Map<String,PDAppearanceStream> |
getNormalAppearance()
This will return a list of appearances. |
Map<String,PDAppearanceStream> |
getRolloverAppearance()
This will return a list of appearances. |
void |
setDownAppearance(Map<String,PDAppearanceStream> appearanceMap)
This will set a list of appearances. |
void |
setDownAppearance(PDAppearanceStream ap)
This will set the down appearance when there is down appearance to be shown. |
void |
setNormalAppearance(Map<String,PDAppearanceStream> 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<String,PDAppearanceStream> appearanceMap)
This will set a list of appearances. |
void |
setRolloverAppearance(PDAppearanceStream ap)
This will set the rollover appearance when there is rollover appearance to be shown. |
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<String,PDAppearanceStream> getNormalAppearance()
public void setNormalAppearance(Map<String,PDAppearanceStream> appearanceMap)
appearanceMap
- The updated map with the appearance.public void setNormalAppearance(PDAppearanceStream ap)
ap
- The appearance stream to show.public Map<String,PDAppearanceStream> getRolloverAppearance()
public void setRolloverAppearance(Map<String,PDAppearanceStream> appearanceMap)
appearanceMap
- The updated map with the appearance.public void setRolloverAppearance(PDAppearanceStream ap)
ap
- The appearance stream to show.public Map<String,PDAppearanceStream> getDownAppearance()
public void setDownAppearance(Map<String,PDAppearanceStream> appearanceMap)
appearanceMap
- The updated map with the appearance.public void setDownAppearance(PDAppearanceStream ap)
ap
- The appearance stream to show.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |