|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceCharacteristicsDictionary
public class PDAppearanceCharacteristicsDictionary
This class represents an appearance characteristics dictionary.
Constructor Summary | |
---|---|
PDAppearanceCharacteristicsDictionary(COSDictionary dict)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getAlternateCaption()
This will retrieve the alternate caption. |
PDXObjectForm |
getAlternateIcon()
This will retrieve the alternate icon. |
PDGamma |
getBackground()
This will retrieve the background color. |
PDGamma |
getBorderColour()
This will retrieve the border color. |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
COSDictionary |
getDictionary()
returns the dictionary. |
java.lang.String |
getNormalCaption()
This will retrieve the normal caption. |
PDXObjectForm |
getNormalIcon()
This will retrieve the normal icon. |
java.lang.String |
getRolloverCaption()
This will retrieve the rollover caption. |
PDXObjectForm |
getRolloverIcon()
This will retrieve the rollover icon. |
int |
getRotation()
This will retrieve the rotation of the annotation widget. |
void |
setAlternateCaption(java.lang.String caption)
This will set the alternate caption. |
void |
setBackground(PDGamma c)
This will set the background color. |
void |
setBorderColour(PDGamma c)
This will set the border color. |
void |
setNormalCaption(java.lang.String caption)
This will set the normal caption. |
void |
setRolloverCaption(java.lang.String caption)
This will set the rollover caption. |
void |
setRotation(int rotation)
This will set the rotation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDAppearanceCharacteristicsDictionary(COSDictionary dict)
dict
- dictionaryMethod Detail |
---|
public COSDictionary getDictionary()
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public int getRotation()
public void setRotation(int rotation)
rotation
- the rotation as a multiple of 90public PDGamma getBorderColour()
public void setBorderColour(PDGamma c)
c
- the border colorpublic PDGamma getBackground()
public void setBackground(PDGamma c)
c
- the background colorpublic java.lang.String getNormalCaption()
public void setNormalCaption(java.lang.String caption)
caption
- the normal captionpublic java.lang.String getRolloverCaption()
public void setRolloverCaption(java.lang.String caption)
caption
- the rollover captionpublic java.lang.String getAlternateCaption()
public void setAlternateCaption(java.lang.String caption)
caption
- the alternate captionpublic PDXObjectForm getNormalIcon()
public PDXObjectForm getRolloverIcon()
public PDXObjectForm getAlternateIcon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |