C - Concrete configurator typepublic interface PropertyListingConfigurator<C extends PropertyListingConfigurator<C>> extends ItemListingConfigurator<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property<?>,PropertyListing,C>, InputGroupConfigurator.PropertySetInputGroupConfigurator<ItemListing.EditorComponentGroup<com.holonplatform.core.property.Property<?>,com.holonplatform.core.property.PropertyBox>,C>
PropertyListing configurator.ItemListingConfigurator.ColumnAlignment, ItemListingConfigurator.EditableItemListingRow<P>, ItemListingConfigurator.EditableItemListingSection<P>, ItemListingConfigurator.ItemListingColumnBuilder<T,P,L extends ItemListing<T,P>,B extends ItemListingConfigurator<T,P,L,B>>, ItemListingConfigurator.ItemListingColumnConfigurator<T,P,C extends ItemListingConfigurator.ItemListingColumnConfigurator<T,P,C>>, ItemListingConfigurator.ItemListingContextMenuBuilder<T,P,L extends ItemListing<T,P>,B extends ItemListingConfigurator<T,P,L,B>>ComponentConfigurator.BaseComponentConfiguratorInputGroupConfigurator.BeanInputGroupConfigurator<T,G extends BoundComponentGroup<String,Input<?>>,C extends InputGroupConfigurator.BeanInputGroupConfigurator<T,G,C>>, InputGroupConfigurator.PropertySetInputGroupConfigurator<G extends BoundComponentGroup<com.holonplatform.core.property.Property<?>,Input<?>>,C extends InputGroupConfigurator.PropertySetInputGroupConfigurator<G,C>>FULL_SIZE| Modifier and Type | Method and Description |
|---|---|
default <T> C |
editor(com.holonplatform.core.property.Property<T> property,
Function<com.holonplatform.core.property.Property<? extends T>,Input<T>> function)
Set the function to provide the
Input to use as given property column editor, when a listing
row is in editable mode. |
default <T> C |
editor(com.holonplatform.core.property.Property<T> property,
Input<T> input)
Set the
Input to use as given property column editor, when a listing row is in editable
mode. |
default <T,V> C |
editor(com.holonplatform.core.property.Property<T> property,
Input<V> input,
com.vaadin.flow.data.converter.Converter<V,T> converter)
|
<T> C |
editor(com.holonplatform.core.property.Property<T> property,
com.holonplatform.core.property.PropertyRenderer<Input<T>,T> renderer)
Set the
PropertyRenderer to provide the Input to use as given property column
editor, when a listing row is in editable mode. |
default <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>> |
editorField(com.holonplatform.core.property.Property<T> property,
F field)
Set the
HasValue component to use as given property column editor, when a listing row is in
editable mode. |
default <T,V,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,V>> |
editorField(com.holonplatform.core.property.Property<T> property,
F field,
com.vaadin.flow.data.converter.Converter<V,T> converter)
Set the
HasValue component to use as given property column editor, when a listing row is in
editable mode, ad the Converter to use to convert the HasValue value type to the required
property value type. |
default <T> C |
renderAsViewComponent(com.holonplatform.core.property.Property<T> property)
Render the column associated to given
property using a ViewComponent. |
<X> ItemListingConfigurator.ItemListingColumnBuilder<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property<?>,PropertyListing,C> |
withColumn(com.holonplatform.core.property.VirtualProperty<X> property)
Add a column which contents will be rendered using given
VirtualProperty. |
ItemListingConfigurator.ItemListingColumnBuilder<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property<?>,PropertyListing,C> |
withComponentColumn(com.holonplatform.core.property.VirtualProperty<? extends com.vaadin.flow.component.Component> property)
Add a column which contents will be rendered as a
Component using given VirtualProperty. |
alignment, columnReorderingAllowed, componentRenderer, contextMenu, displayAfter, displayAsFirst, displayAsLast, displayBefore, editable, editable, editorBuffered, editorComponent, editorComponent, expand, flexGrow, footer, footer, footer, footer, footerComponent, frozen, frozen, frozenColumns, header, header, header, header, headerComponent, heightByRows, hidden, itemDetailsComponent, itemDetailsRenderer, itemDetailsText, itemDetailsVisibleOnClick, multiSelect, multiSort, notSelectable, pageSize, readOnly, renderer, resizable, resizable, selectionMode, singleSelect, sortable, sortable, sortComparator, sortProvider, sortUsing, sortUsing, styleNameGenerator, styleNameGenerator, valueProvider, verticalScrollingEnabled, visible, visibleColumns, visibleColumns, width, withColumn, withComponentColumn, withEditorCancelListener, withEditorCloseListener, withEditorOpenListener, withEditorSaveListener, withItemClickListener, withItemRefreshListener, withSelectionListenerelementConfiguration, hidden, id, visible, withAttachListener, withDetachListenerwithEventListener, withEventListener, withThemeNamefullHeight, fullSize, fullWidth, height, height, heightUndefined, maxHeight, maxWidth, minHeight, minWidth, sizeUndefined, width, width, widthUndefinedstyleName, styleNamesdisabled, enabledtabIndex, withBlurListener, withFocusListener, withFocusShortcut, withFocusShortcutKeywithThemeVariantsdefaultValue, withValidator, withValueChangeListenerenableRefreshOnValueChange, groupValidationStatusHandler, required, required, required, required, validationStatusHandler, validationStatusHandler, validationStatusLabel, withPostProcessor, withValidatorusePropertyRendererRegistry, withValueChangeListener<X> ItemListingConfigurator.ItemListingColumnBuilder<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property<?>,PropertyListing,C> withColumn(com.holonplatform.core.property.VirtualProperty<X> property)
VirtualProperty.
The virtual property PropertyValueProvider will be invoked for each listing item to obtain the value to
display.
X - Property typeproperty - The virtual property which represent the column.ItemListingColumnBuilder which allow further column configuration and provides the
ItemListingColumnBuilder#add() method to add the column to the listingItemListingConfigurator.ItemListingColumnBuilder<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property<?>,PropertyListing,C> withComponentColumn(com.holonplatform.core.property.VirtualProperty<? extends com.vaadin.flow.component.Component> property)
Component using given VirtualProperty.
The virtual property PropertyValueProvider will be invoked for each listing item to obtain the Component
to display.
property - The virtual property which represent the column.ItemListingColumnBuilder which allow further column configuration and provides the
ItemListingColumnBuilder#add() method to add the column to the listing<T> C editor(com.holonplatform.core.property.Property<T> property, com.holonplatform.core.property.PropertyRenderer<Input<T>,T> renderer)
PropertyRenderer to provide the Input to use as given property column
editor, when a listing row is in editable mode.T - Property typeproperty - The property for which to set the editor provider (not null)renderer - The property Input provider (not null)default <T> C editor(com.holonplatform.core.property.Property<T> property, Function<com.holonplatform.core.property.Property<? extends T>,Input<T>> function)
Input to use as given property column editor, when a listing
row is in editable mode.T - Property typeproperty - The property for which to set the editor provider (not null)function - The function to use to provider the property Input editor (not null)default <T> C editor(com.holonplatform.core.property.Property<T> property, Input<T> input)
Input to use as given property column editor, when a listing row is in editable
mode.default <T,V> C editor(com.holonplatform.core.property.Property<T> property, Input<V> input, com.vaadin.flow.data.converter.Converter<V,T> converter)
default <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>> C editorField(com.holonplatform.core.property.Property<T> property, F field)
HasValue component to use as given property column editor, when a listing row is in
editable mode.T - Property typeF - HasValue typeproperty - The property for which to set the editor (not null)field - The HasValue component to use as property editor (not null)default <T,V,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,V>> C editorField(com.holonplatform.core.property.Property<T> property, F field, com.vaadin.flow.data.converter.Converter<V,T> converter)
HasValue component to use as given property column editor, when a listing row is in
editable mode, ad the Converter to use to convert the HasValue value type to the required
property value type.T - Property typeV - HasValue value typeF - HasValue typeproperty - The property for which to set the editor (not null)field - The HasValue component to use as property editor (not null)converter - The value converter (not null)default <T> C renderAsViewComponent(com.holonplatform.core.property.Property<T> property)
property using a ViewComponent.
The current PropertyRendererRegistry is used, if available, to render the property as a
ViewComponent.
By default, the ViewComponent.getContentComponent() method is used to obtain the Component with which to
render the cell contents, in order to exclude any ViewComponent label.
If a ViewComponent is not available or it ha not content Component, and empty Div is returned as
cell content.
T - Property typeproperty - The property to render as a ViewComponent (not null)Copyright © 2019 The Holon Platform. All rights reserved.