Class DataSetDefRefreshAttributesEditor
- java.lang.Object
-
- org.dashbuilder.client.widgets.dataset.editor.attributes.DataSetDefRefreshAttributesEditor
-
- 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.DataSetDefRefreshAttributesEditor
@Dependent public class DataSetDefRefreshAttributesEditor extends Object implements com.google.gwt.user.client.ui.IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefRefreshAttributesEditor
Data Set refresh attributes editor presenter.
- Since:
- 0.4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSetDefRefreshAttributesEditor.View
-
Field Summary
Fields Modifier and Type Field Description DataSetDefRefreshAttributesEditor.Viewview
-
Constructor Summary
Constructors Constructor Description DataSetDefRefreshAttributesEditor(org.dashbuilder.common.client.editor.ToggleSwitchEditor refreshAlways, DataSetDefRefreshIntervalEditor refreshTime, DataSetDefRefreshAttributesEditor.View view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gwt.user.client.ui.WidgetasWidget()voidflush()voidinit()booleanisRefreshEnabled()voidonPropertyChange(String... paths)org.dashbuilder.common.client.editor.ToggleSwitchEditorrefreshAlways()GWT EDITOR CONTRACT METHODS **DataSetDefRefreshIntervalEditorrefreshTime()voidsetDelegate(com.google.gwt.editor.client.EditorDelegate<org.dashbuilder.dataset.def.DataSetDef> delegate)voidsetValue(org.dashbuilder.dataset.def.DataSetDef value)
-
-
-
Field Detail
-
view
public DataSetDefRefreshAttributesEditor.View view
-
-
Constructor Detail
-
DataSetDefRefreshAttributesEditor
@Inject public DataSetDefRefreshAttributesEditor(org.dashbuilder.common.client.editor.ToggleSwitchEditor refreshAlways, DataSetDefRefreshIntervalEditor refreshTime, DataSetDefRefreshAttributesEditor.View view)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
isRefreshEnabled
public boolean isRefreshEnabled()
- Specified by:
isRefreshEnabledin interfaceorg.dashbuilder.dataset.client.editor.DataSetDefRefreshAttributesEditor
-
asWidget
public com.google.gwt.user.client.ui.Widget asWidget()
- Specified by:
asWidgetin interfacecom.google.gwt.user.client.ui.IsWidget
-
refreshAlways
public org.dashbuilder.common.client.editor.ToggleSwitchEditor refreshAlways()
GWT EDITOR CONTRACT METHODS **- Specified by:
refreshAlwaysin interfaceorg.dashbuilder.dataset.client.editor.DataSetDefRefreshAttributesEditor
-
refreshTime
public DataSetDefRefreshIntervalEditor refreshTime()
- Specified by:
refreshTimein interfaceorg.dashbuilder.dataset.client.editor.DataSetDefRefreshAttributesEditor
-
flush
public void flush()
- Specified by:
flushin interfacecom.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataSetDef>
-
onPropertyChange
public void onPropertyChange(String... paths)
- Specified by:
onPropertyChangein interfacecom.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataSetDef>
-
setValue
public void setValue(org.dashbuilder.dataset.def.DataSetDef value)
- Specified by:
setValuein interfacecom.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:
setDelegatein interfacecom.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.DataSetDef>
-
-