com.rapidminer.gui.tools
Class ProgressUtils

java.lang.Object
  extended by com.rapidminer.gui.tools.ProgressUtils

public class ProgressUtils
extends java.lang.Object

Some utils for the creation of a modal progress monitor dialog.

Author:
Santhosh Kumar, Ingo Mierswa

Constructor Summary
ProgressUtils()
           
 
Method Summary
static ProgressMonitor createProgressMonitor(java.awt.Component owner, int total, boolean indeterminate, int waitingTimeBeforeDialogAppears, boolean modal)
          Create a new (modal) progress monitor dialog.
static ProgressMonitor createProgressMonitor(java.awt.Component owner, java.lang.String title, int total, boolean indeterminate, int waitingTimeBeforeDialogAppears, boolean modal)
          Create a new (modal) progress monitor dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressUtils

public ProgressUtils()
Method Detail

createProgressMonitor

public static ProgressMonitor createProgressMonitor(java.awt.Component owner,
                                                    int total,
                                                    boolean indeterminate,
                                                    int waitingTimeBeforeDialogAppears,
                                                    boolean modal)
Create a new (modal) progress monitor dialog. Please note the the value for total (the maximum number of possible steps) is greater then 0 even for indeterminate progresses. The value of waitingTime is used before the dialog is actually created and shown.


createProgressMonitor

public static ProgressMonitor createProgressMonitor(java.awt.Component owner,
                                                    java.lang.String title,
                                                    int total,
                                                    boolean indeterminate,
                                                    int waitingTimeBeforeDialogAppears,
                                                    boolean modal)
Create a new (modal) progress monitor dialog. Please note the the value for total (the maximum number of possible steps) is greater then 0 even for indeterminate progresses. The value of waitingTime is used before the dialog is actually created and shown.



Copyright © 2001-2009 by Rapid-I