public class CPDFEditPageHelper extends java.lang.Object implements CPDFEditPageRenderKeyboardInputListener
Modifier and Type | Field and Description |
---|---|
static int |
MODE_AREA_EDIT |
static int |
MODE_CONTENT_EDIT |
static int |
MODE_NONE |
static int |
MODE_SELECT |
static int |
SELECT_IMAGE_AREA |
static int |
SELECT_NONE_AREA |
static int |
SELECT_TEXT_AREA |
Constructor and Description |
---|
CPDFEditPageHelper(android.content.Context context,
ReaderView readerView,
CPDFEditConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
cancelCursor() |
void |
dismissContextMenu() |
void |
endEdit() |
boolean |
exitImageAreaCroping() |
CPDFEditArea |
getCurrentEditArea() |
int |
getSelectAreaType() |
void |
hideKeyboard(android.view.View view) |
boolean |
isImgCropMode() |
void |
keyboardHeightChanged(int height,
int keyboard_y_top) |
void |
onComposingText(java.lang.CharSequence text) |
void |
onDelete() |
void |
onDown() |
void |
onLeft() |
void |
onRight() |
void |
onSection() |
void |
onSizeChanged(android.content.res.Configuration newConfig) |
void |
onTextInput(java.lang.CharSequence text,
java.lang.CharSequence composeText) |
void |
onUp() |
void |
selectEditArea(CPDFPageView pageView,
CPDFEditArea editArea) |
void |
setCropRectChangeCallback(CPDFPageView.CropRectChangedCallback cropRectChangedCallback) |
void |
setCropStatusChangCallback(CPDFPageView.CropStatusChangCallback cropStatusChangCallback) |
void |
setCurrentEditArea(CPDFEditArea currentEditArea) |
void |
setCurrentPageView(CPDFPageView pageView,
boolean onlySet) |
void |
setReadViewOffsetY(int height) |
void |
showKeyboard(android.view.View view) |
void |
updateEditConfig(CPDFEditConfig config) |
public static final int MODE_NONE
public static final int MODE_AREA_EDIT
public static final int MODE_CONTENT_EDIT
public static final int MODE_SELECT
public static final int SELECT_NONE_AREA
public static final int SELECT_TEXT_AREA
public static final int SELECT_IMAGE_AREA
public CPDFEditPageHelper(android.content.Context context, ReaderView readerView, CPDFEditConfig config)
public void setCurrentEditArea(CPDFEditArea currentEditArea)
public CPDFEditArea getCurrentEditArea()
public void setReadViewOffsetY(int height)
public int getSelectAreaType()
public void setCurrentPageView(CPDFPageView pageView, boolean onlySet)
public boolean isImgCropMode()
public void updateEditConfig(CPDFEditConfig config)
public void onSizeChanged(android.content.res.Configuration newConfig)
public void setCropRectChangeCallback(CPDFPageView.CropRectChangedCallback cropRectChangedCallback)
public void setCropStatusChangCallback(CPDFPageView.CropStatusChangCallback cropStatusChangCallback)
public boolean exitImageAreaCroping()
public void selectEditArea(CPDFPageView pageView, CPDFEditArea editArea)
public void endEdit()
public void cancelCursor()
public void onComposingText(java.lang.CharSequence text)
onComposingText
in interface CPDFEditPageRenderKeyboardInputListener
public void onTextInput(java.lang.CharSequence text, java.lang.CharSequence composeText)
onTextInput
in interface CPDFEditPageRenderKeyboardInputListener
public void onDelete()
onDelete
in interface CPDFEditPageRenderKeyboardInputListener
public void onSection()
onSection
in interface CPDFEditPageRenderKeyboardInputListener
public void onUp()
onUp
in interface CPDFEditPageRenderKeyboardInputListener
public void onDown()
onDown
in interface CPDFEditPageRenderKeyboardInputListener
public void onLeft()
onLeft
in interface CPDFEditPageRenderKeyboardInputListener
public void onRight()
onRight
in interface CPDFEditPageRenderKeyboardInputListener
public void keyboardHeightChanged(int height, int keyboard_y_top)
public void hideKeyboard(android.view.View view)
public void showKeyboard(android.view.View view)
public void dismissContextMenu()