Skip to main content

AnnotationAppearance Class

Defines an annotation appearance.

Declaration

public class AnnotationAppearance extends JavaObject implements ICloneable

Remarks

An annotation appearance contains form templates that render annotation states.

Refer to the following help topic for additional information: Watermark Annotations.

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
AnnotationAppearance

Constructors

AnnotationAppearance() Constructor

Initializes a new instance of the AnnotationAppearance class.

Declaration

public AnnotationAppearance()

AnnotationAppearance(FormTemplate defaultForm) Constructor

Initializes a new instance of the AnnotationAppearance class with specified form template.

Declaration

public AnnotationAppearance(FormTemplate defaultForm)

Parameters

Name Type Description
defaultForm FormTemplate

The default form template.

Methods

clone(DocumentCloneContext context) Method

Creates a copy of the annotation appearance.

Declaration

public AnnotationAppearance clone(DocumentCloneContext context)

Parameters

Name Type Description
context DocumentCloneContext

The document clone context.

Returns

Type Description
AnnotationAppearance

A copy of the annotation appearance.

deepClone() Method

Creates a deep copy of the annotation appearance.

Declaration

public AnnotationAppearance deepClone()

Returns

Type Description
AnnotationAppearance

A deep copy of the annotation appearance.

getDefaultForm() Method

Returns the default form template.

Declaration

public FormTemplate getDefaultForm()

Returns

Type Description
FormTemplate

The default form template.

getForms() Method

Returns annotation appearance forms.

Declaration

public Map<String,FormTemplate> getForms()

Returns

Type Description
java.util.Map<java.lang.String,FormTemplate>

Annotation appearance forms.

Remarks

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

objectClone() Method

Creates a copy of the annotation appearance.

Declaration

public Object objectClone()

Returns

Type Description
Object

A copy of the annotation appearance.

setDefaultForm(FormTemplate value) Method

Sets the default form template.

Declaration

public void setDefaultForm(FormTemplate value)

Parameters

Name Type Description
value FormTemplate

The default form template.

setForms(Map<String,FormTemplate> value) Method

Sets annotation appearance forms.

Declaration

public void setForms(Map<String,FormTemplate> value)

Parameters

Name Type Description
value java.util.Map<java.lang.String,FormTemplate>

Annotation appearance forms.

Remarks

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