Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org.jfree.report.modules.gui » base » [javadoc | source]
org.jfree.report.modules.gui.base
public class: ReportProgressDialog [javadoc | source]
java.lang.Object
   java.awt.Component
      java.awt.Container
         java.awt.Window
            java.awt.Dialog
               javax.swing.JDialog
                  org.jfree.report.modules.gui.base.ReportProgressDialog

All Implemented Interfaces:
    RepaginationListener, Accessible, TransferHandler$HasGetTransferHandler, RootPaneContainer, WindowConstants, MenuContainer, ImageObserver, Serializable

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.

Field Summary
public static final  String BASE_RESOURCE_CLASS    The base resource class. 
Fields inherited from java.awt.Dialog:
DEFAULT_MODALITY_TYPE
Fields inherited from java.awt.Component:
TOP_ALIGNMENT,  CENTER_ALIGNMENT,  BOTTOM_ALIGNMENT,  LEFT_ALIGNMENT,  RIGHT_ALIGNMENT
Constructor:
 public ReportProgressDialog() 
 public ReportProgressDialog(Dialog dialog) 
    Creates a non-modal dialog without a title and with the specified Dialog owner.
    Parameters:
    dialog - the owner of the dialog
 public ReportProgressDialog(Frame frame) 
    Creates a non-modal dialog without a title and with the specified Frame owner.
    Parameters:
    frame - the owner of the dialog
