@Dependent public class ColumnListEditor extends Object implements com.google.gwt.user.client.ui.IsWidget, ColumnListEditor
Data Set column list editor presenter.
Modifier and Type | Class and Description |
---|---|
static interface |
ColumnListEditor.View |
Modifier and Type | Field and Description |
---|---|
ColumnListEditor.View |
view |
Constructor and Description |
---|
ColumnListEditor(org.jboss.errai.ioc.client.container.SyncBeanManager beanManager,
DataColumnDefDriver dataColumnDefDriver,
javax.enterprise.event.Event<ColumnsChangedEvent> columnsChangedEvent,
ColumnListEditor.View view) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
clear() |
DataColumnDefEditor |
createEditorForTraversal()
GWT EDITOR CONTRACT METHODS **
|
void |
flush() |
String |
getPathElement(DataColumnDefEditor subEditor) |
void |
init() |
void |
onPropertyChange(String... paths) |
void |
onValueRestricted(String value)
Set the column that cannot be removed from the list, as it's used by the filter.
|
void |
onValueUnRestricted(String value)
Set the column that can be removed again from the list, as it's no longer used by the filter.
|
void |
setAcceptableValues(List<org.dashbuilder.dataset.def.DataColumnDef> acceptableValues)
Set all data set available columns (not only the current used ones)
|
void |
setDelegate(com.google.gwt.editor.client.EditorDelegate<List<org.dashbuilder.dataset.def.DataColumnDef>> delegate) |
void |
setEditorChain(com.google.gwt.editor.client.CompositeEditor.EditorChain<org.dashbuilder.dataset.def.DataColumnDef,DataColumnDefEditor> chain) |
void |
setProviderType(org.dashbuilder.dataprovider.DataSetProviderType type) |
void |
setValue(List<org.dashbuilder.dataset.def.DataColumnDef> value) |
void |
showErrors(List<com.google.gwt.editor.client.EditorError> errors) |
public ColumnListEditor.View view
@Inject public ColumnListEditor(org.jboss.errai.ioc.client.container.SyncBeanManager beanManager, DataColumnDefDriver dataColumnDefDriver, javax.enterprise.event.Event<ColumnsChangedEvent> columnsChangedEvent, ColumnListEditor.View view)
@PostConstruct public void init()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
public void setAcceptableValues(List<org.dashbuilder.dataset.def.DataColumnDef> acceptableValues)
setAcceptableValues
in interface HasConstrainedValue<List<org.dashbuilder.dataset.def.DataColumnDef>>
acceptableValues
- Acceptable values for the editor.public void onValueRestricted(String value)
onValueRestricted
in interface HasRestrictedValue<String>
value
- The column id.public void onValueUnRestricted(String value)
onValueUnRestricted
in interface HasRestrictedValue<String>
value
- The column id.public void setProviderType(org.dashbuilder.dataprovider.DataSetProviderType type)
setProviderType
in interface ColumnListEditor
public void clear()
public DataColumnDefEditor createEditorForTraversal()
createEditorForTraversal
in interface com.google.gwt.editor.client.CompositeEditor<List<org.dashbuilder.dataset.def.DataColumnDef>,org.dashbuilder.dataset.def.DataColumnDef,DataColumnDefEditor>
public String getPathElement(DataColumnDefEditor subEditor)
getPathElement
in interface com.google.gwt.editor.client.CompositeEditor<List<org.dashbuilder.dataset.def.DataColumnDef>,org.dashbuilder.dataset.def.DataColumnDef,DataColumnDefEditor>
public void setEditorChain(com.google.gwt.editor.client.CompositeEditor.EditorChain<org.dashbuilder.dataset.def.DataColumnDef,DataColumnDefEditor> chain)
setEditorChain
in interface com.google.gwt.editor.client.CompositeEditor<List<org.dashbuilder.dataset.def.DataColumnDef>,org.dashbuilder.dataset.def.DataColumnDef,DataColumnDefEditor>
public void setDelegate(com.google.gwt.editor.client.EditorDelegate<List<org.dashbuilder.dataset.def.DataColumnDef>> delegate)
setDelegate
in interface com.google.gwt.editor.client.HasEditorDelegate<List<org.dashbuilder.dataset.def.DataColumnDef>>
public void showErrors(List<com.google.gwt.editor.client.EditorError> errors)
showErrors
in interface com.google.gwt.editor.client.HasEditorErrors<List<org.dashbuilder.dataset.def.DataColumnDef>>
public void flush()
flush
in interface com.google.gwt.editor.client.ValueAwareEditor<List<org.dashbuilder.dataset.def.DataColumnDef>>
public void onPropertyChange(String... paths)
onPropertyChange
in interface com.google.gwt.editor.client.ValueAwareEditor<List<org.dashbuilder.dataset.def.DataColumnDef>>
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.