@AutoGenerated
  private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);

    // cmbPolicia
    cmbPolicia = new ComboBox();
    cmbPolicia.setCaption("Policia");
    cmbPolicia.setImmediate(false);
    cmbPolicia.setWidth("230px");
    cmbPolicia.setHeight("-1px");
    horizontalLayout_1.addComponent(cmbPolicia);

    // btnAgregarPolicia
    btnAgregarPolicia = new Button();
    btnAgregarPolicia.setCaption(" ");
    btnAgregarPolicia.setImmediate(true);
    btnAgregarPolicia.setWidth("-1px");
    btnAgregarPolicia.setHeight("-1px");
    horizontalLayout_1.addComponent(btnAgregarPolicia);
    horizontalLayout_1.setComponentAlignment(btnAgregarPolicia, new Alignment(9));

    return horizontalLayout_1;
  }
  @AutoGenerated
  private AbsoluteLayout buildAbsLCaracteristicas2() {
    // common part: create layout
    absLCaracteristicas2 = new AbsoluteLayout();
    absLCaracteristicas2.setImmediate(false);
    absLCaracteristicas2.setWidth("100.0%");
    absLCaracteristicas2.setHeight("45px");

    // cmbEtapa
    cmbEtapa = new ComboBox();
    cmbEtapa.setCaption("Etapa Fenológica");
    cmbEtapa.setImmediate(false);
    cmbEtapa.setWidth("250px");
    cmbEtapa.setHeight("25px");
    absLCaracteristicas2.addComponent(cmbEtapa, "top:18.0px;left:10.0px;");

    // txtSupRegada
    txtSupRegada = new TextField();
    txtSupRegada.setCaption("Superficie Regada");
    txtSupRegada.setImmediate(false);
    txtSupRegada.setWidth("100px");
    txtSupRegada.setHeight("25px");
    absLCaracteristicas2.addComponent(txtSupRegada, "top:18.0px;left:280.0px;");

    // lblSupRegada
    lblSupRegada = new Label();
    lblSupRegada.setImmediate(false);
    lblSupRegada.setWidth("-1px");
    lblSupRegada.setHeight("-1px");
    lblSupRegada.setValue("ha");
    absLCaracteristicas2.addComponent(lblSupRegada, "top:22.0px;left:385.0px;");

    // txtProfRaices
    txtProfRaices = new TextField();
    txtProfRaices.setCaption("Prof. de Raíces");
    txtProfRaices.setImmediate(false);
    txtProfRaices.setWidth("100px");
    txtProfRaices.setHeight("25px");
    absLCaracteristicas2.addComponent(txtProfRaices, "top:18.0px;left:415.0px;");

    // lblProfRaices
    lblProfRaices = new Label();
    lblProfRaices.setImmediate(false);
    lblProfRaices.setWidth("-1px");
    lblProfRaices.setHeight("-1px");
    lblProfRaices.setValue("cm");
    absLCaracteristicas2.addComponent(lblProfRaices, "top:22.0px;left:520.0px;");

    return absLCaracteristicas2;
  }
  @AutoGenerated
  private HorizontalLayout buildHorizontalLayout_1() {
    // common part: create layout
    horizontalLayout_1 = new HorizontalLayout();
    horizontalLayout_1.setImmediate(false);
    horizontalLayout_1.setWidth("-1px");
    horizontalLayout_1.setHeight("-1px");
    horizontalLayout_1.setMargin(false);
    horizontalLayout_1.setSpacing(true);

    // textAreaDescription
    textAreaDescription = new TextArea();
    textAreaDescription.setCaption("Enter A Description");
    textAreaDescription.setImmediate(false);
    textAreaDescription.setWidth("50.0%");
    textAreaDescription.setHeight("-1px");
    horizontalLayout_1.addComponent(textAreaDescription);

    // textFieldFilter
    textFieldFilter = new TextField();
    textFieldFilter.setCaption("Filter Function By ID");
    textFieldFilter.setImmediate(false);
    textFieldFilter.setWidth("-1px");
    textFieldFilter.setHeight("-1px");
    horizontalLayout_1.addComponent(textFieldFilter);
    horizontalLayout_1.setComponentAlignment(textFieldFilter, new Alignment(9));

    // comboBoxDatatypeFilter
    comboBoxDatatypeFilter = new ComboBox();
    comboBoxDatatypeFilter.setCaption("Filter By Data Type");
    comboBoxDatatypeFilter.setImmediate(false);
    comboBoxDatatypeFilter.setWidth("-1px");
    comboBoxDatatypeFilter.setHeight("-1px");
    horizontalLayout_1.addComponent(comboBoxDatatypeFilter);
    horizontalLayout_1.setComponentAlignment(comboBoxDatatypeFilter, new Alignment(9));

    // checkBoxFilterIsBag
    checkBoxFilterIsBag = new CheckBox();
    checkBoxFilterIsBag.setCaption("Is Bag Filter");
    checkBoxFilterIsBag.setImmediate(false);
    checkBoxFilterIsBag.setWidth("-1px");
    checkBoxFilterIsBag.setHeight("-1px");
    horizontalLayout_1.addComponent(checkBoxFilterIsBag);
    horizontalLayout_1.setComponentAlignment(checkBoxFilterIsBag, new Alignment(9));

    return horizontalLayout_1;
  }
  @AutoGenerated
  private GridLayout buildHeadLayout() {
    // common part: create layout
    headLayout = new GridLayout();
    headLayout.setImmediate(false);
    headLayout.setWidth("-1px");
    headLayout.setHeight("-1px");
    headLayout.setMargin(false);
    headLayout.setSpacing(true);
    headLayout.setColumns(2);
    headLayout.setRows(2);

    // parameterTypeLabel
    parameterTypeLabel = new Label();
    parameterTypeLabel.setImmediate(false);
    parameterTypeLabel.setWidth("-1px");
    parameterTypeLabel.setHeight("-1px");
    parameterTypeLabel.setValue("Type of Parameter");
    headLayout.addComponent(parameterTypeLabel, 0, 0);

    // parameterType
    parameterType = new ComboBox();
    parameterType.setImmediate(false);
    parameterType.setWidth("-1px");
    parameterType.setHeight("-1px");
    headLayout.addComponent(parameterType, 1, 0);

    // parameterNameLabel
    parameterNameLabel = new Label();
    parameterNameLabel.setImmediate(false);
    parameterNameLabel.setWidth("-1px");
    parameterNameLabel.setHeight("-1px");
    parameterNameLabel.setValue("Parameter");
    headLayout.addComponent(parameterNameLabel, 0, 1);
    headLayout.setComponentAlignment(parameterNameLabel, new Alignment(6));

    // parameterName
    parameterName = new TextField();
    parameterName.setImmediate(false);
    parameterName.setWidth("-1px");
    parameterName.setHeight("-1px");
    parameterName.setRequired(true);
    headLayout.addComponent(parameterName, 1, 1);

    return headLayout;
  }
  @AutoGenerated
  private HorizontalLayout buildLytFormulario1() {
    // common part: create layout
    lytFormulario1 = new HorizontalLayout();
    lytFormulario1.setImmediate(false);
    lytFormulario1.setWidth("-1px");
    lytFormulario1.setHeight("-1px");
    lytFormulario1.setMargin(false);
    lytFormulario1.setSpacing(true);

    // lblUnidadProcuraduria
    lblUnidadProcuraduria = new Label();
    lblUnidadProcuraduria.setImmediate(false);
    lblUnidadProcuraduria.setWidth("160px");
    lblUnidadProcuraduria.setHeight("-1px");
    lblUnidadProcuraduria.setValue("Unidad Procuraduria");
    lytFormulario1.addComponent(lblUnidadProcuraduria);

    // cmbUnidadProcuraduria
    cmbUnidadProcuraduria = new ComboBox();
    cmbUnidadProcuraduria.setImmediate(false);
    cmbUnidadProcuraduria.setWidth("150px");
    cmbUnidadProcuraduria.setHeight("-1px");
    lytFormulario1.addComponent(cmbUnidadProcuraduria);

    // lblTipoNotificacion
    lblTipoNotificacion = new Label();
    lblTipoNotificacion.setImmediate(false);
    lblTipoNotificacion.setWidth("160px");
    lblTipoNotificacion.setHeight("-1px");
    lblTipoNotificacion.setValue("Tipo Notificacion");
    lytFormulario1.addComponent(lblTipoNotificacion);

    // cmbTipoNotificacion
    cmbTipoNotificacion = new ComboBoxLOVS();
    cmbTipoNotificacion.setImmediate(false);
    cmbTipoNotificacion.setWidth("150px");
    cmbTipoNotificacion.setHeight("-1px");
    lytFormulario1.addComponent(cmbTipoNotificacion);

    return lytFormulario1;
  }
