Package com.im.df.util
Class DFEnvFeedbackAdapter
- java.lang.Object
-
- com.im.df.util.DFEnvFeedbackAdapter
-
- All Implemented Interfaces:
com.im.commons.progress.DFFeedback
public final class DFEnvFeedbackAdapter extends Object implements com.im.commons.progress.DFFeedback
-
-
Constructor Summary
Constructors Constructor Description DFEnvFeedbackAdapter(com.im.commons.progress.DFEnvironmentRO env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMessage(com.im.commons.progress.DFFeedback.Type type, Object message, Throwable t)voidaddMessage(com.im.commons.progress.DFFeedback.Type type, String message, Throwable t)voidaddPropertyChangeListener(PropertyChangeListener listener)voidfinish()StringgetId()booleanisCancelled()voidprogress(int workunit)voidremovePropertyChangeListener(PropertyChangeListener listener)voidswitchToDeterminate(int workunits)voidswitchToIndeterminate()
-
-
-
Method Detail
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfacecom.im.commons.progress.DFFeedback
-
getId
public String getId()
- Specified by:
getIdin interfacecom.im.commons.progress.DFFeedback
-
addMessage
public void addMessage(com.im.commons.progress.DFFeedback.Type type, Object message, Throwable t)- Specified by:
addMessagein interfacecom.im.commons.progress.DFFeedback
-
addMessage
public void addMessage(com.im.commons.progress.DFFeedback.Type type, String message, Throwable t)
-
switchToIndeterminate
public void switchToIndeterminate()
- Specified by:
switchToIndeterminatein interfacecom.im.commons.progress.DFFeedback
-
switchToDeterminate
public void switchToDeterminate(int workunits)
- Specified by:
switchToDeterminatein interfacecom.im.commons.progress.DFFeedback
-
progress
public void progress(int workunit)
- Specified by:
progressin interfacecom.im.commons.progress.DFFeedback
-
finish
public void finish()
- Specified by:
finishin interfacecom.im.commons.progress.DFFeedback
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListenerin interfacecom.im.commons.progress.DFFeedback
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListenerin interfacecom.im.commons.progress.DFFeedback
-
-