Package org.linkki.core.ui.aspects
Class GenericAvailableValuesAspectDefinition
- java.lang.Object
-
- org.linkki.core.ui.aspects.AvailableValuesAspectDefinition<com.vaadin.flow.data.provider.HasListDataView<Object,?>>
-
- org.linkki.core.ui.aspects.GenericAvailableValuesAspectDefinition
-
- All Implemented Interfaces:
LinkkiAspectDefinition
public class GenericAvailableValuesAspectDefinition extends AvailableValuesAspectDefinition<com.vaadin.flow.data.provider.HasListDataView<Object,?>>
-
-
Field Summary
-
Fields inherited from class org.linkki.core.ui.aspects.AvailableValuesAspectDefinition
NAME
-
Fields inherited from interface org.linkki.core.binding.descriptor.aspect.LinkkiAspectDefinition
DERIVED_BY_LINKKI, VALUE_ASPECT_NAME
-
-
Constructor Summary
Constructors Constructor Description GenericAvailableValuesAspectDefinition(AvailableValuesType availableValuesType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleNullItems(ComponentWrapper componentWrapper, List<?> items)Handlesnullvalues in the list of available values that is about to be set to the component.-
Methods inherited from class org.linkki.core.ui.aspects.AvailableValuesAspectDefinition
createAspect, createUiUpdater, getAvailableValuesType, getValuesDerivedFromDatatype, setDataProvider
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.linkki.core.binding.descriptor.aspect.LinkkiAspectDefinition
initModelUpdate, supports
-
-
-
-
Constructor Detail
-
GenericAvailableValuesAspectDefinition
public GenericAvailableValuesAspectDefinition(AvailableValuesType availableValuesType)
-
-
Method Detail
-
handleNullItems
protected void handleNullItems(ComponentWrapper componentWrapper, List<?> items)
Description copied from class:AvailableValuesAspectDefinitionHandlesnullvalues in the list of available values that is about to be set to the component. By default, the items list is directly passed to theComponentWrapperwithout further processing.Note that you have to modify the given list of values directly.
- Overrides:
handleNullItemsin classAvailableValuesAspectDefinition<com.vaadin.flow.data.provider.HasListDataView<Object,?>>- Parameters:
componentWrapper- component of which available values should be updateditems- items to be shown in theComponentWrapper. May containnull.
-
-