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

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

/**
* Sencha GXT 3.0.0 - Sencha for GWT
* Copyright(c) 2007-2012, 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.TextInputCell;

/**
* A single line input field.
*/
public class TextField extends ValueBaseField<String> {

  /**
   * Creates a new text field.
   */
  public TextField() {
    this(new TextInputCell());
  }

  /**
   * Creates a new text field with the specified cell
   *
   * @param cell a text input cell that renders the text field
   */
  public TextField(TextInputCell cell) {
    super(cell);
  }

  /**
   * Creates a new text field.
   *
   * @param cell the input cell
   * @param propertyEditor the property editor
   */
  public TextField(TextInputCell cell, PropertyEditor<String> propertyEditor) {
    this(cell);
    setPropertyEditor(propertyEditor);
  }

}
TOP

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

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.