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 void
addMessage(com.im.commons.progress.DFFeedback.Type type, Object message, Throwable t)
void
addMessage(com.im.commons.progress.DFFeedback.Type type, String message, Throwable t)
void
addPropertyChangeListener(PropertyChangeListener listener)
void
finish()
String
getId()
boolean
isCancelled()
void
progress(int workunit)
void
removePropertyChangeListener(PropertyChangeListener listener)
void
switchToDeterminate(int workunits)
void
switchToIndeterminate()
-
-
-
Method Detail
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfacecom.im.commons.progress.DFFeedback
-
getId
public String getId()
- Specified by:
getId
in interfacecom.im.commons.progress.DFFeedback
-
addMessage
public void addMessage(com.im.commons.progress.DFFeedback.Type type, Object message, Throwable t)
- Specified by:
addMessage
in 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:
switchToIndeterminate
in interfacecom.im.commons.progress.DFFeedback
-
switchToDeterminate
public void switchToDeterminate(int workunits)
- Specified by:
switchToDeterminate
in interfacecom.im.commons.progress.DFFeedback
-
progress
public void progress(int workunit)
- Specified by:
progress
in interfacecom.im.commons.progress.DFFeedback
-
finish
public void finish()
- Specified by:
finish
in interfacecom.im.commons.progress.DFFeedback
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interfacecom.im.commons.progress.DFFeedback
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interfacecom.im.commons.progress.DFFeedback
-
-