Exemple #6
0
  @AutoGenerated
  private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("560px");
    mainLayout.setHeight("280px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("560px");
    setHeight("280px");

    // commentField
    commentField = new TextField();
    commentField.setCaption("Comentario");
    commentField.setImmediate(false);
    commentField.setWidth("520px");
    commentField.setHeight("120px");
    commentField.setTabIndex(9);
    mainLayout.addComponent(commentField, "top:140.0px;left:20.0px;");

    // kmField
    kmField = new TextField();
    kmField.setCaption("Km");
    kmField.setImmediate(false);
    kmField.setWidth("80px");
    kmField.setHeight("-1px");
    kmField.setTabIndex(7);
    mainLayout.addComponent(kmField, "top:98.0px;left:260.0px;");

    // punctureField
    punctureField = new TextField();
    punctureField.setCaption("Pinchazos");
    punctureField.setImmediate(false);
    punctureField.setWidth("140px");
    punctureField.setHeight("-1px");
    punctureField.setTabIndex(5);
    mainLayout.addComponent(punctureField, "top:56.0px;left:400.0px;");

    // serialNumberField
    serialNumberField = new TextField();
    serialNumberField.setCaption("Número  de serie");
    serialNumberField.setImmediate(false);
    serialNumberField.setWidth("160px");
    serialNumberField.setHeight("-1px");
    serialNumberField.setTabIndex(1);
    serialNumberField.setRequired(true);
    mainLayout.addComponent(serialNumberField, "top:17.0px;left:20.0px;");

    // vehicleLocationField
    vehicleLocationField = new TextField();
    vehicleLocationField.setCaption("Ubicación vehículo");
    vehicleLocationField.setImmediate(false);
    vehicleLocationField.setWidth("120px");
    vehicleLocationField.setHeight("-1px");
    vehicleLocationField.setTabIndex(4);
    mainLayout.addComponent(vehicleLocationField, "top:56.0px;left:260.0px;");

    // supplierField
    supplierField = new ComboBox();
    supplierField.setCaption("Proveedor");
    supplierField.setImmediate(false);
    supplierField.setWidth("220px");
    supplierField.setHeight("-1px");
    supplierField.setTabIndex(6);
    mainLayout.addComponent(supplierField, "top:100.0px;left:20.0px;");

    // tireTypeField
    tireTypeField = new ComboBox();
    tireTypeField.setCaption("Tipo neumático");
    tireTypeField.setImmediate(false);
    tireTypeField.setWidth("168px");
    tireTypeField.setHeight("-1px");
    tireTypeField.setTabIndex(8);
    tireTypeField.setRequired(true);
    mainLayout.addComponent(tireTypeField, "top:97.0px;left:372.0px;");

    // vehicleField
    vehicleField = new ComboBox();
    vehicleField.setCaption("Vehículo");
    vehicleField.setImmediate(false);
    vehicleField.setWidth("220px");
    vehicleField.setHeight("-1px");
    vehicleField.setTabIndex(3);
    vehicleField.setRequired(true);
    mainLayout.addComponent(vehicleField, "top:56.0px;left:20.0px;");

    // tireStatusField
    tireStatusField = new ComboBox();
    tireStatusField.setCaption("Estado neumático");
    tireStatusField.setImmediate(false);
    tireStatusField.setWidth("168px");
    tireStatusField.setHeight("-1px");
    tireStatusField.setTabIndex(2);
    tireStatusField.setRequired(true);
    mainLayout.addComponent(tireStatusField, "top:17.0px;left:372.0px;");

    return mainLayout;
  }
 private void assembleInputUserLayout() {
   logger.info(
       "Company ID : "
           + companyid
           + " | User Name : "
           + username
           + " > "
           + "Assembling search layout");
   // Remove all components in search layout
   hlUserInputLayout.removeAllComponents();
   flSmsPurHdr1 = new FormLayout();
   flSmsPurHdr2 = new FormLayout();
   flSmsPurHdr3 = new FormLayout();
   flSmsPurHdr4 = new FormLayout();
   flSmsPurHdr1.addComponent(tfEnqNo);
   flSmsPurHdr1.addComponent(cbBranch);
   flSmsPurHdr2.addComponent(lsVendorName);
   cbEnqStatus.setWidth("130px");
   cbEnqStatus.setHeight("24px");
   flSmsPurHdr3.addComponent(dfEnqDate);
   flSmsPurHdr3.addComponent(dfDueDate);
   flSmsPurHdr3.addComponent(cbEnqStatus);
   flSmsPurHdr4.addComponent(taEnqRem);
   HorizontalLayout hlSmsEnqHDR = new HorizontalLayout();
   hlSmsEnqHDR.addComponent(flSmsPurHdr1);
   hlSmsEnqHDR.addComponent(flSmsPurHdr2);
   hlSmsEnqHDR.addComponent(flSmsPurHdr3);
   lbl = new Label(" ");
   hlSmsEnqHDR.addComponent(lbl);
   hlSmsEnqHDR.addComponent(flSmsPurHdr4);
   tfEnqNo.setReadOnly(true);
   hlSmsEnqHDR.setSpacing(true);
   hlSmsEnqHDR.setMargin(true);
   // Adding SmsEnqDtl components
   // Add components for User Input Layout
   flSmsPurDtl1 = new FormLayout();
   flSmsPurDtl2 = new FormLayout();
   flSmsPurDtl3 = new FormLayout();
   flSmsPurDtl4 = new FormLayout();
   flSmsPurDtl5 = new FormLayout();
   flSmsPurDtl6 = new FormLayout();
   flSmsPurDtl1.addComponent(lsProduct);
   HorizontalLayout hlQtyUom = new HorizontalLayout();
   hlQtyUom.addComponent(tfEnqQty);
   hlQtyUom.addComponent(cbUom);
   hlQtyUom.setCaption("Enquiry Qty");
   flSmsPurDtl2.addComponent(hlQtyUom);
   flSmsPurDtl2.setComponentAlignment(hlQtyUom, Alignment.TOP_LEFT);
   flSmsPurDtl4.addComponent(taEnqDtlRem);
   flSmsPurDtl5.addComponent(cbEnqDtlStatus);
   VerticalLayout btn = new VerticalLayout();
   btn.addComponent(btnaddSpec);
   btn.addComponent(btndelete);
   flSmsPurDtl5.addComponent(btn);
   HorizontalLayout hlSmsEnqdTL = new HorizontalLayout();
   hlSmsEnqdTL.addComponent(flSmsPurDtl1);
   hlSmsEnqdTL.addComponent(flSmsPurDtl2);
   hlSmsEnqdTL.addComponent(flSmsPurDtl3);
   hlSmsEnqdTL.addComponent(flSmsPurDtl4);
   hlSmsEnqdTL.addComponent(flSmsPurDtl5);
   hlSmsEnqdTL.addComponent(flSmsPurDtl6);
   hlSmsEnqdTL.setSpacing(true);
   hlSmsEnqdTL.setMargin(true);
   VerticalLayout vlSmsEnqHDR = new VerticalLayout();
   vlSmsEnqHDR = new VerticalLayout();
   vlSmsEnqHDR.addComponent(hlSmsEnqdTL);
   vlSmsEnqHDR.addComponent(tblSmsEnqDtl);
   vlSmsEnqHDR.setSpacing(true);
   TabSheet dtlTab = new TabSheet();
   dtlTab.addTab(vlSmsEnqHDR, "Purchase Enquiry Detail");
   dtlTab.addTab(vlTableForm, "Comments");
   VerticalLayout vlSmsEnqHdrdTL = new VerticalLayout();
   vlSmsEnqHdrdTL = new VerticalLayout();
   vlSmsEnqHdrdTL.addComponent(GERPPanelGenerator.createPanel(hlSmsEnqHDR));
   vlSmsEnqHdrdTL.addComponent(GERPPanelGenerator.createPanel(dtlTab));
   vlSmsEnqHdrdTL.setSpacing(true);
   vlSmsEnqHdrdTL.setWidth("100%");
   hlUserInputLayout.addComponent(vlSmsEnqHdrdTL);
   hlUserInputLayout.setSizeFull();
   hlUserInputLayout.setWidth("100%");
   hlUserInputLayout.setMargin(false);
   hlUserInputLayout.setSpacing(true);
 }
  @AutoGenerated
  private VerticalLayout buildVerticalLayout_3() {
    // common part: create layout
    verticalLayout_3 = new VerticalLayout();
    verticalLayout_3.setStyleName("h1");
    verticalLayout_3.setCaption("Administracion del Usuario");
    verticalLayout_3.setImmediate(false);
    verticalLayout_3.setWidth("-1px");
    verticalLayout_3.setHeight("-1px");
    verticalLayout_3.setMargin(true);
    verticalLayout_3.setSpacing(true);

    // txtUsuario
    txtUsuario = new TextField();
    txtUsuario.setCaption("Usuario:");
    txtUsuario.setImmediate(false);
    txtUsuario.setWidth("-1px");
    txtUsuario.setHeight("-1px");
    txtUsuario.setRequired(true);
    txtUsuario.setInputPrompt("Usuario de logueo ");
    verticalLayout_3.addComponent(txtUsuario);

    // horizontalLayout_1
    horizontalLayout_1 = buildHorizontalLayout_1();
    verticalLayout_3.addComponent(horizontalLayout_1);

    // txtNombres
    txtNombres = new TextField();
    txtNombres.setCaption("Nombre:");
    txtNombres.setImmediate(false);
    txtNombres.setWidth("164px");
    txtNombres.setHeight("-1px");
    txtNombres.setRequired(true);
    txtNombres.setInputPrompt("Nombre de inicio de sesión");
    verticalLayout_3.addComponent(txtNombres);

    // txtApellidoPaterno
    txtApellidoPaterno = new TextField();
    txtApellidoPaterno.setCaption("Paterno");
    txtApellidoPaterno.setImmediate(false);
    txtApellidoPaterno.setWidth("250px");
    txtApellidoPaterno.setHeight("-1px");
    txtApellidoPaterno.setRequired(true);
    txtApellidoPaterno.setInputPrompt("Apellido Paterno");
    verticalLayout_3.addComponent(txtApellidoPaterno);

    // txtApellidoMaterno
    txtApellidoMaterno = new TextField();
    txtApellidoMaterno.setCaption("Materno");
    txtApellidoMaterno.setImmediate(false);
    txtApellidoMaterno.setWidth("250px");
    txtApellidoMaterno.setHeight("-1px");
    txtApellidoMaterno.setRequired(true);
    txtApellidoMaterno.setInputPrompt("Apellido Materno");
    verticalLayout_3.addComponent(txtApellidoMaterno);

    // cmbOficina
    cmbOficina = new ComboBox();
    cmbOficina.setCaption("Oficina");
    cmbOficina.setImmediate(false);
    cmbOficina.setWidth("204px");
    cmbOficina.setHeight("-1px");
    cmbOficina.setRequired(true);
    verticalLayout_3.addComponent(cmbOficina);

    // cmbRol
    cmbRol = new ComboBox();
    cmbRol.setCaption("Rol");
    cmbRol.setImmediate(false);
    cmbRol.setWidth("194px");
    cmbRol.setHeight("-1px");
    cmbRol.setRequired(true);
    verticalLayout_3.addComponent(cmbRol);

    // txtCargo
    txtCargo = new TextField();
    txtCargo.setCaption("Cargo");
    txtCargo.setImmediate(false);
    txtCargo.setWidth("250px");
    txtCargo.setHeight("-1px");
    txtCargo.setRequired(true);
    txtCargo.setInputPrompt("Cargo que desempeña");
    verticalLayout_3.addComponent(txtCargo);

    // txtCargoDescripcion
    txtCargoDescripcion = new TextField();
    txtCargoDescripcion.setCaption("Descripcion del Cargo");
    txtCargoDescripcion.setImmediate(false);
    txtCargoDescripcion.setWidth("250px");
    txtCargoDescripcion.setHeight("-1px");
    txtCargoDescripcion.setRequired(true);
    txtCargoDescripcion.setInputPrompt("Breve descripcion del Cargo que desempeña");
    verticalLayout_3.addComponent(txtCargoDescripcion);

    // horizontalLayout_2
    horizontalLayout_2 = buildHorizontalLayout_2();
    verticalLayout_3.addComponent(horizontalLayout_2);
    verticalLayout_3.setComponentAlignment(horizontalLayout_2, new Alignment(48));

    return verticalLayout_3;
  }
