Package system.windows.input
Class InputLanguageManager
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.input.InputLanguageManager
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class InputLanguageManager extends DispatcherObject
The base .NET class managing System.Windows.Input.InputLanguageManager, PresentationCore, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Input.InputLanguageManager
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: PresentationCore, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationCorestatic java.lang.StringclassNameQualified class name: System.Windows.Input.InputLanguageManagerstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description InputLanguageManager()InputLanguageManager(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInputLanguageChanged(InputLanguageEventHandler handler)voidaddInputLanguageChanging(InputLanguageEventHandler handler)static InputLanguageManagercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoInputLanguageManager, a cast assert is made to check if types are compatible.IEnumerablegetAvailableInputLanguages()static InputLanguageManagergetCurrent()CultureInfogetCurrentInputLanguage()static CultureInfoGetInputLanguage(DependencyObject target)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class Typestatic booleanGetRestoreInputLanguage(DependencyObject target)voidRegisterInputLanguageSource(IInputLanguageSource inputLanguageSource)voidremoveInputLanguageChanged(InputLanguageEventHandler handler)voidremoveInputLanguageChanging(InputLanguageEventHandler handler)voidReportInputLanguageChanged(CultureInfo newLanguageId, CultureInfo previousLanguageId)booleanReportInputLanguageChanging(CultureInfo newLanguageId, CultureInfo previousLanguageId)voidsetCurrentInputLanguage(CultureInfo CurrentInputLanguage)static voidSetInputLanguage(DependencyObject target, CultureInfo inputLanguage)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)static voidSetRestoreInputLanguage(DependencyObject target, boolean restore)-
Methods inherited from class system.windows.threading.DispatcherObject
CheckAccess, getDispatcher, VerifyAccess
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationCore, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationCore- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Input.InputLanguageManager- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDispatcherObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classDispatcherObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classDispatcherObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classDispatcherObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classDispatcherObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDispatcherObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static InputLanguageManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoInputLanguageManager, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
InputLanguageManagerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetRestoreInputLanguage
public static boolean GetRestoreInputLanguage(DependencyObject target) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
-
ReportInputLanguageChanging
public boolean ReportInputLanguageChanging(CultureInfo newLanguageId, CultureInfo previousLanguageId) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
GetInputLanguage
public static CultureInfo GetInputLanguage(DependencyObject target) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
-
RegisterInputLanguageSource
public void RegisterInputLanguageSource(IInputLanguageSource inputLanguageSource) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, Win32Exception
-
ReportInputLanguageChanged
public void ReportInputLanguageChanged(CultureInfo newLanguageId, CultureInfo previousLanguageId) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
SetInputLanguage
public static void SetInputLanguage(DependencyObject target, CultureInfo inputLanguage) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException
-
SetRestoreInputLanguage
public static void SetRestoreInputLanguage(DependencyObject target, boolean restore) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException
-
getAvailableInputLanguages
public IEnumerable getAvailableInputLanguages() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCurrentInputLanguage
public CultureInfo getCurrentInputLanguage() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, CultureNotFoundException, OutOfMemoryException
-
setCurrentInputLanguage
public void setCurrentInputLanguage(CultureInfo CurrentInputLanguage) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getCurrent
public static InputLanguageManager getCurrent() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionRankExceptionIndexOutOfRangeExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidCastExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionNotSupportedException
-
addInputLanguageChanged
public void addInputLanguageChanged(InputLanguageEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeInputLanguageChanged
public void removeInputLanguageChanged(InputLanguageEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addInputLanguageChanging
public void addInputLanguageChanging(InputLanguageEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeInputLanguageChanging
public void removeInputLanguageChanging(InputLanguageEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-