Package com.vaadin.ui

Examples of com.vaadin.ui.Form


      }
    };
  }
 
  protected void initAlfrescoComponent() {
    alfrescoForm = new Form();
    alfrescoForm.setDescription(i18nManager.getMessage(Messages.ALFRESCO_DESCRIPTION));
   
    final TextField alfrescoServer = new TextField(i18nManager.getMessage(Messages.ALFRESCO_SERVER));
    alfrescoForm.getLayout().addComponent(alfrescoServer);
   
View Full Code Here


    center();
    setCaption(i18nManager.getMessage(Messages.PROCESS_COPY_POPUP_CAPTION));
  }
 
  protected void addFields() {
    form = new Form();
    form.setCaption(i18nManager.getMessage(Messages.PROCESS_COPY_POPUP_CAPTION));
    form.getLayout().setMargin(true);
   
    nameTextField = new TextField(i18nManager.getMessage(Messages.TASK_NAME));
    nameTextField.setWidth(20, Sizeable.UNITS_EM);
View Full Code Here

      }
    });
  }
 
  protected void initForm() {
    form = new Form();
    form.setValidationVisibleOnCommit(true);
    form.setImmediate(true);
    addComponent(form);
   
    initInputFields();
View Full Code Here

      }
    });
  }
 
  protected void initForm() {
    form = new Form();
    form.setValidationVisibleOnCommit(true);
    form.setImmediate(true);
    addComponent(form);
   
    initInputFields();
View Full Code Here

      form.setEnabled(enabled);
   
  }
 
  protected void initForm() {
    form = new Form();
    form.setSizeFull();
   
    addComponent(form);
    setComponentAlignment(form, Alignment.TOP_CENTER);
  }
View Full Code Here

    initCreateTaskButton();
    initEnterKeyListener();
  }
 
  protected void initForm() {
    form = new Form();
    form.setValidationVisibleOnCommit(true);
    form.setImmediate(true);
    addComponent(form);
   
    // name
View Full Code Here

    this.processInstanceId = processInstanceId;
   
    this.i18nManager = ExplorerApp.get().getI18nManager();
    taskService = ProcessEngines.getDefaultProcessEngine().getTaskService();
   
    form = new Form();
    form.setDescription(i18nManager.getMessage(Messages.RELATED_CONTENT_TYPE_FILE_HELP));
    setSizeFull();
    addComponent(form);
    initSuccessIndicator();
    initFileUpload();
View Full Code Here

    GridLayout gl = new GridLayout();
    gl.setSpacing(true);
    gl.setColumns(4);

    advancedForm = new Form(gl);
    advancedForm.setFormFieldFactory(new TasksFilterFieldFactory(this));
    advancedForm.setVisible(false);
    advancedForm.getFooter().addComponent(new Button(getMessage("search.advanced.search"), new Button.ClickListener() {
      @Override
      public void buttonClick(Button.ClickEvent event) {
View Full Code Here

            while (it.hasNext()) {
                errors = validateComponentRelativeSizes(it.next(), errors,
                        parent);
            }
        } else if (component instanceof Form) {
            Form form = (Form) component;
            if (form.getLayout() != null) {
                errors = validateComponentRelativeSizes(form.getLayout(),
                        errors, parent);
            }
            if (form.getFooter() != null) {
                errors = validateComponentRelativeSizes(form.getFooter(),
                        errors, parent);
            }
        }

        return errors;
View Full Code Here

      }
    });
  }
 
  protected void initForm() {
    form = new Form();
    form.setValidationVisibleOnCommit(true);
    form.setImmediate(true);
    addComponent(form);
   
    initInputFields();
View Full Code Here

TOP

Related Classes of com.vaadin.ui.Form

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.