API Reference 0.3.24dart_web_toolkit_editorLeafValueEditor<T>

LeafValueEditor<T> abstract class

Used to edit non-object or immutable values. The Editor framework will not descend into a LeafValueEditor.

@param <T> The type of primitive value @see com.google.gwt.editor.client.adapters.SimpleEditor

abstract class LeafValueEditor<T> implements Editor<T>, TakesValue<T> {

}

Subclasses

HasTextEditor, TakesValueEditor<T>

Implements

TakesValue<T>, Editor<T>

Methods

abstract V getValue() #

inherited from TakesValue

Returns the current value.

@return the value as an object of type V @see #setValue

abstract void setValue(V val, [bool fireEvents = false]) #

inherited from TakesValue

Sets the value. Fires ValueChangeEvent when fireEvents is true and the new value does not equal the existing value.

@param value a value object of type V @see #getValue() @param fireEvents fire events if true and value is new