Search in sources :

Example 1 with FileUploadFieldListenerWrapper

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);
}
Also used : FileUploadFieldListenerWrapper(com.haulmont.cuba.gui.components.compatibility.FileUploadFieldListenerWrapper)

Example 2 with FileUploadFieldListenerWrapper

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);
}
Also used : FileUploadFieldListenerWrapper(com.haulmont.cuba.gui.components.compatibility.FileUploadFieldListenerWrapper)

Example 3 with FileUploadFieldListenerWrapper

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);
}
Also used : FileUploadFieldListenerWrapper(com.haulmont.cuba.gui.components.compatibility.FileUploadFieldListenerWrapper)

Example 4 with FileUploadFieldListenerWrapper

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);
}
Also used : FileUploadFieldListenerWrapper(com.haulmont.cuba.gui.components.compatibility.FileUploadFieldListenerWrapper)

Aggregations

FileUploadFieldListenerWrapper (com.haulmont.cuba.gui.components.compatibility.FileUploadFieldListenerWrapper)4