Class EditToolbarImpl
Inheritance
System.Object
EditToolbarImpl
Implements
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Assembly: PDFViewCtrlTools.dll
public class EditToolbarImpl : Object, IOnToolSelectedListener, IOnToolbarStateUpdateListener
Constructors
Declaration
public EditToolbarImpl(FragmentActivity activity, EditToolbar editToolbar, ToolManager toolManager, ToolManager.ToolMode toolMode, Annot editAnnot, int pageNumber, bool shouldExpand)
Parameters
Type |
Name |
Description |
AndroidX.Fragment.App.FragmentActivity |
activity |
|
EditToolbar |
editToolbar |
|
ToolManager |
toolManager |
|
ToolManager.ToolMode |
toolMode |
|
pdftronprivate.PDF.Annot |
editAnnot |
|
System.Int32 |
pageNumber |
|
System.Boolean |
shouldExpand |
|
Declaration
protected EditToolbarImpl(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
Declaration
public virtual bool IsToolbarShown { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Declaration
protected ToolManager MToolManager { get; set; }
Property Value
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Declaration
public virtual ToolManager.ToolMode ToolMode { get; }
Property Value
Methods
Declaration
public virtual bool CanRedo()
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool CanUndo()
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual void Close()
Declaration
public virtual bool HandleKeyUp(int keyCode, KeyEvent e)
Parameters
Type |
Name |
Description |
System.Int32 |
keyCode |
|
Android.Views.KeyEvent |
e |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected virtual void InitTool(ToolManager.ToolMode toolMode)
Parameters
Declaration
public virtual void OnClearSelected()
Declaration
public virtual void OnCloseSelected()
Declaration
public virtual void OnDrawSelected(int drawIndex, bool wasSelectedBefore, View anchor)
Parameters
Type |
Name |
Description |
System.Int32 |
drawIndex |
|
System.Boolean |
wasSelectedBefore |
|
Android.Views.View |
anchor |
|
Declaration
public virtual void OnEraserSelected(bool wasSelectedBefore, View anchor)
Parameters
Type |
Name |
Description |
System.Boolean |
wasSelectedBefore |
|
Android.Views.View |
anchor |
|
Declaration
public virtual void OnOrientationChanged()
Declaration
public virtual void OnRedoSelected()
Declaration
public virtual void OnToolbarStateUpdated()
Declaration
public virtual void OnUndoSelected()
Declaration
public virtual void SetOnEditToolbarListener(EditToolbarImpl.IOnEditToolbarListener listener)
Parameters
Declaration
public virtual void ShowToolbar()
Events
Declaration
public event EventHandler EditToolbar
Event Type
Type |
Description |
System.EventHandler |
|
Implements
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable