Uses of Class
com.vaadin.shared.Range
-
-
Uses of Range in com.vaadin.client.connectors
Methods in com.vaadin.client.connectors with parameters of type Range Modifier and Type Method Description protected void
AbstractMultiSelectConnector. onDataChange(Range range)
This method handles the parsing of the new JSON data containing the items and the selection information. -
Uses of Range in com.vaadin.client.connectors.data
Methods in com.vaadin.client.connectors.data with parameters of type Range Modifier and Type Method Description protected void
DataCommunicatorConnector.VaadinDataSource. dropFromCache(Range range)
-
Uses of Range in com.vaadin.client.data
Methods in com.vaadin.client.data that return Range Modifier and Type Method Description Range
AbstractRemoteDataSource. getCachedRange()
Gets the current range of cached rows.Range
CacheStrategy.AbstractBasicSymmetricalCacheStrategy. getMaxCacheRange(Range displayedRange, Range cachedRange, Range estimatedAvailableRange)
Range
CacheStrategy. getMaxCacheRange(Range displayedRange, Range cachedRange, Range estimatedAvailableRange)
Gets the maximum row range that should be cached.Range
CacheStrategy.AbstractBasicSymmetricalCacheStrategy. getMinCacheRange(Range displayedRange, Range cachedRange, Range estimatedAvailableRange)
Range
CacheStrategy. getMinCacheRange(Range displayedRange, Range cachedRange, Range estimatedAvailableRange)
Gets the minimum row range that should be cached.Range
AbstractRemoteDataSource. getRequestedAvailability()
Gets the row index range that was requested by the previous call toAbstractRemoteDataSource.ensureAvailability(int, int)
.Range
AbstractRemoteDataSource.RequestRowsCallback. getRequestedRange()
Gets the range of rows that was requested.Methods in com.vaadin.client.data with parameters of type Range Modifier and Type Method Description protected void
AbstractRemoteDataSource. dropFromCache(Range range)
Drop the given range of rows from this data source's cache.Range
CacheStrategy.AbstractBasicSymmetricalCacheStrategy. getMaxCacheRange(Range displayedRange, Range cachedRange, Range estimatedAvailableRange)
Range
CacheStrategy. getMaxCacheRange(Range displayedRange, Range cachedRange, Range estimatedAvailableRange)
Gets the maximum row range that should be cached.Range
CacheStrategy.AbstractBasicSymmetricalCacheStrategy. getMinCacheRange(Range displayedRange, Range cachedRange, Range estimatedAvailableRange)
Range
CacheStrategy. getMinCacheRange(Range displayedRange, Range cachedRange, Range estimatedAvailableRange)
Gets the minimum row range that should be cached.Method parameters in com.vaadin.client.data with type arguments of type Range Modifier and Type Method Description default Registration
DataSource. addDataChangeHandler(Consumer<Range> refreshMethod)
Sets a simple data change handler for a widget without lazy loading.Constructors in com.vaadin.client.data with parameters of type Range Constructor Description RequestRowsCallback(AbstractRemoteDataSource<T> source, Range requestedRange)
Creates a new callback. -
Uses of Range in com.vaadin.client.widget.escalator
Methods in com.vaadin.client.widget.escalator that return Range Modifier and Type Method Description Range
RowVisibilityChangeEvent. getVisibleRowRange()
Gets the range of visible rows. -
Uses of Range in com.vaadin.client.widget.grid
Methods in com.vaadin.client.widget.grid that return Range Modifier and Type Method Description Range
DataAvailableEvent. getAvailableRows()
Returns the range of available rows inDataSource
for this event.Constructors in com.vaadin.client.widget.grid with parameters of type Range Constructor Description DataAvailableEvent(Range rowsAvailable)
Constructs a data availability event for the given row range. -
Uses of Range in com.vaadin.client.widgets
Methods in com.vaadin.client.widgets that return Range Modifier and Type Method Description Range
Escalator. getVisibleRowRange()
Gets the logical index range of currently visible rows.Methods in com.vaadin.client.widgets with parameters of type Range Modifier and Type Method Description protected abstract void
Escalator.AbstractRowContainer. refreshCells(Range logicalRowRange, Range colRange)
Refresh cells within the given row and column ranges. -
Uses of Range in com.vaadin.data.provider
Methods in com.vaadin.data.provider that return Range Modifier and Type Method Description Range
HierarchyMapper. collapse(T item, Integer position)
Collapses the given item.Range
HierarchyMapper. doCollapse(T item, Optional<Integer> position)
Deprecated.UseHierarchyMapper.collapse(Object, Integer)
instead.Range
HierarchyMapper. doExpand(T item, Optional<Integer> position)
Deprecated.UseHierarchyMapper.expand(Object, Integer)
instead.Range
HierarchyMapper. expand(T item, Integer position)
Expands the given item.protected Range
DataCommunicator. getPushRows()
Get the current range of rows to push in the next response.Methods in com.vaadin.data.provider with parameters of type Range Modifier and Type Method Description Stream<T>
HierarchyMapper. fetchItems(Range range)
Gets a stream of items in the form of a flattened hierarchy from the back-end and filters the wanted results from the list.Stream<T>
HierarchyMapper. fetchItems(T parent, Range range)
Gets a stream of children for the given item in the form of a flattened hierarchy from the back-end and filter the wanted results from the list.protected void
DataCommunicator. setPushRows(Range pushRows)
Set the range of rows to push for next response. -
Uses of Range in com.vaadin.shared
Methods in com.vaadin.shared that return Range Modifier and Type Method Description static Range
Range. between(int start, int end)
Creates a range between two integers.Range
Range. combineWith(Range other)
Combines two ranges to create a range containing all values in both ranges, provided there are no gaps between the ranges.static Range
Range. emptyRange()
Range
Range. expand(int startDelta, int endDelta)
Creates a range that is expanded the given amounts in both ends.Range
Range. offsetBy(int offset)
Get a range that is based on this one, but offset by a number.Range[]
Range. partitionWith(Range other)
Overlay this range with another one, and partition the ranges according to how they position relative to each other.Range
Range. restrictTo(Range bounds)
Limits this range to be within the bounds of the provided range.Range[]
Range. splitAt(int integer)
Split the range into two at a certain integer.Range[]
Range. splitAtFromStart(int length)
Split the range into two after a certain number of integers into the range.static Range
Range. withLength(int start, int length)
Creates a range from a start point, with a given length.static Range
Range. withOnly(int integer)
Creates a range object representing a single integer.Methods in com.vaadin.shared with parameters of type Range Modifier and Type Method Description Range
Range. combineWith(Range other)
Combines two ranges to create a range containing all values in both ranges, provided there are no gaps between the ranges.boolean
Range. endsAfter(Range other)
Checks whether this range ends after the end of another range.boolean
Range. endsBefore(Range other)
Checks whether this range ends before the start of another range.boolean
Range. intersects(Range other)
Checks whether this range and another range are at least partially covering the same values.boolean
Range. isSubsetOf(Range other)
Checks whether this range is a subset of another range.Range[]
Range. partitionWith(Range other)
Overlay this range with another one, and partition the ranges according to how they position relative to each other.Range
Range. restrictTo(Range bounds)
Limits this range to be within the bounds of the provided range.boolean
Range. startsAfter(Range other)
Checks whether this range starts after the end of another range.boolean
Range. startsBefore(Range other)
Checks whether this range starts before the start of another range.
-