Class ShortcutHelper
Inheritance
System.Object
ShortcutHelper
Assembly: PDFViewCtrlTools.dll
public class ShortcutHelper : Object
Constructors
Declaration
Declaration
protected ShortcutHelper(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
Declaration
public static bool IsEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
Declaration
public static bool CanHandleShortcut(ToolManager toolManager, int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
ToolManager |
toolManager |
|
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static void Enable(bool enabled)
Parameters
Type |
Name |
Description |
System.Boolean |
enabled |
|
Declaration
public static DefaultToolbars.ButtonId GetButtonId(ToolManager toolManager, int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
ToolManager |
toolManager |
|
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Declaration
public static bool IsAddBookmark(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsArrowAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsCancelTool(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsCloseApp(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsCloseMenu(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsCloseTab(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsCommentAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsCommitDraw(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
IsCommitText(Int32, KeyEvent)
Declaration
public static bool IsCommitText(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsCopy(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsCut(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsDeleteAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsDrawAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsEraseInk(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsEraserAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsFind(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
IsGotoFirstPage(Int32, KeyEvent)
Declaration
public static bool IsGotoFirstPage(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
IsGotoLastPage(Int32, KeyEvent)
Declaration
public static bool IsGotoLastPage(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsGotoNextDoc(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsGotoNextSearch(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsGotoPreviousDoc(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsGotoPreviousSearch(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsHighlightAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsHyperlinkAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsImageAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
IsJumpPageBack(Int32, KeyEvent)
Declaration
public static bool IsJumpPageBack(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
IsJumpPageForward(Int32, KeyEvent)
Declaration
public static bool IsJumpPageForward(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsLineAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsLongPress(MotionEvent e)
Parameters
Type |
Name |
Description |
Android.Views.MotionEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsOpenDrawer(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsOvalAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
IsPageDown(Int32, KeyEvent)
Declaration
public static bool IsPageDown(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
IsPageUp(Int32, KeyEvent)
Declaration
public static bool IsPageUp(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsPaste(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsPrint(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsRectangleAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsRedo(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsResetZoom(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsRotateClockwise(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsRotateCounterClockwise(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsScroll(MotionEvent e)
Parameters
Type |
Name |
Description |
Android.Views.MotionEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsScrollToDown(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsScrollToLeft(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsScrollToRight(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsScrollToUp(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsSignatureAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsSquigglyAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsStartEdit(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsStrikethroughAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsSwitchForm(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsSwitchInk(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
IsTextboxAnnot(Int32, KeyEvent)
Declaration
public static bool IsTextboxAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
IsTextSelect(MotionEvent)
Declaration
public static bool IsTextSelect(MotionEvent e)
Parameters
Type |
Name |
Description |
Android.Views.MotionEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsUnderlineAnnot(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsUndo(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsZoomIn(MotionEvent e)
Parameters
Type |
Name |
Description |
Android.Views.MotionEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsZoomIn(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsZoomInOut(MotionEvent e)
Parameters
Type |
Name |
Description |
Android.Views.MotionEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsZoomOut(MotionEvent e)
Parameters
Type |
Name |
Description |
Android.Views.MotionEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsZoomOut(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|