Method from org.jfree.report.modules.gui.base.ReportProgressDialog Summary:
getLayoutText,   getMessage,   getOutputText,   getPageCountMessage,   getPageMessageFormatter,   getPassCountMessage,   getPassMessageFormatter,   getRowCountMessage,   getRowsMessageFormatter,   repaginationUpdate,   setLayoutText,   setMessage,   setOutputText,   updatePageMessage,   updatePassMessage,   updateRowsMessage
Methods from 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 from java.awt.Dialog:
addNotify,   getAccessibleContext,   getModalityType,   getTitle,   hide,   isModal,   isResizable,   isUndecorated,   setModal,   setModalityType,   setResizable,   setTitle,   setUndecorated,   setVisible,   show,   toBack
Methods from java.awt.Window:
addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   addWindowFocusListener,   addWindowListener,   addWindowStateListener,   applyResourceBundle,   applyResourceBundle,   createBufferStrategy,   createBufferStrategy,   dispose,   getAccessibleContext,   getBufferStrategy,   getFocusCycleRootAncestor,   getFocusOwner,   getFocusTraversalKeys,   getFocusableWindowState,   getGraphicsConfiguration,   getIconImages,   getInputContext,   getListeners,   getLocale,   getModalExclusionType,   getMostRecentFocusOwner,   getOwnedWindows,   getOwner,   getOwnerlessWindows,   getToolkit,   getWarningString,   getWindowFocusListeners,   getWindowListeners,   getWindowStateListeners,   getWindows,   hide,   isActive,   isAlwaysOnTop,   isAlwaysOnTopSupported,   isFocusCycleRoot,   isFocusableWindow,   isFocused,   isLocationByPlatform,   isShowing,   pack,   postEvent,   removeNotify,   removeWindowFocusListener,   removeWindowListener,   removeWindowStateListener,   reshape,   setAlwaysOnTop,   setBounds,   setBounds,   setCursor,   setFocusCycleRoot,   setFocusableWindowState,   setIconImage,   setIconImages,   setLocationByPlatform,   setLocationRelativeTo,   setMinimumSize,   setModalExclusionType,   setSize,   setSize,   setVisible,   show,   toBack,   toFront
Methods from java.awt.Container:
add,   add,   add,   add,   add,   addContainerListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   applyComponentOrientation,   areFocusTraversalKeysSet,   countComponents,   deliverEvent,   doLayout,   findComponentAt,   findComponentAt,   getAlignmentX,   getAlignmentY,   getComponent,   getComponentAt,   getComponentAt,   getComponentCount,   getComponentZOrder,   getComponents,   getContainerListeners,   getFocusTraversalKeys,   getFocusTraversalPolicy,   getInsets,   getLayout,   getListeners,   getMaximumSize,   getMinimumSize,   getMousePosition,   getPreferredSize,   insets,   invalidate,   isAncestorOf,   isFocusCycleRoot,   isFocusCycleRoot,   isFocusTraversalPolicyProvider,   isFocusTraversalPolicySet,   layout,   list,   list,   locate,   minimumSize,   paint,   paintComponents,   preferredSize,   print,   printComponents,   remove,   remove,   removeAll,   removeContainerListener,   removeNotify,   setComponentZOrder,   setFocusCycleRoot,   setFocusTraversalKeys,   setFocusTraversalPolicy,   setFocusTraversalPolicyProvider,   setFont,   setLayout,   transferFocusBackward,   transferFocusDownCycle,   update,   validate
Methods from java.awt.Component:
action,   add,   addComponentListener,   addFocusListener,   addHierarchyBoundsListener,   addHierarchyListener,   addInputMethodListener,   addKeyListener,   addMouseListener,   addMouseMotionListener,   addMouseWheelListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   applyComponentOrientation,   areFocusTraversalKeysSet,   bounds,   checkImage,   checkImage,   contains,   contains,   createImage,   createImage,   createVolatileImage,   createVolatileImage,   deliverEvent,   disable,   dispatchEvent,   doLayout,   enable,   enable,   enableInputMethods,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   getAccessibleContext,   getAlignmentX,   getAlignmentY,   getBackground,   getBaseline,   getBaselineResizeBehavior,   getBounds,   getBounds,   getColorModel,   getComponentAt,   getComponentAt,   getComponentListeners,   getComponentOrientation,   getCursor,   getDropTarget,   getFocusCycleRootAncestor,   getFocusListeners,   getFocusTraversalKeys,   getFocusTraversalKeysEnabled,   getFont,   getFontMetrics,   getForeground,   getGraphics,   getGraphicsConfiguration,   getHeight,   getHierarchyBoundsListeners,   getHierarchyListeners,   getIgnoreRepaint,   getInputContext,   getInputMethodListeners,   getInputMethodRequests,   getKeyListeners,   getListeners,   getLocale,   getLocation,   getLocation,   getLocationOnScreen,   getMaximumSize,   getMinimumSize,   getMouseListeners,   getMouseMotionListeners,   getMousePosition,   getMouseWheelListeners,   getName,   getParent,   getPeer,   getPreferredSize,   getPropertyChangeListeners,   getPropertyChangeListeners,   getSize,   getSize,   getToolkit,   getTreeLock,   getWidth,   getX,   getY,   gotFocus,   handleEvent,   hasFocus,   hide,   imageUpdate,   inside,   invalidate,   isBackgroundSet,   isCursorSet,   isDisplayable,   isDoubleBuffered,   isEnabled,   isFocusCycleRoot,   isFocusOwner,   isFocusTraversable,   isFocusable,   isFontSet,   isForegroundSet,   isLightweight,   isMaximumSizeSet,   isMinimumSizeSet,   isOpaque,   isPreferredSizeSet,   isShowing,   isValid,   isVisible,   keyDown,   keyUp,   layout,   list,   list,   list,   list,   list,   locate,   location,   lostFocus,   minimumSize,   mouseDown,   mouseDrag,   mouseEnter,   mouseExit,   mouseMove,   mouseUp,   move,   nextFocus,   paint,   paintAll,   postEvent,   preferredSize,   prepareImage,   prepareImage,   print,   printAll,   remove,   removeComponentListener,   removeFocusListener,   removeHierarchyBoundsListener,   removeHierarchyListener,   removeInputMethodListener,   removeKeyListener,   removeMouseListener,   removeMouseMotionListener,   removeMouseWheelListener,   removeNotify,   removePropertyChangeListener,   removePropertyChangeListener,   repaint,   repaint,   repaint,   repaint,   requestFocus,   requestFocusInWindow,   reshape,   resize,   resize,   setBackground,   setBounds,   setBounds,   setComponentOrientation,   setCursor,   setDropTarget,   setEnabled,   setFocusTraversalKeys,   setFocusTraversalKeysEnabled,   setFocusable,   setFont,   setForeground,   setIgnoreRepaint,   setLocale,   setLocation,   setLocation,   setMaximumSize,   setMinimumSize,   setName,   setPreferredSize,   setSize,   setSize,   setVisible,   show,   show,   size,   toString,   transferFocus,   transferFocusBackward,   transferFocusUpCycle,   update,   validate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.gui.base.ReportProgressDialog Detail:
 public String getLayoutText() 
    Returns the layout text. This text describes the prepare phases of the report processing.
 public String getMessage() 
    Returns the current message.
 public String getOutputText() 
    Returns the output text message. This text describes the export phases of the report processing.
 protected final JLabel getPageCountMessage() 
    Returns the current pagecount message component.
 protected final MessageFormat getPageMessageFormatter() 
    Returns the current pass message component.
 protected final JLabel getPassCountMessage() 
    Returns the current pass message component.
 protected final MessageFormat getPassMessageFormatter() 
    Returns the current pass message component.
 protected final JLabel getRowCountMessage() 
    Returns the current row message component.
 protected final MessageFormat getRowsMessageFormatter() 
    Returns the current pass message component.
 public  void repaginationUpdate(RepaginationState state) 
    Receives notification of a repagination update.
 public  void setLayoutText(String layoutText) 
    Defines the layout text message. This text describes the prepare phases of the report processing.
 public  void setMessage(String message) 
    Defines the current message.
 public  void setOutputText(String outputText) 
    Defines the output text message. This text describes the export phases of the report processing.
 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. The pass reflects the current processing level, one level for every function dependency level.
 protected  void updateRowsMessage(int rows,
    int maxRows) 
    Updates the rows message label if either the rows or maxrows changed.