本文整理了Java中com.vaadin.ui.Upload.addStartedListener()
方法的一些代码示例,展示了Upload.addStartedListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Upload.addStartedListener()
方法的具体详情如下:
包路径:com.vaadin.ui.Upload
类名称:Upload
方法名:addStartedListener
[英]Adds the upload started event listener.
[中]添加上载启动事件侦听器。
代码示例来源:origin: org.eclipse.hawkbit/hawkbit-ui
void buildLayout() {
final HorizontalLayout horizontalLayout = new HorizontalLayout();
upload = new Upload();
upload.setEnabled(false);
upload.setButtonCaption(i18n.getMessage("caption.bulk.upload"));
upload.setReceiver(this);
upload.setImmediate(true);
upload.setWidthUndefined();
upload.addSucceededListener(this);
upload.addFailedListener(this);
upload.addStartedListener(this);
horizontalLayout.addComponent(upload);
horizontalLayout.setComponentAlignment(upload, Alignment.BOTTOM_RIGHT);
setCompositionRoot(horizontalLayout);
}
代码示例来源:origin: eclipse/hawkbit
void buildLayout() {
final HorizontalLayout horizontalLayout = new HorizontalLayout();
upload = new Upload();
upload.setEnabled(false);
upload.setButtonCaption(i18n.getMessage("caption.bulk.upload"));
upload.setReceiver(this);
upload.setImmediate(true);
upload.setWidthUndefined();
upload.addSucceededListener(this);
upload.addFailedListener(this);
upload.addStartedListener(this);
horizontalLayout.addComponent(upload);
horizontalLayout.setComponentAlignment(upload, Alignment.BOTTOM_RIGHT);
setCompositionRoot(horizontalLayout);
}
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
upload.addStartedListener(new Upload.StartedListener() {
public void uploadStarted(Upload.StartedEvent event) {
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
upload.addStartedListener(new Upload.StartedListener() {
public void uploadStarted(StartedEvent event) {
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
upload.addStartedListener(new Upload.StartedListener() {
public void uploadStarted(Upload.StartedEvent event) {
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
upload.addStartedListener(new Upload.StartedListener() {
public void uploadStarted(StartedEvent event) {
代码示例来源:origin: org.ikasan/ikasan-dashboard-jar
upload.addStartedListener(new Upload.StartedListener() {
public void uploadStarted(StartedEvent event) {
内容来源于网络,如有侵权,请联系作者删除!