public class ConverterEvent extends EventObject
DocumentConverter
events.Constructor and Description |
---|
ConverterEvent(Object source,
ConverterJobInfoEvent jobInfo) |
Modifier and Type | Method and Description |
---|---|
ConverterJobInfoEvent |
getJobInfo()
Returns information about the current conversion job.
|
boolean |
isCancel()
Returns whether the current conversion operation needs to be cancelled.
|
void |
setCancel(boolean cancel)
Prevents the
DocumentConverter from proceeding with the current
conversion job. |
getSource, toString
public ConverterEvent(Object source, ConverterJobInfoEvent jobInfo)
public ConverterJobInfoEvent getJobInfo()
public boolean isCancel()
public void setCancel(boolean cancel)
DocumentConverter
from proceeding with the current
conversion job.cancel
- true if the job needs to be cancelled; false if otherwise