Class SingleButtonToolbar
Inheritance
System.Object
SingleButtonToolbar
Assembly: PDFViewCtrlTools.dll
public class SingleButtonToolbar : ActionToolbar
Constructors
SingleButtonToolbar(Context)
Declaration
public SingleButtonToolbar(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
SingleButtonToolbar(Context, IAttributeSet)
Declaration
public SingleButtonToolbar(Context context, IAttributeSet attrs)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attrs |
|
SingleButtonToolbar(Context, IAttributeSet, Int32)
Declaration
public SingleButtonToolbar(Context context, IAttributeSet attrs, int defStyleAttr)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attrs |
|
System.Int32 |
defStyleAttr |
|
SingleButtonToolbar(Context, PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition)
Declaration
public SingleButtonToolbar(Context context, PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition position)
Parameters
Declaration
protected SingleButtonToolbar(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Fields
Declaration
public const string BuilderTag = "PDFTron Commit Toolbar"
Field Value
Type |
Description |
System.String |
|
Properties
Declaration
public virtual IList<ToolbarItem> ButtonItems { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<ToolbarItem> |
|
Declaration
public virtual bool EditingAnnotation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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 void AddOnButtonClickListener(View.IOnClickListener clickListener)
Parameters
Type |
Name |
Description |
Android.Views.View.IOnClickListener |
clickListener |
|
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
public virtual void InflateDefaultEditToolbar(ToolManager.ToolMode toolMode)
Parameters
SetButtonText(String)
Declaration
public virtual void SetButtonText(string buttonText)
Parameters
Type |
Name |
Description |
System.String |
buttonText |
|
Declaration
public virtual void Setup(PDFViewCtrl pdfViewCtrl, IOnToolSelectedListener onToolSelectedListener, IList<AnnotStyle> drawStyles, bool b, bool hasEraseBtn, bool b1, bool shouldExpand, bool isStyleFixed)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
pdfViewCtrl |
|
IOnToolSelectedListener |
onToolSelectedListener |
|
System.Collections.Generic.IList<AnnotStyle> |
drawStyles |
|
System.Boolean |
b |
|
System.Boolean |
hasEraseBtn |
|
System.Boolean |
b1 |
|
System.Boolean |
shouldExpand |
|
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 drawIndex, int color)
Parameters
Type |
Name |
Description |
System.Int32 |
drawIndex |
|
System.Int32 |
color |
|
Declaration
public virtual void UpdateDrawStyles(IList<AnnotStyle> drawStyles)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<AnnotStyle> |
drawStyles |
|