public class PDAppearanceCharacteristicsDictionary extends Object implements COSObjectable
Constructor and Description |
---|
PDAppearanceCharacteristicsDictionary(COSDictionary dict)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getNormalCaption()
This will retrieve the normal caption.
|
PDFormXObject |
getNormalIcon()
This will retrieve the normal icon.
|
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(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(String caption)
This will set the normal caption.
|
void |
setRolloverCaption(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 String getNormalCaption()
public void setNormalCaption(String caption)
caption
- the normal captionpublic String getRolloverCaption()
public void setRolloverCaption(String caption)
caption
- the rollover captionpublic String getAlternateCaption()
public void setAlternateCaption(String caption)
caption
- the alternate captionpublic PDFormXObject getNormalIcon()
public PDFormXObject getRolloverIcon()
public PDFormXObject getAlternateIcon()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.