Package system.windows.interop
Class HwndSource
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.PresentationSource
-
- system.windows.interop.HwndSource
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class HwndSource extends PresentationSource implements java.lang.AutoCloseable
The base .NET class managing System.Windows.Interop.HwndSource, PresentationCore, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Interop.HwndSource
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=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationCorestatic java.lang.StringclassNameQualified class name: System.Windows.Interop.HwndSourcestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HwndSource()HwndSource(java.lang.Object instance)Internal constructor.HwndSource(HwndSourceParameters parameters)
-
Method Summary
-
Methods inherited from class system.windows.PresentationSource
addContentRendered, AddSourceChangedHandler, FromDependencyObject, FromVisual, getCompositionTarget, getCurrentSources, getIsDisposed, getRootVisual, removeContentRendered, RemoveSourceChangedHandler, setRootVisual
-
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=8.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.Interop.HwndSource- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HwndSource
public HwndSource(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
HwndSource
public HwndSource() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
HwndSource
public HwndSource(HwndSourceParameters parameters) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotImplementedException, ObjectDisposedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OverflowException, AccessViolationException, KeyNotFoundException, ThreadStateException, SecurityException, IOException
- Throws:
java.lang.ThrowableArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionNotImplementedExceptionObjectDisposedExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionOverflowExceptionAccessViolationExceptionKeyNotFoundExceptionThreadStateExceptionSecurityExceptionIOException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classPresentationSource- 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 classPresentationSource- 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 classPresentationSource- 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 classPresentationSource- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classPresentationSource
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classPresentationSource- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static HwndSource cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHwndSource, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HwndSourceinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CreateHandleRef
public HandleRef CreateHandleRef() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Dispose
public void Dispose() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, Win32Exception, ArgumentNullException, InvalidEnumArgumentException, ArgumentOutOfRangeException, MulticastNotSupportedException, IndexOutOfRangeException, NotImplementedException, ThreadStateException, SystemException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionObjectDisposedExceptionWin32ExceptionArgumentNullExceptionInvalidEnumArgumentExceptionArgumentOutOfRangeExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionNotImplementedExceptionThreadStateExceptionSystemException
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
getAcquireHwndFocusInMenuMode
public boolean getAcquireHwndFocusInMenuMode() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDefaultAcquireHwndFocusInMenuMode
public static boolean getDefaultAcquireHwndFocusInMenuMode() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
setDefaultAcquireHwndFocusInMenuMode
public static void setDefaultAcquireHwndFocusInMenuMode(boolean DefaultAcquireHwndFocusInMenuMode) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUsesPerPixelOpacity
public boolean getUsesPerPixelOpacity() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getRestoreFocusMode
public RestoreFocusMode getRestoreFocusMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCompositionTargetNewHwndSource
public HwndTarget getCompositionTargetNewHwndSource() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSizeToContent
public SizeToContent getSizeToContent() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
setSizeToContent
public void setSizeToContent(SizeToContent SizeToContent) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidEnumArgumentException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, Win32Exception, NotSupportedException, MulticastNotSupportedException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionWin32ExceptionNotSupportedExceptionMulticastNotSupportedExceptionNotImplementedException
-
addDisposed
public void addDisposed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDisposed
public void removeDisposed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSizeToContentChanged
public void addSizeToContentChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSizeToContentChanged
public void removeSizeToContentChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addAutoResized
public void addAutoResized(AutoResizedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeAutoResized
public void removeAutoResized(AutoResizedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDpiChanged
public void addDpiChanged(HwndDpiChangedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDpiChanged
public void removeDpiChanged(HwndDpiChangedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-