Skip to main content

AnnotationAppearances Class

Defines annotation appearances for interaction states.

Declaration

public class AnnotationAppearances extends JavaObject implements ICloneable

Remarks

Use the setAppearance(AnnotationAppearances value) method to specify annotation appearances. An annotation appearance contains form templates that render annotation normal, rollover, and down states.

Implements

com.devexpress.system.ICloneable

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.JavaObject
AnnotationAppearances

AnnotationAppearances()

Initializes a new instance of the AnnotationAppearances class.

Declaration

public AnnotationAppearances()

Methods

clone(DocumentCloneContext context) Method

Creates a copy of the annotation appearances.

Declaration

public AnnotationAppearances clone(DocumentCloneContext context)

Parameters

Name Type Description
context DocumentCloneContext

The document clone context.

Returns

Type Description
AnnotationAppearances

A copy of the annotation appearances.

deepClone() Method

Creates a deep copy of the annotation appearances.

Declaration

public AnnotationAppearances deepClone()

Returns

Type Description
AnnotationAppearances

A deep copy of the annotation appearances.

getDown() Method

Returns the down-state annotation appearance.

Declaration

public AnnotationAppearance getDown()

Returns

Type Description
AnnotationAppearance

The down-state annotation appearance.

getForm() Method

Returns the default form template.

Declaration

public FormTemplate getForm()

Returns

Type Description
FormTemplate

The default form template.

getNormal() Method

Returns the normal-state annotation appearance.

Declaration

public AnnotationAppearance getNormal()

Returns

Type Description
AnnotationAppearance

The normal-state annotation appearance.

Remarks

Refer to the following help topic for additional information: Create a Watermark with Multiple Appearance States.

getRollover() Method

Returns the rollover-state annotation appearance.

Declaration

public AnnotationAppearance getRollover()

Returns

Type Description
AnnotationAppearance

The rollover-state annotation appearance.

objectClone() Method

Creates a copy of the annotation appearances.

Declaration

public Object objectClone()

Returns

Type Description
Object

A copy of the annotation appearances.

setDown(AnnotationAppearance value) Method

Sets the down-state annotation appearance.

Declaration

public void setDown(AnnotationAppearance value)

Parameters

Name Type Description
value AnnotationAppearance

The down-state annotation appearance.

setForm(FormTemplate value) Method

Sets the default form template.

Declaration

public void setForm(FormTemplate value)

Parameters

Name Type Description
value FormTemplate

The default form template.

setNormal(AnnotationAppearance value) Method

Sets the normal-state annotation appearance.

Declaration

public void setNormal(AnnotationAppearance value)

Parameters

Name Type Description
value AnnotationAppearance

The normal-state annotation appearance.

Remarks

Refer to the following help topic for additional information: Create a Watermark with Multiple Appearance States.

setRollover(AnnotationAppearance value) Method

Sets the rollover-state annotation appearance.

Declaration

public void setRollover(AnnotationAppearance value)

Parameters

Name Type Description
value AnnotationAppearance

The rollover-state annotation appearance.