|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.ReportProgressDialog
public class ReportProgressDialog
A progress monitor dialog component that visualizes the report processing progress. It will receive update events from the report processors and updates the UI according to the latest event data.
The progress will be computed according to the currently processed table row. This approach provides relativly accurate data, but assumes that processing all bands consumes roughly the same time.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
Dialog.ModalExclusionType, Dialog.ModalityType |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.BaselineResizeBehavior |
Field Summary |
---|
Fields inherited from class java.awt.Dialog |
---|
DEFAULT_MODALITY_TYPE |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ReportProgressDialog()
Creates a non-modal dialog without a title and without a specified Frame owner. |
|
ReportProgressDialog(Dialog dialog)
Creates a non-modal dialog without a title and with the specified Dialog owner. |
|
ReportProgressDialog(Frame frame)
Creates a non-modal dialog without a title and with the specified Frame owner. |
Method Summary | |
---|---|
String |
getLayoutText()
Returns the layout text. |
String |
getMessage()
Returns the current message. |
String |
getOutputText()
Returns the output text message. |
boolean |
isOnlyPagination()
|
void |
reportProcessingFinished(ReportProgressEvent event)
Receives a notification that the report processing was finished. |
void |
reportProcessingStarted(ReportProgressEvent event)
Receives a notification that the report processing has started. |
void |
reportProcessingUpdate(ReportProgressEvent event)
Receives a notification that the report processing made some progress. |
void |
setLayoutText(String layoutText)
Defines the layout text message. |
void |
setMessage(String message)
Defines the current message. |
void |
setOnlyPagination(boolean onlyPagination)
|
void |
setOutputText(String outputText)
Defines the output text message. |
void |
setVisibleInEDT(boolean b)
|
Methods inherited from class javax.swing.JDialog |
---|
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReportProgressDialog(Dialog dialog)
dialog
- the owner of the dialogpublic ReportProgressDialog(Frame frame)
frame
- the owner of the dialogpublic ReportProgressDialog()
Method Detail |
---|
public boolean isOnlyPagination()
public void setOnlyPagination(boolean onlyPagination)
public String getMessage()
public void setMessage(String message)
message
- the current global message.public String getOutputText()
public void setOutputText(String outputText)
outputText
- the output message.public String getLayoutText()
public void setLayoutText(String layoutText)
layoutText
- the layout message.public void reportProcessingStarted(ReportProgressEvent event)
ReportProgressListener
reportProcessingStarted
in interface ReportProgressListener
event
- the start event.public void reportProcessingUpdate(ReportProgressEvent event)
ReportProgressListener
reportProcessingUpdate
in interface ReportProgressListener
event
- the update event.public void reportProcessingFinished(ReportProgressEvent event)
ReportProgressListener
reportProcessingFinished
in interface ReportProgressListener
event
- the finish event.public void setVisibleInEDT(boolean b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |