Package com.randomnoun.common.jna
Class WindowTreeDom
- java.lang.Object
-
- com.randomnoun.common.jna.WindowTreeDom
-
public class WindowTreeDom extends Object
A class to convert the Win32 windows tree into a DOM object- Author:
- knoxg
- See Also:
- http://www.randomnoun.com/wp/2012/12/26/automating-windows-from-java-and-windowtreedom/
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
WindowTreeDom.User32
-
Constructor Summary
Constructors Constructor Description WindowTreeDom()
WindowTreeDom constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Document
getDom()
Generate an XML document from the Win32 window treecom.sun.jna.platform.win32.WinDef.HWND
getHwnd(Element windowEl)
Return the hwnd of an element, as a pointer represented as a long
-
-
-
Constructor Detail
-
WindowTreeDom
public WindowTreeDom()
WindowTreeDom constructor.- See Also:
getDom()
-
-
Method Detail
-
getDom
public Document getDom() throws ParserConfigurationException, TransformerException
Generate an XML document from the Win32 window tree
-
-