|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.teamdev.jxcapture.image.operation.CaptureOperation
public abstract class CaptureOperation
The abstract class that represents the capture operation.
Constructor Summary | |
---|---|
protected |
CaptureOperation()
|
Method Summary | |
---|---|
void |
addCaptureListener(CaptureListener listener)
Adds the specified capture operation listener to receive capture operation events from this operation. |
abstract void |
execute()
Executes the current capture operation. |
protected void |
fireCaptureCancelEvent()
|
protected void |
fireCaptureCompleteEvent(java.awt.image.BufferedImage image)
|
protected void |
fireCaptureStartEvent()
|
CaptureListener[] |
getCaptureListeners()
Returns an array of all the capture operation listeners registered on this operation. |
void |
removeCaptureListener(CaptureListener listener)
Removes the specified capture operation listener, so that it no longer receives capture operation events from this operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CaptureOperation()
Method Detail |
---|
public abstract void execute()
public void addCaptureListener(CaptureListener listener)
If listener listener
is null
,
no exception is thrown and no action is performed.
listener
- the specified capture operation listenerpublic void removeCaptureListener(CaptureListener listener)
If listener listener
is null
,
no exception is thrown and no action is performed.
listener
- the specified capture operation listenerpublic CaptureListener[] getCaptureListeners()
CaptureListener
s
or an empty array if no capture operation
listeners are currently registeredprotected void fireCaptureStartEvent()
protected void fireCaptureCancelEvent()
protected void fireCaptureCompleteEvent(java.awt.image.BufferedImage image)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |