public class HwndSource extends PresentationSource implements java.lang.AutoCloseable
.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
| 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.Interop.HwndSource
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HwndSource() |
HwndSource(HwndSourceParameters parameters) |
HwndSource(java.lang.Object instance)
Internal constructor.
|
addContentRendered, AddSourceChangedHandler, FromDependencyObject, FromVisual, getCompositionTarget, getCurrentSources, getIsDisposed, getRootVisual, removeContentRendered, RemoveSourceChangedHandler, setRootVisualCheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HwndSource()
throws java.lang.Throwable
java.lang.Throwablepublic HwndSource(HwndSourceParameters parameters) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, NotImplementedException, ObjectDisposedException, MissingMethodException, TargetInvocationException, OverflowException, AccessViolationException, KeyNotFoundException, ThreadStateException, SecurityException, IOException
java.lang.ThrowableArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionNotSupportedExceptionNotImplementedExceptionObjectDisposedExceptionMissingMethodExceptionTargetInvocationExceptionOverflowExceptionAccessViolationExceptionKeyNotFoundExceptionThreadStateExceptionSecurityExceptionIOExceptionpublic HwndSource(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addAutoResized(AutoResizedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDisposed(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDpiChanged(HwndDpiChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addSizeToContentChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static HwndSource cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HwndSource, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHwndSource instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic HandleRef CreateHandleRef() throws java.lang.Throwable
java.lang.Throwablepublic void Dispose()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
ObjectDisposedException,
Win32Exception,
InvalidEnumArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
MulticastNotSupportedException,
IndexOutOfRangeException,
NotImplementedException,
ThreadStateException,
SystemException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionObjectDisposedExceptionWin32ExceptionInvalidEnumArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionNotImplementedExceptionThreadStateExceptionSystemExceptionpublic boolean getAcquireHwndFocusInMenuMode()
throws java.lang.Throwable
java.lang.Throwablepublic HwndTarget getCompositionTargetNewHwndSource() throws java.lang.Throwable
java.lang.Throwablepublic static boolean getDefaultAcquireHwndFocusInMenuMode()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class PresentationSourceString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class PresentationSourceString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class PresentationSourceObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class PresentationSourceString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class PresentationSourceJCType representing the CLR Type of the instantiated Classpublic RestoreFocusMode getRestoreFocusMode() throws java.lang.Throwable
java.lang.Throwablepublic SizeToContent getSizeToContent() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
public boolean getUsesPerPixelOpacity()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException
public void removeAutoResized(AutoResizedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDisposed(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDpiChanged(HwndDpiChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeSizeToContentChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static void setDefaultAcquireHwndFocusInMenuMode(boolean DefaultAcquireHwndFocusInMenuMode)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class PresentationSourcepublic void setSizeToContent(SizeToContent SizeToContent) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, InvalidEnumArgumentException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, Win32Exception, MulticastNotSupportedException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionWin32ExceptionMulticastNotSupportedExceptionNotImplementedException