Class OperationProgressDialog

    • Constructor Detail

      • OperationProgressDialog

        public OperationProgressDialog​(Frame owner)
        Parameters:
        owner - owner
      • OperationProgressDialog

        public OperationProgressDialog​(JDialog owner)
        Parameters:
        owner - owner
    • Method Detail

      • setOperation

        public void setOperation​(Operation operation)
        Parameters:
        operation - operation
      • getOperationProgressBar

        public JProgressBar getOperationProgressBar()
      • setMessage

        public void setMessage​(String text)
        Sets the message text.
        Parameters:
        text - text
      • getMessage

        public String getMessage()
        Gets the current message text.
        Returns:
        message
      • setIcon

        public void setIcon​(Icon icon)
        Sets the message icon.
        Parameters:
        icon - icon
      • setOKEnabled

        public void setOKEnabled​(boolean enabled)
        Parameters:
        enabled - true or false
      • setOKVisible

        public void setOKVisible​(boolean visible)
        Parameters:
        visible - true or false
      • getOperationProgressListener

        public ProgressListener getOperationProgressListener()
      • isCancelled

        public boolean isCancelled()
      • isDone

        public boolean isDone()
      • showIfNotDone

        public void showIfNotDone()
      • dispose

        public void dispose()
        Overrides:
        dispose in class Window
      • progress

        public void progress​(float percentDone)
        Description copied from interface: ProgressListener
        Is typically called by an Operation as it progresses.
        Specified by:
        progress in interface ProgressListener
        Parameters:
        percentDone - value between 0.0f and 1.0f
      • $$$getRootComponent$$$

        public JComponent $$$getRootComponent$$$()