Modifier and Type | Method and Description |
---|---|
void |
applyDefaultSize(int start,
int amount)
Applies the default column/row width/height with the given address
|
void |
applyHidden(int start,
int amount,
boolean hidden)
Hides rows or columns with the given address
|
void |
applySize(int start,
int amount,
double size)
Applies the column width or row height to the given range,
even if the given range already contains manually configured rows or columns
|
void |
autoExtendSize(int start,
int amount)
Automatically extends columns in the given range
|
void |
autoFitSize(int start,
int amount)
Sets the auto-fit width/height of the column/row in the given range
|
void |
autoFitSizeIgnoreManualSize(int start,
int amount)
Sets auto-fit width/height column/row in the given range, skips all rows or columns configured manually
|
void |
delete(int start,
int amount)
Deletes the given range of cells
|
void |
edit(int start,
int amount,
AddressItemEditor<TItem> editor)
Edits rows or columns in the given range
|
Stream<IEntry<IRangeAddress,TItem>> |
findContainingEntries(int from,
int to)
Deprecated.
|
Stream<IEntry<IRangeAddress,TItem>> |
findIntersectingEntries(int from,
int to)
Deprecated.
|
int |
getMaxIndex(boolean existingOnly)
Returns max index (possible or depends on filled cells range) of rows (for rows manager) or columns (for columns manager)
|
IMapStorage<TItem> |
getStorage() |
void |
insert(int start,
int amount)
Inserts new rows/columns shifting the fallowing items
|
void |
insert(int start,
int amount,
TItem item)
Inserts rows/columns shifting the following items
|
void delete(int start, int amount)
start
- the index of the first element to be deletedamount
- the number of elements to be deletedvoid insert(int start, int amount, TItem item)
start
- the index of the first element to be insertedamount
- the number of elements to be inserteditem
- the item to be insertedvoid insert(int start, int amount)
start
- the index of the first element to be insertedamount
- the number of elements to be insertedvoid edit(int start, int amount, AddressItemEditor<TItem> editor)
start
- the index of the first element to be editedamount
- the number of elements to be editededitor
- the AddressItemEditor
to be applied for new objects (rows/columns)void autoExtendSize(int start, int amount)
start
- the index of the first element to be extendedamount
- the number of elements to be extendedvoid autoFitSize(int start, int amount)
start
- the index of the first element to be setamount
- the number of elements to be setvoid autoFitSizeIgnoreManualSize(int start, int amount)
start
- the index of the first element to be setamount
- the number of elements to be setvoid applySize(int start, int amount, double size)
start
- the index of the first element to be changedamount
- the number of elements to be changedsize
- the size in pixels to be appliedvoid applyHidden(int start, int amount, boolean hidden)
start
- the index of the first element to be hiddenamount
- the number of the elements to be hiddenhidden
- the value (true/false) is used to hide/make visibleint getMaxIndex(boolean existingOnly)
existingOnly
- true - to return maximum column or row number of data filled cells
false - to maximum possible index for SCell
void applyDefaultSize(int start, int amount)
start
- the index of the first element to be changedamount
- the number of elements to be changed@Deprecated Stream<IEntry<IRangeAddress,TItem>> findContainingEntries(int from, int to)
from
- the index of the first elementto
- the index of the last elementIRangeAddress
in the given address range@Deprecated Stream<IEntry<IRangeAddress,TItem>> findIntersectingEntries(int from, int to)
from
- the index of the first elementto
- the index of the last elementIRangeAddress
key in the given address rangeIRangeAddress
IMapStorage<TItem> getStorage()
IMapStorage
to get information about IRow
s or IColumn
sCopyright © 2024. All rights reserved.