public class MainMenu extends Menu
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.MainMenu
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.MainMenu
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
MainMenu() |
MainMenu(IContainer container) |
MainMenu(MenuItem[] items) |
MainMenu(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCollapse(EventHandler handler) |
static MainMenu |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into MainMenu, a cast assert is made to check if types are compatible. |
MainMenu |
CloneMenu() |
Form |
GetForm() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
RightToLeft |
getRightToLeft() |
void |
removeCollapse(EventHandler handler) |
void |
setJCOInstance(JCObject instance) |
void |
setRightToLeft(RightToLeft RightToLeft) |
GetContextMenu, getIsParent, GetMainMenu, getMdiListItem, getName, getTag, MergeMenu, setName, setTagaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public MainMenu()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException
public MainMenu(IContainer container) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
public MainMenu(MenuItem[] items) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
public MainMenu(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addCollapse(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static MainMenu cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into MainMenu, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMainMenu instancejava.lang.Throwable - in case of error during cast operationpublic MainMenu CloneMenu() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
public Form GetForm() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MenuString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MenuString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MenuObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MenuString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class MenuJCType representing the CLR Type of the instantiated Classpublic RightToLeft getRightToLeft() throws java.lang.Throwable
java.lang.Throwablepublic void removeCollapse(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class Menupublic void setRightToLeft(RightToLeft RightToLeft) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentException