com.teamdev.jxcapture.image.operation
Class ScreenObjectCapture

java.lang.Object
  extended by com.teamdev.jxcapture.image.operation.CaptureOperation
      extended by com.teamdev.jxcapture.image.operation.DrawableCapture
          extended by com.teamdev.jxcapture.image.operation.ScreenObjectCapture

public class ScreenObjectCapture
extends DrawableCapture

Represents the operation that allows capturing a specified object (like a window or control) located on the screen by means of the mouse cursor.

The active object is an object which is located under the mouse pointer. This object is highlighted with a red frame.

To complete the operation and retrieve the screen shot of a selected object, click the left mouse button or press the Enter key.

To cancel the operation, press the Esc key.


Nested Class Summary
static class ScreenObjectCapture.UIElementRect
          Allows displaying the rectangle around a specified UIElement object.
 
Constructor Summary
ScreenObjectCapture(SelectionController controller)
           
 
Method Summary
 void execute()
          Executes the current capture operation.
 
Methods inherited from class com.teamdev.jxcapture.image.operation.DrawableCapture
cancel, complete, dispose, getController, getDrawableArea, showDrawableArea
 
Methods inherited from class com.teamdev.jxcapture.image.operation.CaptureOperation
addCaptureListener, fireCaptureCancelEvent, fireCaptureCompleteEvent, fireCaptureStartEvent, getCaptureListeners, removeCaptureListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenObjectCapture

public ScreenObjectCapture(SelectionController controller)
Method Detail

execute

public void execute()
Description copied from class: CaptureOperation
Executes the current capture operation.

Specified by:
execute in class CaptureOperation