Package com.extjs.gxt.ui.client.widget.form

Examples of com.extjs.gxt.ui.client.widget.form.SpinnerField


    super();
    this.mainTabTareas = mainTabTareas;
     setHeading("iEvenTask - Division de tareas");
     addText("Se dividira la tarea " + text);
    
     cantidad = new SpinnerField()
     cantidad.getPropertyEditor().setType(Integer.class)
     cantidad.getPropertyEditor().setFormat(NumberFormat.getFormat("00"))
     cantidad.setFieldLabel("Cantidad");
     cantidad.setMinValue(2)
     cantidad.setMaxValue(10)
View Full Code Here


    simple.setButtonAlign(HorizontalAlignment.CENTER);

    FormButtonBinding binding = new FormButtonBinding(simple);
    binding.addButton(b);

    SpinnerField spinnerField = new SpinnerField();
    spinnerField.setIncrement(.1d);
    spinnerField.getPropertyEditor().setType(Double.class);
    spinnerField.getPropertyEditor().setFormat(NumberFormat.getFormat("00.0"));
    spinnerField.setFieldLabel("Duration (s)");
    spinnerField.setMinValue(-10d);
    spinnerField.setMaxValue(10d);
    simple.add(spinnerField, formData);

    vp.add(simple);
  }
View Full Code Here

TOP

Related Classes of com.extjs.gxt.ui.client.widget.form.SpinnerField

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.