public interface IWindow extends IGraphical, ITopWindow
INPUTCHARS_METHOD, INPUTKEYS_METHOD
Modifier and Type | Method and Description |
---|---|
IWindow[] |
getChildren()
Returns an array of the children of this window.
|
long |
getHandle()
Returns the native window handle for the object.
|
int |
getId()
Returns the control ID (on Microsoft Windows) for the window.
|
IWindow[] |
getOwned()
Returns an array of the windows owned by this window.
|
IWindow |
getOwner()
Returns the owner of this window.
|
IWindow |
getParent()
Returns the parent of this window.
|
int |
getPid()
Returns the process ID for the window.
|
java.lang.String |
getText()
Returns the text for the window.
|
IWindow |
getTopParent()
Returns the topmost parent of this window.
|
java.lang.String |
getWindowClassName()
Returns the window class name for the window.
|
boolean |
isTopLevel()
Returns a flag to check whether the window is toplevel or not.
|
activate, clickDisabled, inputChars, inputKeys
close, contextHelp, isIconified, maximize, minimize, move, resize, restore
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint
IWindow[] getChildren()
IWindow getParent()
null
if no child object is
foundIWindow getTopParent()
IWindow getOwner()
null
is returned.IWindow[] getOwned()
boolean isTopLevel()
true
if this window is a top window
(that is, not a child of any window). Returns false
if this window has a parent.long getHandle()
java.lang.String getText()
java.lang.String getWindowClassName()
int getPid() throws NotSupportedOnUnixException
NotSupportedOnUnixException
int getId()