COSObjectable
public class PDAppearanceCharacteristicsDictionary extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
PDAppearanceCharacteristicsDictionary(COSDictionary dict) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getAlternateCaption() |
This will retrieve the alternate caption.
|
PDFormXObject |
getAlternateIcon() |
This will retrieve the alternate icon.
|
PDColor |
getBackground() |
This will retrieve the background color.
|
PDColor |
getBorderColour() |
This will retrieve the border color.
|
COSDictionary |
getCOSObject() |
returns the dictionary.
|
java.lang.String |
getNormalCaption() |
This will retrieve the normal caption.
|
PDFormXObject |
getNormalIcon() |
This will retrieve the normal icon.
|
java.lang.String |
getRolloverCaption() |
This will retrieve the rollover caption.
|
PDFormXObject |
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(PDColor c) |
This will set the background color.
|
void |
setBorderColour(PDColor 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.
|
public PDAppearanceCharacteristicsDictionary(COSDictionary dict)
dict
- dictionarypublic COSDictionary getCOSObject()
getCOSObject
in interface COSObjectable
public int getRotation()
public void setRotation(int rotation)
rotation
- the rotation as a multiple of 90public PDColor getBorderColour()
public void setBorderColour(PDColor c)
c
- the border colorpublic PDColor getBackground()
public void setBackground(PDColor 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 PDFormXObject getNormalIcon()
public PDFormXObject getRolloverIcon()
public PDFormXObject getAlternateIcon()
Copyright © 2002–2018. All rights reserved.