use of com.haulmont.cuba.gui.components.compatibility.FileUploadFieldListenerWrapper in project cuba by cuba-platform.
the class DesktopFileUploadField method removeListener.
@Override
public void removeListener(Listener listener) {
FileUploadFieldListenerWrapper wrapper = new FileUploadFieldListenerWrapper(listener);
removeFileUploadStartListener(wrapper);
removeFileUploadErrorListener(wrapper);
removeFileUploadFinishListener(wrapper);
removeFileUploadSucceedListener(wrapper);
}
use of com.haulmont.cuba.gui.components.compatibility.FileUploadFieldListenerWrapper in project cuba by cuba-platform.
the class WebFileUploadField method removeListener.
@Override
public void removeListener(Listener listener) {
FileUploadFieldListenerWrapper wrapper = new FileUploadFieldListenerWrapper(listener);
removeFileUploadStartListener(wrapper);
removeFileUploadErrorListener(wrapper);
removeFileUploadFinishListener(wrapper);
removeFileUploadSucceedListener(wrapper);
}
use of com.haulmont.cuba.gui.components.compatibility.FileUploadFieldListenerWrapper in project cuba by cuba-platform.
the class WebFileUploadField method addListener.
@Override
public void addListener(Listener listener) {
FileUploadFieldListenerWrapper wrapper = new FileUploadFieldListenerWrapper(listener);
addFileUploadStartListener(wrapper);
addFileUploadErrorListener(wrapper);
addFileUploadFinishListener(wrapper);
addFileUploadSucceedListener(wrapper);
}
use of com.haulmont.cuba.gui.components.compatibility.FileUploadFieldListenerWrapper in project cuba by cuba-platform.
the class DesktopFileUploadField method addListener.
@Override
public void addListener(Listener listener) {
FileUploadFieldListenerWrapper wrapper = new FileUploadFieldListenerWrapper(listener);
addFileUploadStartListener(wrapper);
addFileUploadErrorListener(wrapper);
addFileUploadFinishListener(wrapper);
addFileUploadSucceedListener(wrapper);
}
Aggregations