Class ExtendedValueBoxEditor<T>
- java.lang.Object
-
- com.google.gwt.editor.client.adapters.TakesValueEditor<T>
-
- com.google.gwt.editor.ui.client.adapters.ValueBoxEditor<T>
-
- de.knightsoftnet.validators.client.decorators.ExtendedValueBoxEditor<T>
-
- All Implemented Interfaces:
com.google.gwt.editor.client.Editor<T>,com.google.gwt.editor.client.HasEditorDelegate<T>,com.google.gwt.editor.client.LeafValueEditor<T>,com.google.gwt.user.client.TakesValue<T>
public class ExtendedValueBoxEditor<T> extends com.google.gwt.editor.ui.client.adapters.ValueBoxEditor<T>
-
-
Constructor Summary
Constructors Constructor Description ExtendedValueBoxEditor(com.google.gwt.user.client.TakesValue<T> ptakesValues, AbstractDecorator<T> pdecorator)constructor uses widget as base.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractDecorator<T>getDecorator()getter for the decorator.com.google.gwt.editor.client.EditorDelegate<T>getDelegate()com.google.gwt.user.client.TakesValue<T>getTakesValues()getter for the widget which takes the values.TgetValue()voidsetDelegate(com.google.gwt.editor.client.EditorDelegate<T> pdelegate)voidsetValue(T pvalue)
-
-
-
Constructor Detail
-
ExtendedValueBoxEditor
public ExtendedValueBoxEditor(com.google.gwt.user.client.TakesValue<T> ptakesValues, AbstractDecorator<T> pdecorator)
constructor uses widget as base.- Parameters:
ptakesValues- widget which is able to set and get value from/topdecorator- corresponding decorator
-
-
Method Detail
-
getDelegate
public com.google.gwt.editor.client.EditorDelegate<T> getDelegate()
- Overrides:
getDelegatein classcom.google.gwt.editor.ui.client.adapters.ValueBoxEditor<T>
-
getValue
public T getValue()
-
setDelegate
public void setDelegate(com.google.gwt.editor.client.EditorDelegate<T> pdelegate)
-
setValue
public void setValue(T pvalue)
-
getDecorator
public final AbstractDecorator<T> getDecorator()
getter for the decorator.- Returns:
- the decorator
-
getTakesValues
public final com.google.gwt.user.client.TakesValue<T> getTakesValues()
getter for the widget which takes the values.- Returns:
- the takesValues
-
-