Class DiscreteProgressDialog<T>

    • Constructor Detail

      • DiscreteProgressDialog

        public DiscreteProgressDialog​(BeaTunes application,
                                      Dialog owner,
                                      String title)
      • DiscreteProgressDialog

        public DiscreteProgressDialog​(BeaTunes application,
                                      Frame owner,
                                      String title)
      • DiscreteProgressDialog

        public DiscreteProgressDialog​(BeaTunes application,
                                      Dialog owner,
                                      String title,
                                      boolean hasHeadline)
      • DiscreteProgressDialog

        public DiscreteProgressDialog​(BeaTunes application,
                                      Frame owner,
                                      String title,
                                      boolean hasHeadline)
    • Method Detail

      • setMessage

        public void setMessage​(String message)
      • setHeadline

        public void setHeadline​(String headline)
      • setProgress

        public void setProgress​(String progress)
      • setIndeterminate

        public void setIndeterminate​(boolean indeterminate)
      • getApplication

        public BeaTunes getApplication()
      • getShowDelay

        public int getShowDelay()
      • setShowDelay

        public void setShowDelay​(int showDelay)
        Time that has to pass before this dialog is actually displayed.
        Parameters:
        showDelay - time in ms
      • getMinRefreshDelay

        public long getMinRefreshDelay()
      • setMinRefreshDelay

        public void setMinRefreshDelay​(long minRefreshDelay)
        Amount of time that has to pass at least to trigger a GUI refresh.
        Parameters:
        minRefreshDelay - time in ms
      • onCancel

        protected void onCancel()
      • isCancelled

        public boolean isCancelled()
      • setCancellable

        public void setCancellable​(boolean cancellable)
      • isSuppressProgressLabel

        public boolean isSuppressProgressLabel()
      • setSuppressProgressLabel

        public void setSuppressProgressLabel​(boolean suppressProgressLabel)
      • progress

        public void progress​(Object message,
                             int value,
                             int max)
        Specified by:
        progress in interface DiscreteProgressListener
        Parameters:
        message - object this progress is about - may be textual, an id or null
        value - current progress value
        max - maximal value
      • progress

        public void progress​(Object headline,
                             Object message,
                             int value,
                             int max)
      • setMax

        public void setMax​(int max)
      • getMax

        public int getMax()
      • getOffset

        public int getOffset()
      • setOffset

        public void setOffset​(int offset)
      • close

        public void close()
      • setVisible

        public void setVisible​(boolean b)
        Overrides:
        setVisible in class Dialog
      • $$$getRootComponent$$$

        public JComponent $$$getRootComponent$$$()