| java.lang.Object de.intarsys.pdf.cos.COSBasedObject de.intarsys.pdf.pd.PDObject de.intarsys.pdf.pd.PDAppearance
PDAppearance | public class PDAppearance extends PDObject (Code) | | The PDAppearance describes the visual content of a PDAnnotation.
The annotation supports different visual feedback dependent on the kind of
user interaction currently in effect.
- Normal
- Down
- Rollover
Additionaly, each of these appearances is supported for the different logical
states an annotation can enter (for example "On" and "Off" in a checkbox).
The PDForm objects responsible for this feedback are described here.
|
META | final public static MetaClass META(Code) | | The meta class instance
|
getAppearance | public PDForm getAppearance(COSName key, COSName state)(Code) | | The
PDForm for state state . key
defines the interaction context and is one of "/D", "/R" or "/N". If no
PDForm is available, return the
PDForm for the "/N"
context.
Parameters: key - The interaction context Parameters: state - The PDAnnotation state. The PDForm for state state . |
isDefined | public boolean isDefined()(Code) | | true if this appearance dictionary has valid contents.
From time to time there may be an empty /AP stub around, in this case
this method returns false.
true if this appearance dictionary has validcontents. |
Methods inherited from de.intarsys.pdf.cos.COSBasedObject | public void changed(COSObject pObject, Object slot, Object oldValue, Object newValue)(Code)(Java Doc) public COSArray cosGetArray()(Code)(Java Doc) public COSDictionary cosGetDict()(Code)(Java Doc) public COSDocument cosGetDoc()(Code)(Java Doc) public COSObject cosGetField(COSName name)(Code)(Java Doc) public COSObject cosGetObject()(Code)(Java Doc) public COSStream cosGetStream()(Code)(Java Doc) public boolean cosHasField(COSName name)(Code)(Java Doc) public COSObject cosRemoveField(COSName name)(Code)(Java Doc) public COSObject cosSetField(COSName name, COSObject cosObj)(Code)(Java Doc) public Object getAttribute(Object key)(Code)(Java Doc) public boolean getFieldBoolean(COSName name, boolean defaultValue)(Code)(Java Doc) public CDSDate getFieldDate(COSName name, CDSDate defaultValue)(Code)(Java Doc) public float getFieldFixed(COSName name, float defaultValue)(Code)(Java Doc) public float[] getFieldFixedArray(COSName name, float[] defaultValue)(Code)(Java Doc) public int getFieldInt(COSName name, int defaultValue)(Code)(Java Doc) public String getFieldMLString(COSName name, String defaultValue)(Code)(Java Doc) public String getFieldString(COSName name, String defaultValue)(Code)(Java Doc) protected void initializeFromCos()(Code)(Java Doc) protected void initializeFromScratch()(Code)(Java Doc) public void invalidateCaches()(Code)(Java Doc) public Object removeAttribute(Object key)(Code)(Java Doc) public Object setAttribute(Object key, Object value)(Code)(Java Doc) public void setFieldBoolean(COSName name, boolean value)(Code)(Java Doc) public void setFieldFixed(COSName name, float value)(Code)(Java Doc) protected void setFieldFixedArray(COSName key, float[] array)(Code)(Java Doc) public void setFieldInt(COSName name, int value)(Code)(Java Doc) public void setFieldMLString(COSName name, String value)(Code)(Java Doc) public void setFieldName(COSName name, String value)(Code)(Java Doc) public void setFieldObject(COSName name, COSBasedObject value)(Code)(Java Doc) public void setFieldString(COSName name, String value)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|