com.sencha.gxt.widget.core.client.form
Class PropertyEditor<T>

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.form.PropertyEditor<T>
Type Parameters:
T - the field's data type
All Implemented Interfaces:
Parser<T>, Renderer<T>
Direct Known Subclasses:
DateTimePropertyEditor, NumberPropertyEditor

public abstract class PropertyEditor<T>
extends java.lang.Object
implements Renderer<T>, Parser<T>

Abstract base class for property editors. Property editors are generally responsible for string / value conversion and other operations.


Field Summary
static PropertyEditor<?> DEFAULT
          A default property editor that renders itself using it's Object.toString() method and parses itself as itself.
 
Constructor Summary
PropertyEditor()
           
 
Method Summary
 void render(T object, java.lang.Appendable appendable)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.gwt.text.shared.Renderer
render
 
Methods inherited from interface com.google.gwt.text.shared.Parser
parse
 

Field Detail

DEFAULT

public static final PropertyEditor<?> DEFAULT
A default property editor that renders itself using it's Object.toString() method and parses itself as itself.

Constructor Detail

PropertyEditor

public PropertyEditor()
Method Detail

render

public void render(T object,
                   java.lang.Appendable appendable)
            throws java.io.IOException
Specified by:
render in interface Renderer<T>
Throws:
java.io.IOException


Copyright © 2012. All Rights Reserved.