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 |
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.
|
public PDAppearanceDictionary()
public PDAppearanceDictionary(COSDictionary dict)
dict
- The annotations dictionary.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.Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.