public class CommandBinding extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Input.CommandBinding
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: PresentationCore, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Input.CommandBinding
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CommandBinding() |
CommandBinding(ICommand command) |
CommandBinding(ICommand command,
ExecutedRoutedEventHandler executed) |
CommandBinding(ICommand command,
ExecutedRoutedEventHandler executed,
CanExecuteRoutedEventHandler canExecute) |
CommandBinding(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CommandBinding()
throws java.lang.Throwable
java.lang.Throwablepublic CommandBinding(ICommand command) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, MulticastNotSupportedException, PlatformNotSupportedException, NullReferenceException
public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, MulticastNotSupportedException, PlatformNotSupportedException, NullReferenceException
public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed, CanExecuteRoutedEventHandler canExecute) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MulticastNotSupportedException, NullReferenceException
public CommandBinding(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addCanExecute(CanExecuteRoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addExecuted(ExecutedRoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addPreviewCanExecute(CanExecuteRoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addPreviewExecuted(ExecutedRoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static CommandBinding cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CommandBinding, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCommandBinding instancejava.lang.Throwable - in case of error during cast operationpublic ICommand getCommand() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic void removeCanExecute(CanExecuteRoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeExecuted(ExecutedRoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removePreviewCanExecute(CanExecuteRoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removePreviewExecuted(ExecutedRoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setCommand(ICommand Command) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject