Class ValueBoxEditor<T>

  • All Implemented Interfaces:
    com.google.gwt.editor.client.Editor<T>, com.google.gwt.editor.client.HasEditorErrors<T>, com.google.gwt.editor.client.LeafValueEditor<T>, com.google.gwt.user.client.TakesValue<T>, com.google.gwt.user.client.ui.IsWidget, LeafAttributeEditor<T>

    @Dependent
    public class ValueBoxEditor<T>
    extends Object
    implements com.google.gwt.user.client.ui.IsWidget, LeafAttributeEditor<T>

    Provides an editor for a ValueBoxBase widget of type T.

    It displays the editor errors using a bootstrap tooltip.

    Since:
    0.4.0
    • Method Detail

      • addHelpContent

        public void addHelpContent​(String title,
                                   String content,
                                   org.gwtbootstrap3.client.ui.constants.Placement placement)
      • showErrors

        public void showErrors​(List<com.google.gwt.editor.client.EditorError> errors)
        Specified by:
        showErrors in interface com.google.gwt.editor.client.HasEditorErrors<T>
      • asWidget

        public com.google.gwt.user.client.ui.Widget asWidget()
        Specified by:
        asWidget in interface com.google.gwt.user.client.ui.IsWidget
      • setValue

        public void setValue​(T value)
        Specified by:
        setValue in interface com.google.gwt.user.client.TakesValue<T>
      • getValue

        public T getValue()
        Specified by:
        getValue in interface com.google.gwt.user.client.TakesValue<T>