< prev index next >

core/JemmyCore/src/org/jemmy/image/ImageCapturer.java

Print this page




  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package org.jemmy.image;
  27 
  28 import org.jemmy.Rectangle;
  29 import org.jemmy.control.Wrap;
  30 
  31 /**
  32  *
  33  * @author mrkam
  34  */
  35 public interface ImageCapturer {
  36 
  37     /**
  38      * Obtains a screen image for the control.
  39      * @param control
  40      * @param rect a control area to be captured
  41      * @return
  42      */
  43     Image capture(Wrap<?> control, Rectangle rect);
  44 
  45 }


  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package org.jemmy.image;
  27 
  28 import org.jemmy.Rectangle;
  29 import org.jemmy.control.Wrap;
  30 
  31 /**
  32  *
  33  * @author mrkam
  34  */
  35 public interface ImageCapturer {
  36 
  37     /**
  38      * Obtains a screen image for the control.
  39      * @param control todo document
  40      * @param rect a control area to be captured
  41      * @return todo document
  42      */
  43     Image capture(Wrap<?> control, Rectangle rect);
  44 
  45 }
< prev index next >