|
LibreOffice Module android (master) 1
|
Selection handle that is used to manipulate the cursor. More...
Public Member Functions | |
| SelectionHandleMiddle (LibreOfficeMainActivity context) | |
| void | reposition (float x, float y) |
| Change the position of the handle on the screen. More... | |
| HandleType | getHandleType () |
| Define the type of the handle. More... | |
Public Member Functions inherited from org.libreoffice.canvas.SelectionHandle | |
| SelectionHandle (LibreOfficeMainActivity context, Bitmap bitmap) | |
| void | dragStart (PointF point) |
| Start of a touch and drag action on the handle. More... | |
| void | dragEnd (PointF point) |
| End of a touch and drag action on the handle. More... | |
| void | dragging (PointF point) |
| Handle has been dragged. More... | |
| abstract HandleType | getHandleType () |
Public Member Functions inherited from org.libreoffice.canvas.BitmapHandle | |
| void | onDraw (Canvas canvas) |
| Draw the bitmap handle to the canvas. More... | |
| boolean | onHitTest (float x, float y) |
| Test if the bitmap has been hit. More... | |
| void | reposition (float x, float y) |
| Change the position of the handle. More... | |
Public Member Functions inherited from org.libreoffice.canvas.CommonCanvasElement | |
| boolean | isVisible () |
| Is element visible? More... | |
| void | setVisible (boolean visible) |
| Set element visibility. More... | |
| void | draw (Canvas canvas) |
| Trigger drawing the element on the canvas. More... | |
| boolean | contains (float x, float y) |
| Hit test. More... | |
| void | draw (Canvas canvas) |
| Called when the element needs to be draw no the canvas. More... | |
| boolean | contains (float x, float y) |
| Hit test - returns true if the object has been hit. More... | |
| boolean | isVisible () |
| Return if element is visible. More... | |
| void | setVisible (boolean visible) |
| Set element visibility. More... | |
Additional Inherited Members | |
Public Attributes inherited from org.libreoffice.canvas.BitmapHandle | |
| final RectF | mDocumentPosition |
Selection handle that is used to manipulate the cursor.
Definition at line 10 of file SelectionHandleMiddle.java.
|
inline |
Definition at line 11 of file SelectionHandleMiddle.java.
References R.
|
inline |
Define the type of the handle.
Reimplemented from org.libreoffice.canvas.SelectionHandle.
Definition at line 31 of file SelectionHandleMiddle.java.
References org.libreoffice.canvas.SelectionHandle.HandleType.MIDDLE.
|
inline |
Change the position of the handle on the screen.
Take into account the handle alignment to the center.
Reimplemented from org.libreoffice.canvas.BitmapHandle.
Definition at line 20 of file SelectionHandleMiddle.java.