Class ExtendedValueBoxEditor<T>

  • All Implemented Interfaces:
    org.gwtproject.editor.client.Editor<T>, org.gwtproject.editor.client.HasEditorDelegate<T>, org.gwtproject.editor.client.LeafValueEditor<T>

    public class ExtendedValueBoxEditor<T>
    extends ValueBoxEditor<T>
    • Constructor Detail

      • ExtendedValueBoxEditor

        public ExtendedValueBoxEditor​(org.gwtproject.editor.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

      • setDelegate

        public void setDelegate​(org.gwtproject.editor.client.EditorDelegate<T> pdelegate)
        Description copied from class: ValueBoxEditor
        Sets the EditorDelegate for this instance. This method is only called by the driver.
        Specified by:
        setDelegate in interface org.gwtproject.editor.client.HasEditorDelegate<T>
        Overrides:
        setDelegate in class ValueBoxEditor<T>
        Parameters:
        pdelegate - an EditorDelegate, or null
        See Also:
        ValueBoxEditor.getDelegate()
      • setValue

        public void setValue​(T pvalue)
        Specified by:
        setValue in interface org.gwtproject.editor.client.LeafValueEditor<T>
        Overrides:
        setValue in class ValueBoxEditor<T>
      • getDecorator

        public final AbstractDecorator<T> getDecorator()
        getter for the decorator.
        Returns:
        the decorator
      • getTakesValues

        public final org.gwtproject.editor.client.TakesValue<T> getTakesValues()
        getter for the widget which takes the values.
        Returns:
        the takesValues