public class InputLanguageManager extends DispatcherObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Input.InputLanguageManager
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=9.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.InputLanguageManager
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
InputLanguageManager() |
InputLanguageManager(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addInputLanguageChanged(InputLanguageEventHandler handler)
Invokes the .NET member addInputLanguageChanged.
|
void |
addInputLanguageChanging(InputLanguageEventHandler handler)
Invokes the .NET member addInputLanguageChanging.
|
static InputLanguageManager |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into InputLanguageManager, a cast assert is made to check if types are compatible. |
IEnumerable |
getAvailableInputLanguages()
Gets the value of the .NET property AvailableInputLanguages.
|
static InputLanguageManager |
getCurrent()
Gets the value of the .NET property Current.
|
CultureInfo |
getCurrentInputLanguage()
Gets the value of the .NET property CurrentInputLanguage.
|
static CultureInfo |
GetInputLanguage(DependencyObject target)
Invokes the .NET member GetInputLanguage.
|
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. |
static boolean |
GetRestoreInputLanguage(DependencyObject target)
Invokes the .NET member GetRestoreInputLanguage.
|
void |
RegisterInputLanguageSource(IInputLanguageSource inputLanguageSource)
Invokes the .NET member RegisterInputLanguageSource.
|
void |
removeInputLanguageChanged(InputLanguageEventHandler handler)
Invokes the .NET member removeInputLanguageChanged.
|
void |
removeInputLanguageChanging(InputLanguageEventHandler handler)
Invokes the .NET member removeInputLanguageChanging.
|
void |
ReportInputLanguageChanged(CultureInfo newLanguageId,
CultureInfo previousLanguageId)
Invokes the .NET member ReportInputLanguageChanged.
|
boolean |
ReportInputLanguageChanging(CultureInfo newLanguageId,
CultureInfo previousLanguageId)
Invokes the .NET member ReportInputLanguageChanging.
|
void |
setCurrentInputLanguage(CultureInfo CurrentInputLanguage)
Sets the value of the .NET property CurrentInputLanguage.
|
static void |
SetInputLanguage(DependencyObject target,
CultureInfo inputLanguage)
Invokes the .NET member SetInputLanguage.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static void |
SetRestoreInputLanguage(DependencyObject target,
boolean restore)
Invokes the .NET member SetRestoreInputLanguage.
|
CheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public InputLanguageManager()
throws java.lang.Throwable
java.lang.Throwablepublic InputLanguageManager(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 addInputLanguageChanged(InputLanguageEventHandler handler) throws java.lang.Throwable
handler - the argument of type InputLanguageEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addInputLanguageChanging(InputLanguageEventHandler handler) throws java.lang.Throwable
handler - the argument of type InputLanguageEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static InputLanguageManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into InputLanguageManager, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedInputLanguageManager instancejava.lang.Throwable - in case of error during cast operationpublic IEnumerable getAvailableInputLanguages() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static InputLanguageManager getCurrent() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic CultureInfo getCurrentInputLanguage() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, CultureNotFoundException, OutOfMemoryException, ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static CultureInfo GetInputLanguage(DependencyObject target) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
target - the argument of type DependencyObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DispatcherObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DispatcherObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DispatcherObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DispatcherObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class DispatcherObjectpublic static boolean GetRestoreInputLanguage(DependencyObject target) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
target - the argument of type DependencyObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void RegisterInputLanguageSource(IInputLanguageSource inputLanguageSource) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception
inputLanguageSource - the argument of type IInputLanguageSourcejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void removeInputLanguageChanged(InputLanguageEventHandler handler) throws java.lang.Throwable
handler - the argument of type InputLanguageEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeInputLanguageChanging(InputLanguageEventHandler handler) throws java.lang.Throwable
handler - the argument of type InputLanguageEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ReportInputLanguageChanged(CultureInfo newLanguageId, CultureInfo previousLanguageId) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
newLanguageId - the argument of type CultureInfopreviousLanguageId - the argument of type CultureInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean ReportInputLanguageChanging(CultureInfo newLanguageId, CultureInfo previousLanguageId) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
newLanguageId - the argument of type CultureInfopreviousLanguageId - the argument of type CultureInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void setCurrentInputLanguage(CultureInfo CurrentInputLanguage) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
CurrentInputLanguage - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static void SetInputLanguage(DependencyObject target, CultureInfo inputLanguage) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException
target - the argument of type DependencyObjectinputLanguage - the argument of type CultureInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class DispatcherObjectinstance - the new underlying objectpublic static void SetRestoreInputLanguage(DependencyObject target, boolean restore) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException
target - the argument of type DependencyObjectrestore - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises it