9package org.libreoffice;
11import android.graphics.PointF;
12import android.graphics.RectF;
13import android.view.KeyEvent;
21public class LOEvent implements Comparable<LOEvent> {
24 public static final int LOAD = 3;
25 public static final int CLOSE = 4;
29 public static final int TOUCH = 8;
77 public LOEvent(
int type, String someString) {
84 public LOEvent(
int type, String someString,
boolean notify) {
92 public LOEvent(
int type, String someString, String value,
boolean notify) {
100 public LOEvent(
int type, String key, String value) {
132 public LOEvent(
int type, String touchType, PointF documentTouchCoordinate) {
157 public LOEvent(
int type,
int pageWidth,
int pageHeight){
165 return "Event type: " +
mType;
Events and data that is queued and processed by LOKitThread.
static final int LOAD_NEW
static final int CHANGE_PART
ThumbnailCreator.ThumbnailCreationTask mTask
static final int TILE_INVALIDATION
static final int SAVE_COPY_AS
static final int PAGE_SIZE_CHANGED
LOEvent(int type, String someString)
static final int UNO_COMMAND_NOTIFY
LOEvent(int type, SelectionHandle.HandleType handleType, PointF documentCoordinate)
static final int NAVIGATION_CLICK
static final int SWIPE_RIGHT
LOEvent(int type, int partIndex)
LOEvent(int type, RectF rect)
LOEvent(int type, int pageWidth, int pageHeight)
static final int SIZE_CHANGED
LOEvent(int type, String key, String value)
static final int UPDATE_ZOOM_CONSTRAINTS
LOEvent(int type, String someString, String value, boolean notify)
static final int SWIPE_LEFT
LOEvent(int type, String touchType, PointF documentTouchCoordinate)
ComposedTileLayer mComposedTileLayer
static final int UNO_COMMAND
static final int KEY_EVENT
LOEvent(String filePath, int type)
static final int UPDATE_PART_PAGE_RECT
int compareTo(LOEvent another)
static final int UPDATE_CALC_HEADERS
LOEvent(int type, ComposedTileLayer composedTileLayer)
LOEvent(int type, String someString, boolean notify)
static final int CHANGE_HANDLE_POSITION
LOEvent(String filePath, String fileType, int type)
SelectionHandle.HandleType mHandleType
PointF mDocumentCoordinate
static final int THUMBNAIL
LOEvent(int type, KeyEvent keyEvent)
static final int TILE_REEVALUATION_REQUEST
LOEvent(int type, ThumbnailCreator.ThumbnailCreationTask task)
Create thumbnails for the parts of the document.
Selection handle is a common class for "start", "middle" and "end" types of selection handles.