com.spire.pdf.annotations.appearance
Class PdfAppearance

java.lang.Object
  extended by com.spire.pdf.annotations.appearance.PdfAppearance

public class PdfAppearance
extends java.lang.Object

Represents the appearance of an annotation.


Constructor Summary
PdfAppearance(java.awt.geom.Dimension2D size)
           
PdfAppearance(PdfAnnotation annotation)
          Initializes a new instance of the class.
 
Method Summary
 PdfTemplate getMouseHover()
          Gets object which applied to the annotation on hovering the mouse.
 PdfTemplate getNormal()
          Gets object which applied to annotation in normal state.
 PdfTemplate getPressed()
          Gets object which applied to an annotation when mouse button is pressed.
 void setMouseHover(PdfTemplate value)
          Sets object which applied to the annotation on hovering the mouse.
 void setNormal(PdfTemplate value)
          Sets object which applied to annotation in normal state.
 void setPressed(PdfTemplate value)
          Sets object which applied to an annotation when mouse button is pressed.
 

Constructor Detail

PdfAppearance

public PdfAppearance(PdfAnnotation annotation)
Initializes a new instance of the class.

Parameters:
annotation - The object specifies the annotation.

PdfAppearance

public PdfAppearance(java.awt.geom.Dimension2D size)
Method Detail

getNormal

public PdfTemplate getNormal()
Gets object which applied to annotation in normal state.


setNormal

public void setNormal(PdfTemplate value)
Sets object which applied to annotation in normal state.


getMouseHover

public PdfTemplate getMouseHover()
Gets object which applied to the annotation on hovering the mouse.


setMouseHover

public void setMouseHover(PdfTemplate value)
Sets object which applied to the annotation on hovering the mouse.


getPressed

public PdfTemplate getPressed()
Gets object which applied to an annotation when mouse button is pressed.


setPressed

public void setPressed(PdfTemplate value)
Sets object which applied to an annotation when mouse button is pressed.