Inheritance
System.Object
QuickMenu
Implements
Android.Views.IMenuItemOnMenuItemClickListener
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Android.Views.View.IOnClickListener
Assembly: PDFViewCtrlTools.dll
public class QuickMenu : RelativeLayout
Constructors
Declaration
public QuickMenu(PDFViewCtrl parent)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
parent |
|
Declaration
public QuickMenu(PDFViewCtrl parent, RectF anchor)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
parent |
|
Android.Graphics.RectF |
anchor |
|
Declaration
public QuickMenu(PDFViewCtrl parent, RectF anchor, IList<QuickMenuItem> menu_titles)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
parent |
|
Android.Graphics.RectF |
anchor |
|
System.Collections.Generic.IList<QuickMenuItem> |
menu_titles |
|
Declaration
public QuickMenu(PDFViewCtrl parent, RectF anchor, IList<QuickMenuItem> menu_titles, int maxRowSize)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
parent |
|
Android.Graphics.RectF |
anchor |
|
System.Collections.Generic.IList<QuickMenuItem> |
menu_titles |
|
System.Int32 |
maxRowSize |
|
Declaration
public QuickMenu(PDFViewCtrl parent, ToolManager.IToolModeBase toolMode)
Parameters
Declaration
public QuickMenu(PDFViewCtrl parent, bool annotationPermission)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
parent |
|
System.Boolean |
annotationPermission |
|
Declaration
public QuickMenu(PDFViewCtrl parent, bool annotationPermission, ToolManager.IToolModeBase toolMode)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
parent |
|
System.Boolean |
annotationPermission |
|
ToolManager.IToolModeBase |
toolMode |
|
Declaration
protected QuickMenu(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
Declaration
public virtual Annot Annot { get; set; }
Property Value
Type |
Description |
pdftronprivate.PDF.Annot |
|
Declaration
public virtual AppCompatImageButton BackButton { get; }
Property Value
Type |
Description |
AndroidX.AppCompat.Widget.AppCompatImageButton |
|
Declaration
public virtual IList<QuickMenuItem> FirstRowMenuItems { get; }
Property Value
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 |
|
Declaration
protected View MAnchor { get; set; }
Property Value
Type |
Description |
Android.Views.View |
|
Declaration
protected Annot MAnnot { get; set; }
Property Value
Type |
Description |
pdftronprivate.PDF.Annot |
|
Declaration
protected View MBgView { get; set; }
Property Value
Type |
Description |
Android.Views.View |
|
Declaration
public virtual IMenu Menu { get; }
Property Value
Type |
Description |
Android.Views.IMenu |
|
Declaration
public virtual View MenuBackground { get; }
Property Value
Type |
Description |
Android.Views.View |
|
Declaration
public virtual MenuInflater MenuInflater { get; }
Property Value
Type |
Description |
Android.Views.MenuInflater |
|
Declaration
protected Animation MFadeInAnim { get; set; }
Property Value
Type |
Description |
Android.Views.Animations.Animation |
|
Declaration
protected IList MFirstMenuItems { get; set; }
Property Value
Type |
Description |
System.Collections.IList |
|
MMain2OverflowAnim
Declaration
protected ScaleAnimation MMain2OverflowAnim { get; set; }
Property Value
Type |
Description |
Android.Views.Animations.ScaleAnimation |
|
MMainLayout
Declaration
protected LinearLayout MMainLayout { get; set; }
Property Value
Type |
Description |
Android.Widget.LinearLayout |
|
Declaration
protected RelativeLayout MMenuView { get; set; }
Property Value
Type |
Description |
Android.Widget.RelativeLayout |
|
MOverflow2MainAnim
Declaration
protected ScaleAnimation MOverflow2MainAnim { get; set; }
Property Value
Type |
Description |
Android.Views.Animations.ScaleAnimation |
|
Declaration
protected LinearLayout MOverflowLayout { get; set; }
Property Value
Type |
Description |
Android.Widget.LinearLayout |
|
Declaration
protected ScrollView MOverflowLayoutRoot { get; set; }
Property Value
Type |
Description |
Android.Widget.ScrollView |
|
Declaration
protected IList MOverflowMenuItems { get; set; }
Property Value
Type |
Description |
System.Collections.IList |
|
Declaration
protected PDFViewCtrl MParentView { get; set; }
Property Value
Type |
Description |
pdftronprivate.PDF.PDFViewCtrl |
|
Declaration
protected IList MSecondMenuItems { get; set; }
Property Value
Type |
Description |
System.Collections.IList |
|
Declaration
protected ToolManager MToolManager { get; set; }
Property Value
Declaration
public virtual IList<QuickMenuItem> OverflowMenuItems { get; }
Property Value
Declaration
public virtual IList<QuickMenuItem> SecondRowMenuItems { get; }
Property Value
Declaration
public virtual QuickMenuItem SelectedMenuItem { get; }
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 |
|
Methods
Declaration
protected void AddMenuButtons(IList<QuickMenuItem> menuItems, ViewGroup rowView)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<QuickMenuItem> |
menuItems |
|
Android.Views.ViewGroup |
rowView |
|
Declaration
public virtual void AddMenuEntries(IList<QuickMenuItem> menuEntries)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<QuickMenuItem> |
menuEntries |
|
Declaration
public virtual void AddMenuEntries(IList<QuickMenuItem> menuEntries, int maxRowSize)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<QuickMenuItem> |
menuEntries |
|
System.Int32 |
maxRowSize |
|
Declaration
public virtual void AddMenuEntries(int maxRowSize)
Parameters
Type |
Name |
Description |
System.Int32 |
maxRowSize |
|
Declaration
public virtual void Dismiss()
Declaration
public virtual QuickMenuItem FindMenuItem(int itemId)
Parameters
Type |
Name |
Description |
System.Int32 |
itemId |
|
Returns
Declaration
public virtual void HideOverflowAnim()
Declaration
public virtual void Inflate(int menuRes)
Parameters
Type |
Name |
Description |
System.Int32 |
menuRes |
|
Declaration
protected virtual void InitAnimation()
Declaration
protected virtual void InitBackground()
InitMainMenuView()
Declaration
protected virtual void InitMainMenuView()
Declaration
public virtual void InitMenuEntries()
Declaration
public virtual void InitMenuEntries(int menuRes)
Parameters
Type |
Name |
Description |
System.Int32 |
menuRes |
|
Declaration
public virtual void InitMenuEntries(int menuRes, int maxRowSize)
Parameters
Type |
Name |
Description |
System.Int32 |
menuRes |
|
System.Int32 |
maxRowSize |
|
Declaration
protected virtual void InitMenuView()
Declaration
protected virtual void InitOverflowMenuView()
Declaration
protected virtual void InitView()
Declaration
protected virtual void MeasureLayoutSize()
Declaration
public virtual void OnClick(View v)
Parameters
Type |
Name |
Description |
Android.Views.View |
v |
|
Declaration
public virtual bool OnMenuItemClick(IMenuItem item)
Parameters
Type |
Name |
Description |
Android.Views.IMenuItem |
item |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool RemoveMenuEntries(IList<QuickMenuItem> menuEntries)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<QuickMenuItem> |
menuEntries |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual void RequestLocation()
Declaration
public virtual void SetAnchor(View anchor)
Parameters
Type |
Name |
Description |
Android.Views.View |
anchor |
|
Declaration
public virtual void SetAnchorRect(RectF anchor_rect)
Parameters
Type |
Name |
Description |
Android.Graphics.RectF |
anchor_rect |
|
Declaration
public virtual void SetDividerVisibility(int visibility)
Parameters
Type |
Name |
Description |
System.Int32 |
visibility |
|
Declaration
public virtual void SetOnDismissListener(QuickMenu.IOnDismissListener listener)
Parameters
Declaration
public virtual void SetPointerIconClickable()
Declaration
public virtual void Show()
Declaration
public virtual void Show(int quickMenuType)
Parameters
Type |
Name |
Description |
System.Int32 |
quickMenuType |
|
Declaration
public virtual void ShowOverflowAnim()
Events
Declaration
public event EventHandler DismissEvent
Event Type
Type |
Description |
System.EventHandler |
|
Implements
Android.Views.IMenuItemOnMenuItemClickListener
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Android.Views.View.IOnClickListener