net.sourceforge.groboutils.uicapture.v1
Interface IFocusedWindowFinder

All Known Implementing Classes:
DefaultFocusedWindowFinder

public interface IFocusedWindowFinder

This interface defines a class which can discover the screen position for the native UI's currently focused window. This will, in general, need to be a native function. If the class cannot determine the focused window, or there isn't a focused window, then the class should return null, in which case the framework should default to the screen size.

Version:
Jan 7, 2002
Author:
Matt Albrecht groboclown@users.sourceforge.net

Method Summary
 java.awt.Rectangle getFocusedWindowBounds()
          Find the current native UI focused window's bounds.
 

Method Detail

getFocusedWindowBounds

public java.awt.Rectangle getFocusedWindowBounds()
Find the current native UI focused window's bounds. If the class cannot determine the focused window, or there isn't a focused window, then the class should return null, in which case the framework should default to the screen size.

Returns:
the focused window's bounds, or null if it cannot be found.


Copyright © 2001-2003 by The GroboUtils Project