List
A visual component that renders an immutable list of items of type T using a ListBehavior. Items are obtained via the model and selection is managed via the optional selectionModel. Large ("infinite") lists are supported efficiently, since List recycles the Views generated to render its items.
Note that this class assumes the given ListModel is immutable and will not automatically respond to changes in the model. See DynamicList or MutableList if this behavior is desirable.
List does not provide scrolling internally, so it should be embedded in a ScrollPanel or similar component if needed.
Parameters
that holds the data for this List
that manages the List's selection state
determines whether the List scales to fit its items' width or total height
determining how many "hidden" items are rendered above and below the List's view-port. A value of 0 means only visible items are rendered, but quick scrolling is more likely to show blank areas.
Inheritors
Constructors
Properties
Controls how the List behaves and how its items are rendered. A List will not render without a behavior specified.
Defines how the contents of an item should be aligned within it.
Notifies of changes to the List's selection.
that manages the List's selection state only visible items are rendered, but quick scrolling is more likely to show blank areas.
Inherited properties
Functions
Scrolls item into view if the List is within a ScrollPanel.
Scrolls the last selected item into view if the List is within a ScrollPanel.