|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pdfclown.objects.PdfObjectWrapper<PdfDictionary> org.pdfclown.documents.interaction.annotations.AppearanceCharacteristics
@PDF(value=PDF12) public final class AppearanceCharacteristics
Appearance characteristics [PDF:1.6:8.4.5].
Nested Class Summary | |
---|---|
static class |
AppearanceCharacteristics.CaptionPositionEnum
Caption position relative to its icon [PDF:1.6:8.4.5]. |
static class |
AppearanceCharacteristics.IconFitObject
Icon fit [PDF:1.6:8.6.6]. |
static class |
AppearanceCharacteristics.OrientationEnum
Annotation orientation [PDF:1.6:8.4.5]. |
Constructor Summary | |
---|---|
AppearanceCharacteristics(Document context)
|
Method Summary | |
---|---|
AppearanceCharacteristics |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
String |
getAlternateCaption()
Gets the widget annotation's alternate (down) caption, displayed when the mouse button is pressed within its active area (Pushbutton fields only). |
FormXObject |
getAlternateIcon()
Gets the widget annotation's alternate (down) icon definition, displayed when the mouse button is pressed within its active area (Pushbutton fields only). |
DeviceColor |
getBackgroundColor()
Gets the widget annotation's background color. |
DeviceColor |
getBorderColor()
Gets the widget annotation's border color. |
AppearanceCharacteristics.CaptionPositionEnum |
getCaptionPosition()
Gets the position of the caption relative to its icon (Pushbutton fields only). |
AppearanceCharacteristics.IconFitObject |
getIconFit()
Gets the icon fit specifying how to display the widget annotation's icon within its annotation box (Pushbutton fields only). |
String |
getNormalCaption()
Gets the widget annotation's normal caption, displayed when it is not interacting with the user (Button fields only). |
FormXObject |
getNormalIcon()
Gets the widget annotation's normal icon definition, displayed when it is not interacting with the user (Pushbutton fields only). |
AppearanceCharacteristics.OrientationEnum |
getOrientation()
Gets the widget annotation's orientation. |
String |
getRolloverCaption()
Gets the widget annotation's rollover caption, displayed when the user rolls the cursor into its active area without pressing the mouse button (Pushbutton fields only). |
FormXObject |
getRolloverIcon()
Gets the widget annotation's rollover icon definition, displayed when the user rolls the cursor into its active area without pressing the mouse button (Pushbutton fields only). |
void |
setAlternateCaption(String value)
Sets the widget annotation's alternate (down) caption. |
void |
setAlternateIcon(FormXObject value)
Sets the widget annotation's alternate (down) icon definition. |
void |
setBackgroundColor(DeviceColor value)
Sets the widget annotation's background color. |
void |
setBorderColor(DeviceColor value)
Sets the widget annotation's border color. |
void |
setCaptionPosition(AppearanceCharacteristics.CaptionPositionEnum value)
Sets the position of the caption relative to its icon. |
void |
setIconFit(AppearanceCharacteristics.IconFitObject value)
Sets the icon fit specifying how to display the widget annotation's icon within its annotation box. |
void |
setNormalCaption(String value)
Sets the widget annotation's normal caption. |
void |
setNormalIcon(FormXObject value)
Sets the widget annotation's normal icon definition. |
void |
setOrientation(AppearanceCharacteristics.OrientationEnum value)
Sets the widget annotation's orientation. |
void |
setRolloverCaption(String value)
Sets the widget annotation's rollover caption. |
void |
setRolloverIcon(FormXObject value)
Sets the widget annotation's rollover icon definition. |
static AppearanceCharacteristics |
wrap(PdfDirectObject baseObject)
|
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppearanceCharacteristics(Document context)
Method Detail |
---|
public static AppearanceCharacteristics wrap(PdfDirectObject baseObject)
public AppearanceCharacteristics clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfDictionary>
context
- Which document the clone has to be registered in.public String getAlternateCaption()
public FormXObject getAlternateIcon()
public DeviceColor getBackgroundColor()
public DeviceColor getBorderColor()
public AppearanceCharacteristics.CaptionPositionEnum getCaptionPosition()
public AppearanceCharacteristics.IconFitObject getIconFit()
public String getNormalCaption()
public FormXObject getNormalIcon()
public AppearanceCharacteristics.OrientationEnum getOrientation()
public String getRolloverCaption()
public FormXObject getRolloverIcon()
public void setAlternateCaption(String value)
getAlternateCaption()
public void setAlternateIcon(FormXObject value)
getAlternateIcon()
public void setBackgroundColor(DeviceColor value)
getBackgroundColor()
public void setBorderColor(DeviceColor value)
getBorderColor()
public void setCaptionPosition(AppearanceCharacteristics.CaptionPositionEnum value)
getCaptionPosition()
public void setIconFit(AppearanceCharacteristics.IconFitObject value)
getIconFit()
public void setNormalCaption(String value)
getNormalCaption()
public void setNormalIcon(FormXObject value)
getNormalIcon()
public void setOrientation(AppearanceCharacteristics.OrientationEnum value)
getOrientation()
public void setRolloverCaption(String value)
getRolloverCaption()
public void setRolloverIcon(FormXObject value)
getRolloverIcon()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |