com.im.df.api 5.9

com.im.df.api.support
Interface DFFeedbackWithModalProgressDialog

All Superinterfaces:
DFFeedback

public interface DFFeedbackWithModalProgressDialog
extends DFFeedback

This is a special extension of DFFeedback interface which allows to open modal progress dialog. The methods for opening/closing modal progress dialog are not possible to implement in all DFFeedback implementations (in some non-visual environment there are no dialogs).

This interface allows time-consuming processes to decide about how progress should be presented. It's not guarantied that DFFeedback has this extension so you always needs to test it first before casting to this interface.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.im.commons.progress.DFFeedback
DFFeedback.Type
 
Field Summary
 
Fields inherited from interface com.im.commons.progress.DFFeedback
DEV_NULL, PROPERTY_CANCEL
 
Method Summary
 void closeModalProgressDialog()
          Close the modal dialog if it was previously opened.
 void openModalProgressDialog()
          Opens progress bar as a modal dialog.
 
Methods inherited from interface com.im.commons.progress.DFFeedback
addMessage, addPropertyChangeListener, finish, getId, isCancelled, progress, removePropertyChangeListener, switchToDeterminate, switchToIndeterminate
 

Method Detail

openModalProgressDialog

void openModalProgressDialog()
Opens progress bar as a modal dialog. In current IJC implentation this method doesn't open the dialog immediatelly but after some small delay. It's a prevention of showing the dialog for tasks running just a few miliseconds.


closeModalProgressDialog

void closeModalProgressDialog()
Close the modal dialog if it was previously opened. If the dialog is already closed then it does nothing.


com.im.df.api 5.9