org.jfree.report.modules.gui.swing.common
public class ReportProgressDialog extends javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
accessibleContext, rootPane, rootPaneCheckingEnabled
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
ReportProgressDialog()
Creates a non-modal dialog without a title and without a specified Frame owner.
|
ReportProgressDialog(java.awt.Dialog dialog)
Creates a non-modal dialog without a title and with the specified Dialog owner.
|
ReportProgressDialog(java.awt.Frame frame)
Creates a non-modal dialog without a title and with the specified Frame owner.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLayoutText()
Returns the layout text.
|
java.lang.String |
getMessage()
Returns the current message.
|
java.lang.String |
getOutputText()
Returns the output text message.
|
protected javax.swing.JLabel |
getPageCountMessage()
Returns the current pagecount message component.
|
protected java.text.MessageFormat |
getPageMessageFormatter()
Returns the current pass message component.
|
protected javax.swing.JLabel |
getPassCountMessage()
Returns the current pass message component.
|
protected java.text.MessageFormat |
getPassMessageFormatter()
Returns the current pass message component.
|
protected javax.swing.JLabel |
getRowCountMessage()
Returns the current row message component.
|
protected java.text.MessageFormat |
getRowsMessageFormatter()
Returns the current pass message component.
|
protected boolean |
isSameMaxRow(int row) |
void |
setLayoutText(java.lang.String layoutText)
Defines the layout text message.
|
void |
setMessage(java.lang.String message)
Defines the current message.
|
void |
setOutputText(java.lang.String outputText)
Defines the output text message.
|
protected void |
updatePageMessage(int page)
Updates the page message label if the current page has changed.
|
protected void |
updatePassMessage(int pass,
boolean prepare)
Updates the pass message label if either the pass or prepare state changed.
|
protected void |
updateRowsMessage(int rows,
int maxRows)
Updates the rows message label if either the rows or maxrows changed.
|
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public ReportProgressDialog(java.awt.Dialog dialog)
dialog
- the owner of the dialogpublic ReportProgressDialog(java.awt.Frame frame)
frame
- the owner of the dialogpublic ReportProgressDialog()
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- the current global message.protected void updatePageMessage(int page)
page
- the new page parameter.protected void updateRowsMessage(int rows, int maxRows)
rows
- the currently processed rows.maxRows
- the maximum number of rows in the report.protected void updatePassMessage(int pass, boolean prepare)
pass
- the current reporting pass.prepare
- true, if the current run is a prepare run, false otherwise.protected final javax.swing.JLabel getPassCountMessage()
protected final javax.swing.JLabel getPageCountMessage()
protected final javax.swing.JLabel getRowCountMessage()
protected final java.text.MessageFormat getPageMessageFormatter()
protected final java.text.MessageFormat getRowsMessageFormatter()
protected final java.text.MessageFormat getPassMessageFormatter()
public java.lang.String getOutputText()
public void setOutputText(java.lang.String outputText)
outputText
- the output message.public java.lang.String getLayoutText()
public void setLayoutText(java.lang.String layoutText)
layoutText
- the layout message.protected boolean isSameMaxRow(int row)