COSObjectable
public class PDAppearanceDictionary extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
PDAppearanceDictionary() |
Constructor.
|
PDAppearanceDictionary(COSDictionary dict) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
COSBase |
getCOSObject() |
returns the dictionary.
|
COSDictionary |
getDictionary() |
returns the dictionary.
|
java.util.Map<java.lang.String,PDAppearanceStream> |
getDownAppearance() |
This will return a list of appearances.
|
java.util.Map<java.lang.String,PDAppearanceStream> |
getNormalAppearance() |
This will return a list of appearances.
|
java.util.Map<java.lang.String,PDAppearanceStream> |
getRolloverAppearance() |
This will return a list of appearances.
|
void |
setDownAppearance(java.util.Map<java.lang.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(java.util.Map<java.lang.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(java.util.Map<java.lang.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.
|
public PDAppearanceDictionary()
public PDAppearanceDictionary(COSDictionary dict)
dict
- The annotations dictionary.public COSDictionary getDictionary()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public java.util.Map<java.lang.String,PDAppearanceStream> getNormalAppearance()
public void setNormalAppearance(java.util.Map<java.lang.String,PDAppearanceStream> appearanceMap)
appearanceMap
- The updated map with the appearance.public void setNormalAppearance(PDAppearanceStream ap)
ap
- The appearance stream to show.public java.util.Map<java.lang.String,PDAppearanceStream> getRolloverAppearance()
public void setRolloverAppearance(java.util.Map<java.lang.String,PDAppearanceStream> appearanceMap)
appearanceMap
- The updated map with the appearance.public void setRolloverAppearance(PDAppearanceStream ap)
ap
- The appearance stream to show.public java.util.Map<java.lang.String,PDAppearanceStream> getDownAppearance()
public void setDownAppearance(java.util.Map<java.lang.String,PDAppearanceStream> appearanceMap)
appearanceMap
- The updated map with the appearance.public void setDownAppearance(PDAppearanceStream ap)
ap
- The appearance stream to show.