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

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

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

Upload.setVisible介绍

暂无

代码示例

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void uploadStarted(StartedEvent event) {
    // This method gets called immediately after upload is started
    upload.setVisible(false);
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void uploadStarted(StartedEvent event) {
    // This method gets called immediately after upload is started
    upload.setVisible(false);
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void uploadStarted(Upload.StartedEvent event) {
    // This method gets called immediately after upload is started
    upload.setVisible(false);
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void uploadStarted(StartedEvent event) {
    // This method gets called immediately after upload is started
    upload.setVisible(false);
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void uploadStarted(Upload.StartedEvent event) {
    // This method gets called immediately after upload is started
    upload.setVisible(false);
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void uploadFinished(FinishedEvent event) {
    upload.setVisible(false);
    parseUploadFile();
  }
});

代码示例来源:origin: org.aperteworkflow/base-widgets

@Override
public void setReadOnly(boolean readOnly) {
  uploadFile.setVisible(!readOnly);
  super.setReadOnly(readOnly);
}

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void uploadFinished(Upload.FinishedEvent event) {
    upload.setVisible(false);
    try
    {
      parseUploadFile();
    }
    catch (Exception e)
    {
      e.printStackTrace();
      Notification.show("Caught exception trying to import a Module Configuration!\n", e.getMessage()
          , Notification.Type.ERROR_MESSAGE);
    }
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void uploadFinished(FinishedEvent event) {
    upload.setVisible(false);
    try
    {
      parseUploadFile();
    }
    catch (Exception e)
    {
      e.printStackTrace();
      Notification.show("Caught exception trying to import a Component Configuration!\n", e.getMessage()
        , Notification.Type.ERROR_MESSAGE);
    }
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void uploadFinished(Upload.FinishedEvent event) {
    upload.setVisible(false);
    try
    {
      parseUploadFile();
    }
    catch (Exception e)
    {
      Notification.show("Caught exception trying to import a Flow Configuration!\n", e.getMessage()
          , Notification.Type.ERROR_MESSAGE);
    }
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void uploadFinished(FinishedEvent event) {
    upload.setVisible(false);
    try
    {
      parseUploadFile();
    }
    catch (Exception e)
    {
      StringWriter sw = new StringWriter();
      PrintWriter pw = new PrintWriter(sw);
      e.printStackTrace(pw);
      
      Notification.show("Caught exception trying to import a Mapping Configuration!\n", sw.toString()
        , Notification.Type.ERROR_MESSAGE);
    }
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void buttonClick(Button.ClickEvent event) {
    progressLayout.setVisible(false);
    upload.setVisible(true);
    close();
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void buttonClick(ClickEvent event) {
    progressLayout.setVisible(false);
    upload.setVisible(true);
    close();
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void buttonClick(Button.ClickEvent event) {
    progressLayout.setVisible(false);
    upload.setVisible(true);
    close();
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void buttonClick(ClickEvent event) {
    mappingConfiguration = null;
    progressLayout.setVisible(false);
    upload.setVisible(true);
    close();
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void buttonClick(ClickEvent event)
  {
   progressLayout.setVisible(false);
   upload.setVisible(true);
   close();
    Notification.show("Module component configurations successfully imported! Please save congiuration to apply changes."
        , Notification.Type.HUMANIZED_MESSAGE);
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void buttonClick(Button.ClickEvent event)
  {
    helper.save();
    progressLayout.setVisible(false);
    upload.setVisible(true);
    close();
    Notification.show("Flow component configurations successfully imported!"
        , Notification.Type.HUMANIZED_MESSAGE);
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

public void buttonClick(Button.ClickEvent event)
  {
    moduleImportHelper.save();
    progressLayout.setVisible(false);
    upload.setVisible(true);
    close();
    Notification.show("Module component configurations successfully imported!"
        , Notification.Type.HUMANIZED_MESSAGE);
  }
});

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

upload.setVisible(true);

相关文章