Package com.sencha.gxt.widget.core.client.form

Source Code of com.sencha.gxt.widget.core.client.form.DoubleField

/**
* Sencha GXT 3.1.0-beta - Sencha for GWT
* Copyright(c) 2007-2014, Sencha, Inc.
* licensing@sencha.com
*
* http://www.sencha.com/products/gxt/license/
*/
package com.sencha.gxt.widget.core.client.form;

import com.sencha.gxt.cell.core.client.form.NumberInputCell;
import com.sencha.gxt.widget.core.client.form.NumberPropertyEditor.DoublePropertyEditor;

/**
* A Field that accepts double values.
*/
public class DoubleField extends NumberField<Double> {

  /**
   * Creates a DoubleField with the default cell and appearance.
   *
   * @param cell the number input cell.
   */
  public DoubleField() {
    super(new DoublePropertyEditor());
  }

  /**
   * Creates a DoubleField with the given cell instance. This can be used to provide an alternate
   * appearance or otherwise modify how content is rendered or events handled.
   */
  public DoubleField(NumberInputCell<Double> cell) {
    super(cell, new DoublePropertyEditor());
  }

}
TOP

Related Classes of com.sencha.gxt.widget.core.client.form.DoubleField

TOP
Copyright © 2018 www.massapi.com. 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.