Class DataSetDefBackendCacheAttributesEditor

  • 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.DataSetDefBackendCacheAttributesEditor

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

    Data Set backend cache attributes editor presenter.

    Since:
    0.4.0
    • Constructor Detail

      • DataSetDefBackendCacheAttributesEditor

        @Inject
        public DataSetDefBackendCacheAttributesEditor​(org.dashbuilder.common.client.editor.ToggleSwitchEditor cacheEnabled,
                                                      org.dashbuilder.common.client.editor.ValueBoxEditor<Integer> cacheMaxRows,
                                                      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
      • cacheEnabled

        public org.dashbuilder.common.client.editor.ToggleSwitchEditor cacheEnabled()
        GWT EDITOR CONTRACT METHODS **
        Specified by:
        cacheEnabled in interface org.dashbuilder.dataset.client.editor.DataSetDefBackendCacheAttributesEditor
      • cacheMaxRows

        public org.dashbuilder.common.client.editor.ValueBoxEditor<Integer> cacheMaxRows()
        Specified by:
        cacheMaxRows in interface org.dashbuilder.dataset.client.editor.DataSetDefBackendCacheAttributesEditor
      • 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>