|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectteamdev.jxcapture.Capture
The class defines the functions that allow capturing a specified UI element (like desktop, active window or specific region on the screen).
| Constructor Summary | |
Capture()
|
|
| Method Summary | |
static void |
captureDesktop(CaptureListener captureListener)
Allows making capture of the desktop. |
static void |
captureForegrowndWindow(CaptureListener captureListener)
Allows capturing a foreground window. |
static void |
captureObject(CaptureListener captureListener)
Allows capturing a specified region on the screen. |
static void |
captureObjectOnScreen(CaptureListener captureListener)
Allows capturing a specified region on the screen. |
static void |
captureRegion(CaptureListener captureListener)
Allows capturing a specified region on the screen. |
java.awt.image.BufferedImage |
createScreenCapture(java.awt.Rectangle screenRect)
Creates an image containing pixels read from the screen. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Capture()
| Method Detail |
public static void captureDesktop(CaptureListener captureListener)
CaptureSettings class.
The method uses the DesktopCapture operation.
public static void captureForegrowndWindow(CaptureListener captureListener)
CaptureSettings class.
The method uses the ActiveWindowCapture operation.
public static void captureRegion(CaptureListener captureListener)
CaptureSettings class.
The method uses the RegionCapture operation.
For processing
the keyboard and mouse events, the RegionController class is used .
public static void captureObjectOnScreen(CaptureListener captureListener)
CaptureSettings class.
The method uses the ObjectOnScreenCapture operation.
For processing
the keyboard and mouse events, the ObjectOnScreenController class is used.
public static void captureObject(CaptureListener captureListener)
CaptureSettings class.
The method uses the ObjectCapture operation.
public java.awt.image.BufferedImage createScreenCapture(java.awt.Rectangle screenRect)
screenRect - rect to capture in screen coordinates
java.lang.IllegalArgumentException - if screenRect width and height
are not greater than zero or more than screen size
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||