Click or drag to resize

JCWindowsManager Methods

The JCWindowsManager type exposes the following members.

Methods
 NameDescription
Public methodDestroyWindow Invoked during destroy of WPF/WinForms container associated to Java AWT/Swing graphic object
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberGetAncestorhttps://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getancestor
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetLastErrorhttps://learn.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-getlasterror
Public methodStatic memberGetParenthttps://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getparent
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberGetWindowLongPtrhttps://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getwindowlongptra, https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getwindowlongptrw
Public methodStatic memberGetWindowRect Variant of https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getwindowrect
Public methodInitialize Invoked during initialization of WPF/WinForms container associated to Java AWT/Swing graphic object
Public methodMeasureOverride Returns the size of the window represented by the WPF/WinForms container associated to Java AWT/Swing graphic object, as requested by layout engine operations.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnBuildWindow Invoked during initialization of WPF/WinForms container associated to Java AWT/Swing graphic object if IsRemoteManaged is .

The standard operation done are:

- removes the styles WS_CAPTION, WS_THICKFRAME, WS_MINIMIZEBOX, WS_MAXIMIZEBOX and WS_SYSMENU

- set Java AWT/Swing window to be WS_CHILDWINDOW

- connects WPF/WinForms window and Java AWT/Swing window

Public methodOnWindowPositionChanged Invoked when a repaint of WPF/WinForms container associated to Java AWT/Swing graphic object occurs and Java AWT/Swing graphic object needs a resize
Public methodStatic memberSetParenthttps://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setparent
Public methodStatic memberSetWindowLongPtrhttps://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowlongptra, https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowlongptrw
Public methodStatic memberSetWindowPoshttps://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos
Public methodStatic memberShowWindowhttps://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-showwindow
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn Converts a generic object
(Defined by JCOBridgeExtensions)
Public Extension MethodToNative Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions)
Top
See Also