Class DataSetDefClientCacheAttributesEditor

  • All Implemented Interfaces:
    com.google.gwt.editor.client.Editor<org.dashbuilder.dataset.def.DataSetDef>, com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.DataSetDef>, com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataSetDef>, com.google.gwt.user.client.ui.IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefClientCacheAttributesEditor

    @Dependent
    public class DataSetDefClientCacheAttributesEditor
    extends Object
    implements com.google.gwt.user.client.ui.IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefClientCacheAttributesEditor

    Data Set client cache attributes editor presenter.

    Since:
    0.4.0
    • Constructor Detail

      • DataSetDefClientCacheAttributesEditor

        @Inject
        public DataSetDefClientCacheAttributesEditor​(org.dashbuilder.common.client.editor.ToggleSwitchEditor pushEnabled,
                                                     org.dashbuilder.common.client.editor.ValueBoxEditor<Integer> pushMaxSize,
                                                     DataSetDefCacheAttributesEditorView view)
    • Method Detail

      • setRange

        public void setRange​(Double min,
                             Double max)
      • asWidget

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

        public org.dashbuilder.common.client.editor.ToggleSwitchEditor pushEnabled()
        GWT EDITOR CONTRACT METHODS **
        Specified by:
        pushEnabled in interface org.dashbuilder.dataset.client.editor.DataSetDefClientCacheAttributesEditor
      • pushMaxSize

        public org.dashbuilder.common.client.editor.ValueBoxEditor<Integer> pushMaxSize()
        Specified by:
        pushMaxSize in interface org.dashbuilder.dataset.client.editor.DataSetDefClientCacheAttributesEditor
      • flush

        public void flush()
        Specified by:
        flush in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataSetDef>
      • onPropertyChange

        public void onPropertyChange​(String... paths)
        Specified by:
        onPropertyChange in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataSetDef>
      • setValue

        public void setValue​(org.dashbuilder.dataset.def.DataSetDef value)
        Specified by:
        setValue in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataSetDef>
      • setDelegate

        public void setDelegate​(com.google.gwt.editor.client.EditorDelegate<org.dashbuilder.dataset.def.DataSetDef> delegate)
        Specified by:
        setDelegate in interface com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.DataSetDef>