public class PDAppearanceDictionary extends Object implements COSObjectable
Constructor and Description |
---|
PDAppearanceDictionary()
Constructor for embedding.
|
PDAppearanceDictionary(COSDictionary dictionary)
Constructor for reading.
|
Modifier and Type | Method and Description |
---|---|
COSDictionary |
getCOSObject()
Convert this standard java object to a COS object.
|
PDAppearanceEntry |
getDownAppearance()
This will return a list of appearances.
|
PDAppearanceEntry |
getNormalAppearance()
This will return a list of appearances.
|
PDAppearanceEntry |
getRolloverAppearance()
This will return a list of appearances.
|
void |
setDownAppearance(PDAppearanceEntry entry)
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(PDAppearanceEntry entry)
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(PDAppearanceEntry entry)
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 dictionary)
dictionary
- The annotations dictionary.public COSDictionary getCOSObject()
COSObjectable
getCOSObject
in interface COSObjectable
public PDAppearanceEntry getNormalAppearance()
public void setNormalAppearance(PDAppearanceEntry entry)
entry
- appearance stream or subdictionarypublic void setNormalAppearance(PDAppearanceStream ap)
ap
- The appearance stream to show.public PDAppearanceEntry getRolloverAppearance()
public void setRolloverAppearance(PDAppearanceEntry entry)
entry
- appearance stream or subdictionarypublic void setRolloverAppearance(PDAppearanceStream ap)
ap
- The appearance stream to show.public PDAppearanceEntry getDownAppearance()
public void setDownAppearance(PDAppearanceEntry entry)
entry
- appearance stream or subdictionarypublic void setDownAppearance(PDAppearanceStream ap)
ap
- The appearance stream to show.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.