|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jfree.report.modules.gui.base.AbstractExportPlugin
The AbstractExportPlugin provides a basic implementation of the ExportPlugin interface.
| Inner Class Summary | |
protected class |
AbstractExportPlugin.DefaultExportTaskListener
The DefaultExportTaskListener is used to monitor the progress of the export and to set the export result. |
| Field Summary | |
static java.lang.String |
BASE_RESOURCE_CLASS
The base resource class. |
| Constructor Summary | |
AbstractExportPlugin()
DefaultConstructor. |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
|
void |
addPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener l)
|
protected ReportProgressDialog |
createProgressDialog()
Creates a progress dialog, and tries to assign a parent based on the given preview proxy. |
void |
defineWorkerPool(WorkerPool worker)
Defines the worker instance for that export plugin. |
void |
delegateTask(java.lang.Runnable runnable)
Delegates the task to a worker. |
PreviewProxyBase |
getBase()
Returns the preview proxy base. |
java.lang.String |
getFailureDescription()
Returns an error description for the last operation. |
protected java.beans.PropertyChangeSupport |
getPropertyChangeSupport()
|
PreviewProxy |
getProxy()
Returns the preview proxy used to create the export plugin. |
protected Skin |
getSkin()
|
protected boolean |
handleExportResult(boolean result)
Provides a default implementation to handle export errors. |
protected boolean |
handleExportResult(ExportTask task)
Provides a default implementation to handle export errors. |
void |
init(PreviewProxy proxy)
Initializes the plugin to work with the given PreviewProxy. |
boolean |
isAddToToolbar()
Returns true if the action should be added to the toolbar, and false otherwise. |
boolean |
isControlPlugin()
Returns true, when this export plugin is used to configure the report or an other plugin. |
boolean |
isEnabled()
|
boolean |
isSeparated()
Returns true if the action is separated, and false otherwise. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
void |
setEnabled(boolean enabled)
|
protected void |
updateStatusText(java.lang.String text)
Updates the status text of the base component. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final java.lang.String BASE_RESOURCE_CLASS
| Constructor Detail |
public AbstractExportPlugin()
| Method Detail |
protected java.beans.PropertyChangeSupport getPropertyChangeSupport()
public boolean isSeparated()
public java.lang.String getFailureDescription()
public boolean isControlPlugin()
public void init(PreviewProxy proxy)
proxy - the preview proxy that created this plugin.public PreviewProxyBase getBase()
getProxy().getBase().public PreviewProxy getProxy()
public boolean isAddToToolbar()
protected void updateStatusText(java.lang.String text)
text - the new status line text.protected boolean handleExportResult(boolean result)
result - the result of the export operation.protected boolean handleExportResult(ExportTask task)
task - the result of the export operation.public void defineWorkerPool(WorkerPool worker)
worker - the worker.public void delegateTask(java.lang.Runnable runnable)
runnable - the task that should be executed.protected ReportProgressDialog createProgressDialog()
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
public void addPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener l)
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
public void setEnabled(boolean enabled)
public boolean isEnabled()
protected Skin getSkin()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||