public class IMenuCommandServiceImplementation extends NetObject implements IMenuCommandService
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ComponentModel.Design.IMenuCommandService
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.ComponentModel.TypeConverter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.TypeConverter
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.Design.IMenuCommandService
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IMenuCommandServiceImplementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddCommand(MenuCommand command)
Invokes the .NET member AddCommand.
|
void |
AddVerb(DesignerVerb verb)
Invokes the .NET member AddVerb.
|
MenuCommand |
FindCommand(CommandID commandID)
Invokes the .NET member FindCommand.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
DesignerVerbCollection |
getVerbs()
Gets the value of the .NET property Verbs.
|
boolean |
GlobalInvoke(CommandID commandID)
Invokes the .NET member GlobalInvoke.
|
void |
RemoveCommand(MenuCommand command)
Invokes the .NET member RemoveCommand.
|
void |
RemoveVerb(DesignerVerb verb)
Invokes the .NET member RemoveVerb.
|
void |
ShowContextMenu(CommandID menuID,
int x,
int y)
Invokes the .NET member ShowContextMenu.
|
static IMenuCommandService |
ToIMenuCommandService(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IMenuCommandService, a cast assert is made to check if types are compatible. |
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public IMenuCommandServiceImplementation(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void AddCommand(MenuCommand command) throws java.lang.Throwable
AddCommand in interface IMenuCommandServicecommand - the argument of type MenuCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void AddVerb(DesignerVerb verb) throws java.lang.Throwable
AddVerb in interface IMenuCommandServiceverb - the argument of type DesignerVerbjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic MenuCommand FindCommand(CommandID commandID) throws java.lang.Throwable
FindCommand in interface IMenuCommandServicecommandID - the argument of type CommandIDjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IMenuCommandServicegetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IMenuCommandServicegetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IMenuCommandServicegetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IMenuCommandServicegetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in interface IMenuCommandServicegetJCOType in class NetObjectpublic DesignerVerbCollection getVerbs() throws java.lang.Throwable
getVerbs in interface IMenuCommandServicejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean GlobalInvoke(CommandID commandID) throws java.lang.Throwable
GlobalInvoke in interface IMenuCommandServicecommandID - the argument of type CommandIDjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RemoveCommand(MenuCommand command) throws java.lang.Throwable
RemoveCommand in interface IMenuCommandServicecommand - the argument of type MenuCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RemoveVerb(DesignerVerb verb) throws java.lang.Throwable
RemoveVerb in interface IMenuCommandServiceverb - the argument of type DesignerVerbjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ShowContextMenu(CommandID menuID, int x, int y) throws java.lang.Throwable
ShowContextMenu in interface IMenuCommandServicemenuID - the argument of type CommandIDx - the argument of type inty - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static IMenuCommandService ToIMenuCommandService(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IMenuCommandService, a cast assert is made to check if types are compatible.ToIMenuCommandService in interface IMenuCommandServicefrom - IJCOBridgeReflected instance to be castedIMenuCommandService instancejava.lang.Throwable - in case of error during cast operation