com.vaadin.ui.Upload.addStartedListener()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(116)

本文整理了Java中com.vaadin.ui.Upload.addStartedListener()方法的一些代码示例,展示了Upload.addStartedListener()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Upload.addStartedListener()方法的具体详情如下:
包路径:com.vaadin.ui.Upload
类名称:Upload
方法名:addStartedListener

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) {

相关文章