LibreOffice Module android (master) 1
Public Member Functions | List of all members
org.libreoffice.canvas.SelectionHandleMiddle Class Reference

Selection handle that is used to manipulate the cursor. More...

Inheritance diagram for org.libreoffice.canvas.SelectionHandleMiddle:
[legend]
Collaboration diagram for org.libreoffice.canvas.SelectionHandleMiddle:
[legend]

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
 

Detailed Description

Selection handle that is used to manipulate the cursor.

Definition at line 10 of file SelectionHandleMiddle.java.

Constructor & Destructor Documentation

◆ SelectionHandleMiddle()

org.libreoffice.canvas.SelectionHandleMiddle.SelectionHandleMiddle ( LibreOfficeMainActivity  context)
inline

Definition at line 11 of file SelectionHandleMiddle.java.

References R.

Member Function Documentation

◆ getHandleType()

HandleType org.libreoffice.canvas.SelectionHandleMiddle.getHandleType ( )
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.

◆ reposition()

void org.libreoffice.canvas.SelectionHandleMiddle.reposition ( float  x,
float  y 
)
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.

References x, and y.


The documentation for this class was generated from the following file: