Class EditToolbar
Inheritance
System.Object
EditToolbar
Assembly: PDFViewCtrlTools.dll
public class EditToolbar : InsectHandlerToolbar
Constructors
EditToolbar(Context)
Declaration
public EditToolbar(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
EditToolbar(Context, IAttributeSet)
Declaration
public EditToolbar(Context context, IAttributeSet attrs)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attrs |
|
EditToolbar(Context, IAttributeSet, Int32)
Declaration
public EditToolbar(Context context, IAttributeSet attrs, int defStyleAttr)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attrs |
|
System.Int32 |
defStyleAttr |
|
EditToolbar(Context, IAttributeSet, Int32, Int32)
Declaration
public EditToolbar(Context context, IAttributeSet attrs, int defStyleAttr, int defStyleRes)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attrs |
|
System.Int32 |
defStyleAttr |
|
System.Int32 |
defStyleRes |
|
Declaration
protected EditToolbar(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Overrides
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Overrides
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
Methods
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 |
|
OnConfigurationChanged(Configuration)
Declaration
public virtual void OnConfigurationChanged(Configuration newConfig)
Parameters
Type |
Name |
Description |
Android.Content.Res.Configuration |
newConfig |
|
Declaration
public virtual void Setup(PDFViewCtrl pdfViewCtrl, IOnToolSelectedListener onToolSelectedListener, IList<AnnotStyle> drawStyles, bool hasClearButton, bool hasEraserButton, bool hasUndoRedoButtons, bool shouldExpanded, bool isStyleFixed)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
pdfViewCtrl |
|
IOnToolSelectedListener |
onToolSelectedListener |
|
System.Collections.Generic.IList<AnnotStyle> |
drawStyles |
|
System.Boolean |
hasClearButton |
|
System.Boolean |
hasEraserButton |
|
System.Boolean |
hasUndoRedoButtons |
|
System.Boolean |
shouldExpanded |
|
System.Boolean |
isStyleFixed |
|
Declaration
public virtual void Show()
Declaration
public virtual void UpdateControlButtons(bool canClear, bool canErase, bool canUndo, bool canRedo)
Parameters
Type |
Name |
Description |
System.Boolean |
canClear |
|
System.Boolean |
canErase |
|
System.Boolean |
canUndo |
|
System.Boolean |
canRedo |
|
Declaration
public virtual void UpdateDrawColor(int styleIndex, int color)
Parameters
Type |
Name |
Description |
System.Int32 |
styleIndex |
|
System.Int32 |
color |
|
Declaration
public virtual void UpdateDrawStyles(IList<AnnotStyle> drawStyles)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<AnnotStyle> |
drawStyles |
|