public class InputClauseColumnHeaderMetaData extends ValueAndDataTypeHeaderMetaData<Text,HasText> implements HasCellEditorControls, HasListSelectorControl
HasCellEditorControls.Editor<T>HasListSelectorControl.ListSelectorDividerItem, HasListSelectorControl.ListSelectorHeaderItem, HasListSelectorControl.ListSelectorItem, HasListSelectorControl.ListSelectorTextItemclearValueConsumer, hasTypeRef, hasValue, setTypeRefConsumer, setValueConsumer, translationServicecellEditorControls, editor| Constructor and Description |
|---|
InputClauseColumnHeaderMetaData(HasText hasValue,
Supplier<HasTypeRef> hasTypeRef,
Consumer<HasText> clearValueConsumer,
BiConsumer<HasText,Text> setValueConsumer,
BiConsumer<HasTypeRef,QName> setTypeRefConsumer,
org.jboss.errai.ui.client.local.spi.TranslationService translationService,
CellEditorControlsView.Presenter cellEditorControls,
ValueAndDataTypePopoverView.Presenter editor,
ListSelectorView.Presenter listSelector,
BiFunction<Integer,Integer,List<HasListSelectorControl.ListSelectorItem>> listSelectorItemsSupplier,
Consumer<HasListSelectorControl.ListSelectorItem> listSelectorItemConsumer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnGroup() |
Optional<HasCellEditorControls.Editor> |
getEditor() |
List<HasListSelectorControl.ListSelectorItem> |
getItems(int uiRowIndex,
int uiColumnIndex) |
String |
getPopoverTitle()
Returns the
String for the ValueAndDataTypePopoverView title used to to edit properties. |
Text |
getValue() |
String |
getValueLabel()
Returns the
String for the _value_ label in the ValueAndDataTypePopoverView |
protected boolean |
isEmptyValue(Text value) |
String |
normaliseValue(String componentValue)
Returns a _normalised_ value that can be used to populate the domain model from the value entered by Users.
|
void |
onItemSelected(HasListSelectorControl.ListSelectorItem item) |
Text |
toModelValue(String componentValue)
Converts the value in the UI to the domain model value.
|
String |
toWidgetValue(Text modelValue)
Converts the value in the domain model to the UI value.
|
asDMNModelInstrumentedBase, getHasTypeRefs, getPresenter, getTitle, getTypeRef, render, setTypeRef, setValuedestroyResources, edit, setColumnGroup, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlaceHolder, getSupportedEditAction, renderPlaceHolderpublic InputClauseColumnHeaderMetaData(HasText hasValue, Supplier<HasTypeRef> hasTypeRef, Consumer<HasText> clearValueConsumer, BiConsumer<HasText,Text> setValueConsumer, BiConsumer<HasTypeRef,QName> setTypeRefConsumer, org.jboss.errai.ui.client.local.spi.TranslationService translationService, CellEditorControlsView.Presenter cellEditorControls, ValueAndDataTypePopoverView.Presenter editor, ListSelectorView.Presenter listSelector, BiFunction<Integer,Integer,List<HasListSelectorControl.ListSelectorItem>> listSelectorItemsSupplier, Consumer<HasListSelectorControl.ListSelectorItem> listSelectorItemConsumer)
protected boolean isEmptyValue(Text value)
isEmptyValue in class ValueAndDataTypeHeaderMetaData<Text,HasText>public Text toModelValue(String componentValue)
HasValueAndTypeReftoModelValue in interface HasValueAndTypeRef<Text>public String toWidgetValue(Text modelValue)
HasValueAndTypeReftoWidgetValue in interface HasValueAndTypeRef<Text>public String getValueLabel()
HasValueAndTypeRefString for the _value_ label in the ValueAndDataTypePopoverViewgetValueLabel in interface HasValueAndTypeRef<Text>public String normaliseValue(String componentValue)
HasValueAndTypeRefnormaliseValue in interface HasValueAndTypeRef<Text>public String getColumnGroup()
getColumnGroup in interface org.uberfire.ext.wires.core.grids.client.model.GridColumn.HeaderMetaDatapublic String getPopoverTitle()
HasValueAndTypeRefString for the ValueAndDataTypePopoverView title used to to edit properties.getPopoverTitle in interface HasValueAndTypeRef<Text>public Optional<HasCellEditorControls.Editor> getEditor()
getEditor in interface HasCellEditorControlspublic List<HasListSelectorControl.ListSelectorItem> getItems(int uiRowIndex, int uiColumnIndex)
getItems in interface HasListSelectorControlpublic void onItemSelected(HasListSelectorControl.ListSelectorItem item)
onItemSelected in interface HasListSelectorControlCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.