public static interface

AnnotStyle.OnAnnotStyleChangeListener

com.pdftron.pdf.model.AnnotStyle.OnAnnotStyleChangeListener
Known Indirect Subclasses

Class Overview

This interface is used for changing annotation appearance

Summary

Public Methods
abstract void onChangeAnnotBorderEffect(RectCreate.BorderEffect borderEffect)
This method is invoked when the border effect of an annotation is changed
abstract void onChangeAnnotFillColor(int color)
The method is invoked when fill color is selected
abstract void onChangeAnnotFont(FontResource font)
The method is invoked when font resource is selected in font spinner
abstract void onChangeAnnotIcon(String icon)
The method is invoked when icon is selected in icon picker
abstract void onChangeAnnotOpacity(float opacity, boolean done)
The method is invoked when opacity is changed in style picker
abstract void onChangeAnnotStrokeColor(int color)
The method is invoked when color is selected If it is Text annotation, it will change sticky note icon color If it is FreeText annoation, it will change text color
abstract void onChangeAnnotTextColor(int textColor)
The method is invoked when text color is changed in style picker
abstract void onChangeAnnotTextSize(float textSize, boolean done)
The method is invoked when text size is changed in style picker
abstract void onChangeAnnotThickness(float thickness, boolean done)
The method is invoked when thickness is changed in style picker
abstract void onChangeDateFormat(String dateFormat)
This method is invoked when date format change
abstract void onChangeOverlayText(String overlayText)
The method is invoked when overlay text change
abstract void onChangeRichContentEnabled(boolean enabled)
The method is invoked when rich content enabled change
abstract void onChangeRulerProperty(RulerItem rulerItem)
The method is invoked when any of the ruler properties change
abstract void onChangeSnapping(boolean snap)
The method is invoked when snap switch change

Public Methods

public abstract void onChangeAnnotBorderEffect (RectCreate.BorderEffect borderEffect)

This method is invoked when the border effect of an annotation is changed

Parameters
borderEffect the border effect

public abstract void onChangeAnnotFillColor (int color)

The method is invoked when fill color is selected

Parameters
color fill color of annotation

public abstract void onChangeAnnotFont (FontResource font)

The method is invoked when font resource is selected in font spinner

Parameters
font font resource

public abstract void onChangeAnnotIcon (String icon)

The method is invoked when icon is selected in icon picker

Parameters
icon icon name of sticky note

public abstract void onChangeAnnotOpacity (float opacity, boolean done)

The method is invoked when opacity is changed in style picker

Parameters
opacity opacity of annotation

public abstract void onChangeAnnotStrokeColor (int color)

The method is invoked when color is selected If it is Text annotation, it will change sticky note icon color If it is FreeText annoation, it will change text color

Parameters
color stroke color/ icon color/ text color of annotation

public abstract void onChangeAnnotTextColor (int textColor)

The method is invoked when text color is changed in style picker

Parameters
textColor text color of annotation style.

public abstract void onChangeAnnotTextSize (float textSize, boolean done)

The method is invoked when text size is changed in style picker

Parameters
textSize text size of annotation style.

public abstract void onChangeAnnotThickness (float thickness, boolean done)

The method is invoked when thickness is changed in style picker

Parameters
thickness thickness of annotation style.

public abstract void onChangeDateFormat (String dateFormat)

This method is invoked when date format change

Parameters
dateFormat the date format

public abstract void onChangeOverlayText (String overlayText)

The method is invoked when overlay text change

Parameters
overlayText the overlay text

public abstract void onChangeRichContentEnabled (boolean enabled)

The method is invoked when rich content enabled change

Parameters
enabled whether to enable rich content

public abstract void onChangeRulerProperty (RulerItem rulerItem)

The method is invoked when any of the ruler properties change

Parameters
rulerItem the ruler item

public abstract void onChangeSnapping (boolean snap)

The method is invoked when snap switch change

Parameters
snap whether to snap