Class ObjectCapture

  extended by com.teamdev.jxcapture.image.operation.CaptureOperation
      extended by com.teamdev.jxcapture.image.operation.ObjectCapture

public class ObjectCapture
extends CaptureOperation

Represents the operation that allows capturing a specified object, like a window or control by means of the mouse cursor.

The active object is an object which is located under the mouse pointer. This object is highlighted by means of a blinking red frame.

To complete the operation and retrieve the screen shot of a selected object, press the Shift key.

To cancel the operation, press the Esc key.

Field Summary
static int DELAY
static int PERIOD
Constructor Summary
Method Summary
 void execute()
          Executes the current capture operation.
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

Field Detail


public static final int DELAY
See Also:
Constant Field Values


public static final int PERIOD
See Also:
Constant Field Values
Constructor Detail


public ObjectCapture()
Method Detail


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

Specified by:
execute in class CaptureOperation