java.lang.Object | ||||
↳ | com.pdftron.pdf.tools.Tool | |||
↳ | com.pdftron.pdf.tools.BaseTool | |||
↳ | com.pdftron.pdf.tools.SimpleShapeCreate | |||
↳ | com.pdftron.pdf.tools.StickyNoteCreate |
Known Direct Subclasses |
This class is for creating a sticky note annotation.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.SimpleShapeCreate
| |||||||||||
From class
com.pdftron.pdf.tools.BaseTool
| |||||||||||
From class
com.pdftron.pdf.tools.Tool
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.Tool
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
StickyNoteCreate(PDFViewCtrl ctrl)
Class constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getCreateAnnotType()
Gets what annotation type this tool can create
| ||||||||||
ToolManager.ToolModeBase |
getToolMode()
The overload implementation of
getToolMode() . | ||||||||||
void |
onAnnotButtonPressed(int button)
The overload implementation of
onAnnotButtonPressed(int) . | ||||||||||
void |
onChangeAnnotBorderStyle(ShapeBorderStyle borderStyle)
This method is invoked when the border style of an annotation is changed
| ||||||||||
void |
onChangeAnnotFillColor(int color)
The method is invoked when fill color is selected
| ||||||||||
void |
onChangeAnnotFont(FontResource font)
The method is invoked when font resource is selected in font spinner
| ||||||||||
void |
onChangeAnnotIcon(String icon)
The method is invoked when icon is selected in icon picker
| ||||||||||
void |
onChangeAnnotLineEndStyle(LineEndingStyle lineEndStyle)
This method is invoked when the line end style of an annotation is changed
| ||||||||||
void |
onChangeAnnotLineStartStyle(LineEndingStyle lineStartStyle)
This method is invoked when the line start style of an annotation is changed
| ||||||||||
void |
onChangeAnnotLineStyle(LineStyle lineStyle)
This method is invoked when the line style of an annotation is changed
| ||||||||||
void |
onChangeAnnotOpacity(float opacity, boolean done)
The method is invoked when opacity is changed in style picker
| ||||||||||
void | onChangeAnnotStrokeColor(int color) | ||||||||||
void |
onChangeAnnotTextColor(int textColor)
The method is invoked when text color is changed in style picker
| ||||||||||
void |
onChangeAnnotTextSize(float textSize, boolean done)
The method is invoked when text size is changed in style picker
| ||||||||||
void |
onChangeAnnotThickness(float thickness, boolean done)
The method is invoked when thickness is changed in style picker
| ||||||||||
void |
onChangeDateFormat(String dateFormat)
This method is invoked when date format change
| ||||||||||
void |
onChangeOverlayText(String overlayText)
The method is invoked when overlay text change
| ||||||||||
void |
onChangeRichContentEnabled(boolean enabled)
The method is invoked when rich content enabled change
| ||||||||||
void |
onChangeRulerProperty(RulerItem rulerItem)
The method is invoked when any of the ruler properties change
| ||||||||||
void |
onChangeSnapping(boolean snap)
The method is invoked when snap switch change
| ||||||||||
void |
onChangeTextAlignment(int horizontalAlignment, int verticalAlignment)
This method is invoked when the text alignment is changed
| ||||||||||
void |
onClose()
The overload implementation of
onClose() . | ||||||||||
void |
onConfigurationChanged(Configuration newConfig)
The overload implementation of
onConfigurationChanged(Configuration) . | ||||||||||
boolean |
onDown(MotionEvent e)
The overload implementation of
onDown(MotionEvent) . | ||||||||||
boolean |
onFlingStop()
The overload implementation of
onFlingStop() . | ||||||||||
boolean |
onMove(MotionEvent e1, MotionEvent e2, float x_dist, float y_dist)
The overload implementation of
onMove(MotionEvent, MotionEvent, float, float) . | ||||||||||
boolean |
onQuickMenuClicked(QuickMenuItem menuItem)
Called when a menu in quick menu has been clicked.
| ||||||||||
boolean |
onUp(MotionEvent e, PDFViewCtrl.PriorEventMode priorEventMode)
The overload implementation of
onUp(MotionEvent, PDFViewCtrl.PriorEventMode) . | ||||||||||
void |
setTargetPoint(PointF point)
Sets the target point.
| ||||||||||
void |
setupAnnotProperty(int color, float opacity, float thickness, int fillColor, String icon, String pdfTronFontName)
The overload implementation of
setupAnnotProperty(int, float, float, int, String, String) . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.SimpleShapeCreate
| |||||||||||
From class
com.pdftron.pdf.tools.BaseTool
| |||||||||||
From class
com.pdftron.pdf.tools.Tool
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.model.AnnotStyle.OnAnnotStyleChangeListener
| |||||||||||
From interface
com.pdftron.pdf.tools.DialogAnnotNote.DialogAnnotNoteListener
| |||||||||||
From interface
com.pdftron.pdf.tools.ToolManager.Tool
|
Gets what annotation type this tool can create
The overload implementation of getToolMode()
.
The overload implementation of onAnnotButtonPressed(int)
.
button | The button ID. See android.content.DialogInterface |
---|
This method is invoked when the border style of an annotation is changed
borderStyle | the border style |
---|
The method is invoked when fill color is selected
color | fill color of annotation |
---|
The method is invoked when font resource is selected in font spinner
font | font resource |
---|
The method is invoked when icon is selected in icon picker
icon | icon name of sticky note |
---|
This method is invoked when the line end style of an annotation is changed
lineEndStyle | the line end style |
---|
This method is invoked when the line start style of an annotation is changed
lineStartStyle | the line start style |
---|
This method is invoked when the line style of an annotation is changed
lineStyle | the line style |
---|
The method is invoked when opacity is changed in style picker
opacity | opacity of annotation |
---|
The method is invoked when text color is changed in style picker
textColor | text color of annotation style. |
---|
The method is invoked when text size is changed in style picker
textSize | text size of annotation style. |
---|
The method is invoked when thickness is changed in style picker
thickness | thickness of annotation style. |
---|
This method is invoked when date format change
dateFormat | the date format |
---|
The method is invoked when overlay text change
overlayText | the overlay text |
---|
The method is invoked when rich content enabled change
enabled | whether to enable rich content |
---|
The method is invoked when any of the ruler properties change
rulerItem | the ruler item |
---|
The method is invoked when snap switch change
snap | whether to snap |
---|
This method is invoked when the text alignment is changed
horizontalAlignment | the horizontal text alignment |
---|---|
verticalAlignment | the vertical text alignment |
The overload implementation of onConfigurationChanged(Configuration)
.
The overload implementation of onMove(MotionEvent, MotionEvent, float, float)
.
Called when a menu in quick menu has been clicked.
menuItem | The clicked menu item. |
---|
The overload implementation of onUp(MotionEvent, PDFViewCtrl.PriorEventMode)
.
Sets the target point.
point | The target point |
---|
The overload implementation of setupAnnotProperty(int, float, float, int, String, String)
.
color | The color |
---|---|
opacity | The opacity |
thickness | The thickness |
fillColor | The color for filling |
icon | The icon |
pdfTronFontName | The PDFTron font name |