public class AutoFilterImpl extends AbstractAutoFilterAdv
AbstractAutoFilterAdv.FilterColumnImpl
SAutoFilter.FilterOp, SAutoFilter.NFilterColumn
Constructor and Description |
---|
AutoFilterImpl(CellRegion region) |
Modifier and Type | Method and Description |
---|---|
void |
clearFilterColumn(int index) |
void |
clearFilterColumns() |
List<FilterRowInfo> |
getCachedSet(int index) |
SAutoFilter.NFilterColumn |
getFilterColumn(int index,
boolean create)
Returns the column filter information of the specified column; null if the column is not filtered.
|
Collection<SAutoFilter.NFilterColumn> |
getFilterColumns()
Return filter setting of each filtered column.
|
int |
getFilterType(int index) |
CellRegion |
getRegion()
Returns the filtered Region.
|
boolean |
isFiltered() |
void |
putFilterColumn(int index,
SAutoFilter.NFilterColumn filterColumn) |
void |
renameSheet(SBook book,
String oldName,
String newName) |
void |
setCachedSet(int index,
SortedSet<FilterRowInfo> orderedRowInfos) |
void |
setFilterType(int index,
int type) |
public AutoFilterImpl(CellRegion region)
public CellRegion getRegion()
SAutoFilter
public Collection<SAutoFilter.NFilterColumn> getFilterColumns()
SAutoFilter
public SAutoFilter.NFilterColumn getFilterColumn(int index, boolean create)
SAutoFilter
index
- the nth column (1st column in the filter range is 0)public void clearFilterColumn(int index)
public void clearFilterColumns()
public void renameSheet(SBook book, String oldName, String newName)
renameSheet
in class AbstractAutoFilterAdv
public boolean isFiltered()
public void putFilterColumn(int index, SAutoFilter.NFilterColumn filterColumn)
public void setCachedSet(int index, SortedSet<FilterRowInfo> orderedRowInfos)
public List<FilterRowInfo> getCachedSet(int index)
public void setFilterType(int index, int type)
public int getFilterType(int index)
Copyright © 2020. All rights reserved.