com.extjs.gxt.ui.client.widget.form
クラス NumberPropertyEditor

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.form.NumberPropertyEditor
すべての実装インターフェース:
PropertyEditor<java.lang.Number>

public class NumberPropertyEditor
extends java.lang.Object
implements PropertyEditor<java.lang.Number>

PropertyEditory that uses a NumberFormat.


Field 概要
 
インタフェース com.extjs.gxt.ui.client.widget.form.PropertyEditor から継承されたフィールド(Fields)
DEFAULT
 
コンストラクタ 概要
NumberPropertyEditor()
           
NumberPropertyEditor(com.google.gwt.i18n.client.NumberFormat format)
           
NumberPropertyEditor(java.lang.String pattern)
           
 
メソッド 概要
 java.lang.Double convertStringValue(java.lang.String value)
          Converts a string to the typed value.
 com.google.gwt.i18n.client.NumberFormat getFormat()
           
 java.lang.String getStringValue(java.lang.Number value)
          Returns the data as a string.
 void setFormat(com.google.gwt.i18n.client.NumberFormat format)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタ 詳細

NumberPropertyEditor

public NumberPropertyEditor()

NumberPropertyEditor

public NumberPropertyEditor(java.lang.String pattern)

NumberPropertyEditor

public NumberPropertyEditor(com.google.gwt.i18n.client.NumberFormat format)
メソッド 詳細

getFormat

public com.google.gwt.i18n.client.NumberFormat getFormat()

setFormat

public void setFormat(com.google.gwt.i18n.client.NumberFormat format)

convertStringValue

public java.lang.Double convertStringValue(java.lang.String value)
Description copied from interface: PropertyEditor
Converts a string to the typed value.

Specified by:
convertStringValue in interface PropertyEditor<java.lang.Number>
パラメータ:
value - the string value
戻り値:
the type value or null if value cannot be converted

getStringValue

public java.lang.String getStringValue(java.lang.Number value)
Description copied from interface: PropertyEditor
Returns the data as a string.

Specified by:
getStringValue in interface PropertyEditor<java.lang.Number>
パラメータ:
value - the typed value
戻り値:
the value as a string