public interface ListComponent<E extends Entity> extends Component, Component.BelongToFrame, ActionsHolder
Modifier and Type | Interface and Description |
---|---|
static interface |
ListComponent.IconProvider<E extends Entity>
Deprecated.
Use
Function instead |
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider, Component.Wrapper
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
CollectionDatasource |
getDatasource()
Deprecated.
|
DataUnit |
getItems() |
java.util.Set<E> |
getSelected() |
E |
getSingleSelected() |
boolean |
isMultiSelect() |
void |
setSelected(java.util.Collection<E> items) |
void |
setSelected(E item) |
getFrame, setFrame
addAction, addAction, getAction, getActionNN, getActions, getSubPart, removeAction, removeAction, removeAllActions
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, getWidthUnits, isEnabled, isEnabledItself, isEnabledRecursive, isResponsive, isVisible, isVisibleItself, isVisibleRecursive, removeStyleName, requestFocus, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
boolean isMultiSelect()
@Nullable E getSingleSelected()
java.util.Set<E> getSelected()
void setSelected(@Nullable E item)
void setSelected(java.util.Collection<E> items)
@Deprecated CollectionDatasource getDatasource()
DataUnit getItems()