Package hec.util

Class ProgressDialog

All Implemented Interfaces:
ComponentListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, Modifiable

public class ProgressDialog extends RmaJDialog
See Also:
  • Field Details

    • _multiProgress

      protected boolean _multiProgress
    • _canceled

      protected boolean _canceled
  • Constructor Details

    • ProgressDialog

      public ProgressDialog(Dialog parentApp, int number, boolean multiProgress)
    • ProgressDialog

      public ProgressDialog(Frame parentApp, int number, boolean multiProgress)
  • Method Details

    • buildControls

      protected void buildControls()
    • canceled

      public boolean canceled()
    • jButtonCancel_actionPerformed

      public void jButtonCancel_actionPerformed(ActionEvent event)
    • setCurrentSize

      public void setCurrentSize(int size)
    • getCurrentSize

      public int getCurrentSize()
    • setCurrentValue

      public void setCurrentValue(int currentLocation)
    • getCurrentValue

      public int getCurrentValue()
    • setStatusMessage

      public void setStatusMessage(String msg)
    • setString

      public void setString(String msg)
    • setRunnable

      public void setRunnable(Runnable run)
    • setVisible

      public void setVisible(boolean visible)
      Description copied from class: RmaJDialog
      make sure the ok button is the default button when the dialog comes up.
      Overrides:
      setVisible in class RmaJDialog