public class PDAppearanceDictionary extends Object implements COSObjectable
| Constructor and Description |
|---|
PDAppearanceDictionary()
Constructor.
|
PDAppearanceDictionary(COSDictionary dict)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public PDAppearanceDictionary()
public PDAppearanceDictionary(COSDictionary dict)
dict - The annotations dictionary.public COSDictionary getDictionary()
public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic 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.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.