Class BaseToolbar
Inheritance
System.Object
BaseToolbar
Assembly: PDFViewCtrlTools.dll
public abstract class BaseToolbar : InsectHandlerToolbar
Constructors
BaseToolbar(Context)
Declaration
public BaseToolbar(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
BaseToolbar(Context, IAttributeSet)
Declaration
public BaseToolbar(Context context, IAttributeSet attrs)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attrs |
|
BaseToolbar(Context, IAttributeSet, Int32)
Declaration
public BaseToolbar(Context context, IAttributeSet attrs, int defStyleAttr)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attrs |
|
System.Int32 |
defStyleAttr |
|
BaseToolbar(Context, IAttributeSet, Int32, Int32)
Declaration
public BaseToolbar(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 BaseToolbar(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
Declaration
protected virtual View.IOnClickListener ButtonsClickListener { get; }
Property Value
Type |
Description |
Android.Views.View.IOnClickListener |
|
Declaration
public virtual bool IsShowing { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Overrides
Declaration
protected IList MButtons { get; set; }
Property Value
Type |
Description |
System.Collections.IList |
|
Declaration
protected bool MButtonStayDown { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected bool MEventAction { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected int MSelectedButtonId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected int MSelectedToolId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected int MToolbarBackgroundColor { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected int MToolbarCloseIconColor { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected int MToolbarToolBackgroundColor { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected int MToolbarToolIconColor { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected ToolManager MToolManager { get; set; }
Property Value
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
GetNormalBitmapDrawable(Context, Int32, Int32, Int32, Boolean)
Declaration
protected virtual Drawable GetNormalBitmapDrawable(Context context, int width, int height, int color, bool expanded)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
width |
|
System.Int32 |
height |
|
System.Int32 |
color |
|
System.Boolean |
expanded |
|
Returns
Type |
Description |
Android.Graphics.Drawables.Drawable |
|
GetSpinnerBitmapDrawable(Context, Int32, Int32, Int32, Boolean)
Declaration
protected virtual Drawable GetSpinnerBitmapDrawable(Context context, int width, int height, int color, bool expanded)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
width |
|
System.Int32 |
height |
|
System.Int32 |
color |
|
System.Boolean |
expanded |
|
Returns
Type |
Description |
Android.Graphics.Drawables.Drawable |
|
Declaration
protected virtual void InitializeButtons()
Declaration
protected virtual void SafeAddButtons(int viewId)
Parameters
Type |
Name |
Description |
System.Int32 |
viewId |
|
Declaration
protected virtual void SelectButton(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Declaration
public abstract void SelectTool(View view, int id)
Parameters
Type |
Name |
Description |
Android.Views.View |
view |
|
System.Int32 |
id |
|
SetViewDrawable(Context, Int32, Boolean, Int32, Drawable, Drawable, Int32)
Declaration
protected virtual void SetViewDrawable(Context context, int id, bool spinner, int resId, Drawable spinnerBitmapDrawable, Drawable normalBitmapDrawable, int iconColor)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
id |
|
System.Boolean |
spinner |
|
System.Int32 |
resId |
|
Android.Graphics.Drawables.Drawable |
spinnerBitmapDrawable |
|
Android.Graphics.Drawables.Drawable |
normalBitmapDrawable |
|
System.Int32 |
iconColor |
|