Construct a new section list.
The options for initializing the list.
Private _countPrivate _defaultPrivate _lengthPrivate _minimumPrivate _sectionsFind the extent of the section at the given index.
The extent of the section at the given index, or -1
if the index is out of range.
An index which is non-integral.
Logarithmic on the number of resized sections.
The index of the section of interest.
Find the index of the section which covers the given offset.
The index of the section which covers the given offset,
or -1 if the offset is out of range.
Logarithmic on the number of resized sections.
The offset of the section of interest.
Insert sections into the list.
The index at which to insert the sections. This value will be clamped to the bounds of the list.
The number of sections to insert. This method
is a no-op if this value is <= 0.
An index or count which is non-integral.
Linear on the number of resized sections.
Move sections within the list.
The index of the first section to move. This method is a no-op if this value is out of range.
The number of sections to move. This method is a
no-op if this value is <= 0.
The destination index for the first section. This value will be clamped to the allowable range.
An index, count, or destination which is non-integral.
Linear on the number of moved resized sections.
Find the offset of the section at the given index.
The offset of the section at the given index, or -1
if the index is out of range.
An index which is non-integral.
Logarithmic on the number of resized sections.
The index of the section of interest.
Remove sections from the list.
The index of the first section to remove. This method is a no-op if this value is out of range.
The number of sections to remove. This method
is a no-op if this value is <= 0.
An index or count which is non-integral.
Linear on the number of resized sections.
Resize a section in the list.
The index of the section to resize. This method is a no-op if this value is out of range.
The new size of the section. This value will be
clamped to an integer >= 0.
An index which is non-integral.
Linear on the number of resized sections.
Find the size of the section at the given index.
The size of the section at the given index, or -1
if the index is out of range.
An index which is non-integral.
Logarithmic on the number of resized sections.
The index of the section of interest.
Generated using TypeDoc
An object which manages a collection of variable sized sections.
Notes
This class is an implementation detail. It is designed to manage the variable row and column sizes for a data grid. User code will not interact with this class directly.