|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.win32.ui.WindowTools
public class WindowTools
This class contains utility functions for accessing native windowing system data. Functions use JAWT or internal implementation (sun.*) classes as appropriate.
Method Summary | |
---|---|
static java.awt.Component |
getComponentFromHandle(int handle)
Retrurns an AWT component that corresponds to a given native handle. |
static long |
getWindowHandle(java.awt.Component component)
Returns a native window handle of the given component. |
static long |
getWindowHandle(java.awt.Component component,
boolean runInCurrentThread)
Returns a native window handle of the given component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static long getWindowHandle(java.awt.Component component, boolean runInCurrentThread)
component
- the component to get the native window handle for.
public static long getWindowHandle(java.awt.Component component)
component
- the component to get the native window handle for.
public static java.awt.Component getComponentFromHandle(int handle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |