Package com.grapecity.documents.excel
Interface IPivotFilters
- All Superinterfaces:
Iterable<IPivotFilter>
表示透视字段中所有透视过滤器的集合。
-
Method Summary
Modifier and TypeMethodDescriptionadd(PivotFilterType type) 向PivotFilters集合中添加一个新的筛选器。add(PivotFilterType type, Object value1) 向PivotFilters集合中添加新筛选器。add(PivotFilterType type, Object value1, Object value2) 向PivotFilters集合中添加一个新筛选器。add(PivotFilterType type, Object value1, Object value2, PivotFilterOptions options) 向PivotFilters集合中添加一个新的筛选器。get(int index) 获取指定索引处的数据透视过滤器。intsize()获取集合中的筛选器数量。Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
size
int size()获取集合中的筛选器数量。- Returns:
- 筛选器的数量
-
get
获取指定索引处的数据透视过滤器。- Parameters:
index- 要获取的数据透视过滤器的基于零的索引- Returns:
- 指定索引处的数据透视过滤器
-
add
向PivotFilters集合中添加一个新的筛选器。- Parameters:
type- 筛选器的类型value1- 筛选器的第一个值(可选)value2- 筛选器的第二个值(可选)options- 筛选器的附加设置(可选)- Returns:
- 添加的筛选器
-
add
向PivotFilters集合中添加一个新筛选器。- Parameters:
type- 筛选器的类型value1- 筛选器的第一个值(可选)value2- 筛选器的第二个值(可选)- Returns:
- 添加的筛选器
-
add
向PivotFilters集合中添加新筛选器。- Parameters:
type- 筛选器的类型value1- 筛选器的第一个值(可选)- Returns:
- 添加的筛选器
-
add
向PivotFilters集合中添加一个新的筛选器。- Parameters:
type- 筛选器的类型- Returns:
- 添加的筛选器
-