Package system.windows.interop
Class HwndTarget
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.media.CompositionTarget
-
- system.windows.interop.HwndTarget
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class HwndTarget extends CompositionTarget
The base .NET class managing System.Windows.Interop.HwndTarget, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Interop.HwndTarget
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=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationCorestatic java.lang.StringclassNameQualified class name: System.Windows.Interop.HwndTargetstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HwndTarget()HwndTarget(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HwndTargetcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoHwndTarget, a cast assert is made to check if types are compatible.voidDispose()ColorgetBackgroundColor()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 objectJCTypegetJCOType()Returns the instantiated class TypeRenderModegetRenderMode()booleangetUsesPerPixelOpacity()voidsetBackgroundColor(Color BackgroundColor)voidsetJCOInstance(JCObject instance)voidsetRenderMode(RenderMode RenderMode)voidsetUsesPerPixelOpacity(boolean UsesPerPixelOpacity)-
Methods inherited from class system.windows.media.CompositionTarget
close, getRootVisual, getTransformFromDevice, getTransformToDevice, 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=4.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.HwndTarget- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classCompositionTarget- 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 classCompositionTarget- 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 classCompositionTarget- 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 classCompositionTarget- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classCompositionTarget
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classCompositionTarget- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static HwndTarget cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHwndTarget, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HwndTargetinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, OverflowException, IndexOutOfRangeException, ArgumentOutOfRangeException, Win32Exception, SecurityException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException- Overrides:
Disposein classCompositionTarget- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionWin32ExceptionSecurityExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastException
-
getUsesPerPixelOpacity
public boolean getUsesPerPixelOpacity() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
-
setUsesPerPixelOpacity
public void setUsesPerPixelOpacity(boolean UsesPerPixelOpacity) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, OverflowException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException, TimeoutException, SecurityException, RankException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionOutOfMemoryExceptionTimeoutExceptionSecurityExceptionRankExceptionMulticastNotSupportedException
-
getRenderMode
public RenderMode getRenderMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRenderMode
public void setRenderMode(RenderMode RenderMode) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OverflowException, Win32Exception, OutOfMemoryException, TimeoutException, SecurityException, RankException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionOverflowExceptionWin32ExceptionOutOfMemoryExceptionTimeoutExceptionSecurityExceptionRankExceptionMulticastNotSupportedException
-
getBackgroundColor
public Color getBackgroundColor() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
-
setBackgroundColor
public void setBackgroundColor(Color BackgroundColor) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, OverflowException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException, TimeoutException, SecurityException, RankException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionOutOfMemoryExceptionTimeoutExceptionSecurityExceptionRankExceptionMulticastNotSupportedException
-
-