net.sourceforge.groboutils.uicapture.v1
Class DefaultFocusedWindowFinder

java.lang.Object
  extended bynet.sourceforge.groboutils.uicapture.v1.DefaultFocusedWindowFinder
All Implemented Interfaces:
IFocusedWindowFinder

public class DefaultFocusedWindowFinder
extends java.lang.Object
implements IFocusedWindowFinder

Default implementation, which always returns null.

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

Constructor Summary
DefaultFocusedWindowFinder()
          Default constructor.
 
Method Summary
 java.awt.Rectangle getFocusedWindowBounds()
          Find the current native UI focused window's bounds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFocusedWindowFinder

public DefaultFocusedWindowFinder()
Default constructor.

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.

Specified by:
getFocusedWindowBounds in interface IFocusedWindowFinder
Returns:
the focused window's bounds, or null if it cannot be found.


Copyright © 2001-2003 by The GroboUtils Project