Class ReportProgressDialog

    • Constructor Detail

      • 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
      • ReportProgressDialog

        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
      • ReportProgressDialog

        public ReportProgressDialog()
        Creates a non-modal dialog without a title and without a specified Frame owner. A shared, hidden frame will be set as the owner of the Dialog.
    • Method Detail

      • isOnlyPagination

        public boolean isOnlyPagination()
      • setOnlyPagination

        public void setOnlyPagination​(boolean onlyPagination)
      • getMessage

        public String getMessage()
        Returns the current message.
        Returns:
        the current global message.
      • setMessage

        public void setMessage​(String message)
        Defines the current message.
        Parameters:
        message - the current global message.
      • updatePageMessage

        protected void updatePageMessage​(int page)
        Updates the page message label if the current page has changed.
        Parameters:
        page - the new page parameter.
      • updateRowsMessage

        protected void updateRowsMessage​(int rows,
                                         int maxRows)
        Updates the rows message label if either the rows or maxrows changed.
        Parameters:
        rows - the currently processed rows.
        maxRows - the maximum number of rows in the report.
      • updateActivityMessage

        protected void updateActivityMessage​(int activity)
        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.
        Parameters:
        activity - the current reporting pass.
      • updateProgressBar

        protected void updateProgressBar​(ReportProgressEvent event)
        Updates the progress bar to show the current progress
        Parameters:
        event - the event data used to update the progress bar
      • getPassCountMessage

        protected final JLabel getPassCountMessage()
        Returns the current pass message component.
        Returns:
        the pass message component.
      • getPageCountMessage

        protected final JLabel getPageCountMessage()
        Returns the current pagecount message component.
        Returns:
        the page message component.
      • getRowCountMessage

        protected final JLabel getRowCountMessage()
        Returns the current row message component.
        Returns:
        the row message component.
      • getPageMessageFormatter

        protected final MessageFormat getPageMessageFormatter()
        Returns the current pass message component.
        Returns:
        the pass message component.
      • getRowsMessageFormatter

        protected final MessageFormat getRowsMessageFormatter()
        Returns the current pass message component.
        Returns:
        the pass message component.
      • getPassMessageFormatter

        protected final MessageFormat getPassMessageFormatter()
        Returns the current pass message component.
        Returns:
        the pass message component.
      • getOutputText

        public String getOutputText()
        Returns the output text message. This text describes the export phases of the report processing.
        Returns:
        the output phase description.
      • setOutputText

        public void setOutputText​(String outputText)
        Defines the output text message. This text describes the export phases of the report processing.
        Parameters:
        outputText - the output message.
      • getLayoutText

        public String getLayoutText()
        Returns the layout text. This text describes the prepare phases of the report processing.
        Returns:
        the layout text.
      • setLayoutText

        public void setLayoutText​(String layoutText)
        Defines the layout text message. This text describes the prepare phases of the report processing.
        Parameters:
        layoutText - the layout message.
      • isSameMaxRow

        protected boolean isSameMaxRow​(int row)
      • setVisibleInEDT

        public void setVisibleInEDT​(boolean b)