Class MenuBar
public class MenuBar : MenuComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>MenuBar
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Serializable>.IsAssignableFrom<T>()JVMBridgeBase<Serializable>.Execute<T>(params T[])JVMBridgeBase<Serializable>.DynBridgeClazzJVMBridgeBase<Serializable>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
MenuBar()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public MenuBar()
MenuBar(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 MenuBar(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
HelpMenu
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/MenuBar.html#getHelpMenu() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/MenuBar.html#setHelpMenu(java.awt.Menu)
public Menu HelpMenu { get; set; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MenuCount
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/MenuBar.html#getMenuCount()
public int MenuCount { get; }
Property Value
Methods
Add(Menu)
public Menu Add(Menu arg0)
Parameters
Returns
AddNotify()
public void AddNotify()
DeleteShortcut(MenuShortcut)
public void DeleteShortcut(MenuShortcut arg0)
Parameters
arg0
MenuShortcut
GetMenu(int)
public Menu GetMenu(int arg0)
Parameters
Returns
GetShortcutMenuItem(MenuShortcut)
public MenuItem GetShortcutMenuItem(MenuShortcut arg0)
Parameters
arg0
MenuShortcut
Returns
Remove(MenuComponent)
public void Remove(MenuComponent arg0)
Parameters
Remove(int)
public void Remove(int arg0)
Parameters
Shortcuts()
public Enumeration<MenuShortcut> Shortcuts()
Returns
Operators
implicit operator MenuContainer(MenuBar)
Converter from MenuBar to MenuContainer
public static implicit operator MenuContainer(MenuBar t)
Parameters
t
MenuBar
Returns
implicit operator Accessible(MenuBar)
Converter from MenuBar to Accessible
public static implicit operator Accessible(MenuBar t)
Parameters
t
MenuBar