Table of Contents

Class Menu

Namespace
Java.Awt
Assembly
MASES.JNet.dll
public class Menu : MenuItem, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
Menu
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Menu()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Menu()

Menu(String)

public Menu(String arg0)

Parameters

arg0 String

String

Exceptions

HeadlessException

Menu(String, bool)

public Menu(String arg0, bool arg1)

Parameters

arg0 String

String

arg1 bool

bool

Exceptions

HeadlessException

Menu(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Menu(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

ItemCount

public int ItemCount { get; }

Property Value

int

Methods

Add(MenuItem)

public MenuItem Add(MenuItem arg0)

Parameters

arg0 MenuItem

MenuItem

Returns

MenuItem

MenuItem

Add(String)

public void Add(String arg0)

Parameters

arg0 String

String

AddSeparator()

public void AddSeparator()

GetItem(int)

public MenuItem GetItem(int arg0)

Parameters

arg0 int

int

Returns

MenuItem

MenuItem

Insert(MenuItem, int)

public void Insert(MenuItem arg0, int arg1)

Parameters

arg0 MenuItem

MenuItem

arg1 int

int

Insert(String, int)

public void Insert(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

InsertSeparator(int)

public void InsertSeparator(int arg0)

Parameters

arg0 int

int

IsTearOff()

public bool IsTearOff()

Returns

bool

bool

Remove(MenuComponent)

public void Remove(MenuComponent arg0)

Parameters

arg0 MenuComponent

MenuComponent

Remove(int)

public void Remove(int arg0)

Parameters

arg0 int

int

RemoveAll()

public void RemoveAll()

Operators

implicit operator MenuContainer(Menu)

Converter from Menu to MenuContainer

public static implicit operator MenuContainer(Menu t)

Parameters

t Menu

Returns

MenuContainer