Class 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 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/to
        pdecorator - corresponding decorator
    • Method Detail

      • getDelegate

        public com.google.gwt.editor.client.EditorDelegate<T> getDelegate()
        Overrides:
        getDelegate in class com.google.gwt.editor.ui.client.adapters.ValueBoxEditor<T>
      • getValue

        public T getValue()
        Specified by:
        getValue in interface com.google.gwt.user.client.TakesValue<T>
        Overrides:
        getValue in class com.google.gwt.editor.ui.client.adapters.ValueBoxEditor<T>
      • setDelegate

        public void setDelegate​(com.google.gwt.editor.client.EditorDelegate<T> pdelegate)
        Specified by:
        setDelegate in interface com.google.gwt.editor.client.HasEditorDelegate<T>
        Overrides:
        setDelegate in class com.google.gwt.editor.ui.client.adapters.ValueBoxEditor<T>
      • setValue

        public void setValue​(T pvalue)
        Specified by:
        setValue in interface com.google.gwt.user.client.TakesValue<T>
        Overrides:
        setValue in class com.google.gwt.editor.ui.client.adapters.ValueBoxEditor<T>
      • 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