Package com.grapecity.documents.excel
Interface ISlicerCaches
- All Superinterfaces:
Iterable<ISlicerCache>
Represents the collection of slicer caches associated with the specified workbook.
-
Method Summary
Modifier and TypeMethodDescriptionAdds a newISlicerCacheobject to the collection.Adds a newISlicerCacheobject to the collection.get(int index) Gets theISlicerCachewith the specified index.Gets theISlicerCachewith the specified name.intgetCount()Gets the number of objects in the collection.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getCount
int getCount()Gets the number of objects in the collection. -
get
Gets theISlicerCachewith the specified index.- Parameters:
index- the index.
-
get
Gets theISlicerCachewith the specified name.- Parameters:
name- the name.
-
add
Adds a newISlicerCacheobject to the collection.- Parameters:
source- The data source that the newISlicerCachewill be basedon.sourceField- The name of the field in the data source to filter by.- Returns:
ISlicerCache.
-
add
Adds a newISlicerCacheobject to the collection.- Parameters:
source- The data source that the newISlicerCachewill be basedon.sourceField- The name of the field in the data source to filter by.name- The name uses to reference the slicer cache (the name property of theISlicerCache).- Returns:
ISlicerCache.
-