| |
|
| java.awt.Window java.awt.Dialog javax.swing.JDialog net.sourceforge.squirrel_sql.client.gui.ProgessCallBackDialog
ProgessCallBackDialog | public class ProgessCallBackDialog extends JDialog implements ProgressCallBack(Code) | | A simple class that can be used to show the user a dialog to indicate the
progress of some task using the ProgressCallBack interface. Since certain
classes in fw module interact with the database and certain operations can
take quite a long time, letting the user know how it's going is nice.
However, fw module classes don't (and shouldn't) know anything about the UI
as this is the responsibility of the app module classes. So, this class
can be passed in by app classes to certain fw long-running methods to
bridge the gap and provide feedback to the user.
author: manningr |
Inner Class :static interface i18n | |
ProgessCallBackDialog | public ProgessCallBackDialog(Dialog owner, String title, int totalItems)(Code) | | |
ProgessCallBackDialog | public ProgessCallBackDialog(Frame owner, String title, int totalItems)(Code) | | |
currentlyLoading | public void currentlyLoading(String simpleName)(Code) | | |
finishedLoading | public boolean finishedLoading()(Code) | | |
setLoadingPrefix | public void setLoadingPrefix(String loadingPrefix)(Code) | | Sets the text that is displayed before each thing being loaded. By
default this is the string "Loading:".
Parameters: loadingPrefix - |
setTotalItems | public void setTotalItems(int totalItems)(Code) | | |
Fields inherited from java.awt.Dialog | final public static ModalityType DEFAULT_MODALITY_TYPE(Code)(Java Doc)
|
|
|
|