Exemple #9
0
  @AutoGenerated
  private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("650px");
    mainLayout.setHeight("220px");
    mainLayout.setMargin(true);

    // top-level component properties
    setWidth("650px");
    setHeight("220px");

    // jobGroupField
    jobGroupField = new TextField();
    jobGroupField.setCaption("Grupo");
    jobGroupField.setImmediate(false);
    jobGroupField.setWidth("140px");
    jobGroupField.setHeight("-1px");
    jobGroupField.setRequired(true);
    mainLayout.addComponent(jobGroupField, "top:20.0px;left:180.0px;");

    // jobIntervalField
    jobIntervalField = new TextField();
    jobIntervalField.setCaption("Intervalo");
    jobIntervalField.setImmediate(false);
    jobIntervalField.setWidth("60px");
    jobIntervalField.setHeight("-1px");
    mainLayout.addComponent(jobIntervalField, "top:180.0px;left:20.0px;");

    // jobNameField
    jobNameField = new TextField();
    jobNameField.setCaption("Nombre");
    jobNameField.setImmediate(false);
    jobNameField.setWidth("140px");
    jobNameField.setHeight("-1px");
    jobNameField.setRequired(true);
    mainLayout.addComponent(jobNameField, "top:20.0px;left:20.0px;");

    // jobTriggerPriorityField
    jobTriggerPriorityField = new TextField();
    jobTriggerPriorityField.setCaption("Job Trigger Priority");
    jobTriggerPriorityField.setImmediate(false);
    jobTriggerPriorityField.setWidth("160px");
    jobTriggerPriorityField.setHeight("-1px");
    mainLayout.addComponent(jobTriggerPriorityField, "top:140.0px;left:200.0px;");

    // jobTriggerTypeField
    jobTriggerTypeField = new ComboBox();
    jobTriggerTypeField.setCaption("Tipo Disparador");
    jobTriggerTypeField.setImmediate(true);
    jobTriggerTypeField.setWidth("160px");
    jobTriggerTypeField.setHeight("-1px");
    jobTriggerTypeField.setRequired(true);
    mainLayout.addComponent(jobTriggerTypeField, "top:140.0px;left:20.0px;");

    // cronExpressionField
    cronExpressionField = new TextField();
    cronExpressionField.setCaption("Expresión Cron ");
    cronExpressionField.setImmediate(false);
    cronExpressionField.setWidth("340px");
    cronExpressionField.setHeight("-1px");
    mainLayout.addComponent(cronExpressionField, "top:180.0px;left:20.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("620px");
    descriptionField.setHeight("-1px");
    mainLayout.addComponent(descriptionField, "top:100.0px;left:20.0px;");

    // endTimeField
    endTimeField = new DateField();
    endTimeField.setCaption("Fecha Finalización");
    endTimeField.setImmediate(false);
    endTimeField.setWidth("-1px");
    endTimeField.setHeight("-1px");
    endTimeField.setInvalidAllowed(false);
    mainLayout.addComponent(endTimeField, "top:60.0px;left:225.0px;");

    // futureField
    futureField = new CheckBox();
    futureField.setCaption("Futuro");
    futureField.setImmediate(false);
    futureField.setWidth("-1px");
    futureField.setHeight("-1px");
    mainLayout.addComponent(futureField, "top:140.0px;left:585.0px;");

    // future_timeField
    future_timeField = new TextField();
    future_timeField.setCaption("Future_time");
    future_timeField.setImmediate(false);
    future_timeField.setWidth("160px");
    future_timeField.setHeight("-1px");
    mainLayout.addComponent(future_timeField, "top:140.0px;left:400.0px;");

    // repeatCountField
    repeatCountField = new TextField();
    repeatCountField.setCaption("Repeticiones");
    repeatCountField.setImmediate(false);
    repeatCountField.setWidth("60px");
    repeatCountField.setHeight("24px");
    mainLayout.addComponent(repeatCountField, "top:180.0px;right:290.0px;");

    // startTimeField
    startTimeField = new DateField();
    startTimeField.setCaption("Fecha Comienzo");
    startTimeField.setImmediate(false);
    startTimeField.setWidth("-1px");
    startTimeField.setHeight("-1px");
    startTimeField.setInvalidAllowed(false);
    mainLayout.addComponent(startTimeField, "top:60.0px;left:20.0px;");

    // areaField
    areaField = new ComboBox();
    areaField.setCaption("Area Trabajo");
    areaField.setImmediate(false);
    areaField.setWidth("-1px");
    areaField.setHeight("-1px");
    areaField.setRequired(true);
    mainLayout.addComponent(areaField, "top:60.0px;left:420.0px;");

    // jobCalendarField
    jobCalendarField = new JobTriggerCalendarField();
    jobCalendarField.setImmediate(false);
    jobCalendarField.setWidth("-1px");
    jobCalendarField.setHeight("-1px");
    mainLayout.addComponent(jobCalendarField, "top:167.0px;left:397.0px;");

    // jobIntervalTypeField
    jobIntervalTypeField = new ComboBox();
    jobIntervalTypeField.setCaption("Tipo Intervalo");
    jobIntervalTypeField.setImmediate(false);
    jobIntervalTypeField.setWidth("175px");
    jobIntervalTypeField.setHeight("-1px");
    mainLayout.addComponent(jobIntervalTypeField, "top:180.0px;left:100.0px;");

    return mainLayout;
  }
  @AutoGenerated
  private AbsoluteLayout buildGeneralLayout() {
    // common part: create layout
    generalLayout = new AbsoluteLayout();
    generalLayout.setImmediate(false);
    generalLayout.setWidth("100.0%");
    generalLayout.setHeight("100.0%");
    generalLayout.setMargin(false);

    // photoField
    photoField = new ImageField();
    photoField.setImmediate(false);
    photoField.setWidth("420px");
    photoField.setHeight("140px");
    generalLayout.addComponent(photoField, "top:20.0px;left:10.0px;");

    // vatField
    vatField = new TextField();
    vatField.setCaption("CIF/NIF");
    vatField.setImmediate(false);
    vatField.setWidth("120px");
    vatField.setHeight("-1px");
    generalLayout.addComponent(vatField, "top:16.0px;left:435.0px;");

    // clientTypeField
    clientTypeField = new ComboBox();
    clientTypeField.setCaption("Tipo");
    clientTypeField.setImmediate(false);
    clientTypeField.setDescription("Tipo Cliente");
    clientTypeField.setWidth("-1px");
    clientTypeField.setHeight("-1px");
    clientTypeField.setRequired(true);
    generalLayout.addComponent(clientTypeField, "top:54.0px;left:435.0px;");

    // clientGroupField
    clientGroupField = new ComboBox();
    clientGroupField.setCaption("Grupo");
    clientGroupField.setImmediate(false);
    clientGroupField.setWidth("-1px");
    clientGroupField.setHeight("-1px");
    clientGroupField.setRequired(true);
    generalLayout.addComponent(clientGroupField, "top:92.0px;left:435.0px;");

    // phoneField
    phoneField = new TextField();
    phoneField.setCaption("Teléfono 01");
    phoneField.setImmediate(false);
    phoneField.setWidth("115px");
    phoneField.setHeight("-1px");
    generalLayout.addComponent(phoneField, "top:16.0px;left:653.0px;");

    // faxField
    faxField = new TextField();
    faxField.setCaption("Fax");
    faxField.setImmediate(false);
    faxField.setWidth("115px");
    faxField.setHeight("-1px");
    generalLayout.addComponent(faxField, "top:54.0px;left:779.0px;");

    // facebookIdField
    facebookIdField = new TextField();
    facebookIdField.setCaption("Facebook Id");
    facebookIdField.setImmediate(false);
    facebookIdField.setWidth("242px");
    facebookIdField.setHeight("24px");
    generalLayout.addComponent(facebookIdField, "top:90.0px;left:653.0px;");

    // mobileField
    mobileField = new TextField();
    mobileField.setCaption("Teléfono 02");
    mobileField.setImmediate(false);
    mobileField.setWidth("115px");
    mobileField.setHeight("-1px");
    generalLayout.addComponent(mobileField, "top:16.0px;left:780.0px;");

    // descriptionField
    descriptionField = new TextField();
    descriptionField.setCaption("Descripción");
    descriptionField.setImmediate(false);
    descriptionField.setWidth("460px");
    descriptionField.setHeight("-1px");
    generalLayout.addComponent(descriptionField, "top:132.0px;left:435.0px;");

    // commentField
    commentField = new TextArea();
    commentField.setCaption("Comentarios");
    commentField.setImmediate(false);
    commentField.setWidth("885px");
    commentField.setHeight("70px");
    generalLayout.addComponent(commentField, "top:206.0px;left:11.0px;");

    // emailField
    emailField = new TextField();
    emailField.setCaption("Email");
    emailField.setImmediate(false);
    emailField.setWidth("460px");
    emailField.setHeight("-1px");
    generalLayout.addComponent(emailField, "top:172.0px;left:435.0px;");

    return generalLayout;
  }