Package com.stimulsoft.report.components
Class StiPagesCollection
- All Implemented Interfaces:
IStiJsonReportObject,Serializable,Cloneable,Iterable<StiPage>,Collection<StiPage>,List<StiPage>,RandomAccess,SequencedCollection<StiPage>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidaddAll(StiPagesCollection pagesStore) booleanvoidaddPageToQuickCache(StiPage page, boolean savePage) voidAddRange(StiPagesCollection pagesStore) booleanaddV2Internal(StiPage page) static voidcopyEventsOfPagesCollection(StiPagesCollection sourcePages, StiPagesCollection destinationPages) voidvoidfillReport(StiReport report) voidflush()Deprecated.voidflush(boolean final_) Deprecated.get(int index) ReturnStiPageby page namebooleanGetComponentByName(String componentName) voidgetPageWithoutCache(int pageIndex) booleanisNotSavedPage(StiPage page) voidLoadFromJsonObject(JSONObject jObject) voidvoidmarkPageAsNotSaved(StiPage page) voidvoidvoidvoidsetCacheMode(boolean cacheMode) voidsetPageWithoutCache(int pageIndex, StiPage page) voidMethods inherited from class java.util.ArrayList
add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll, reversed
-
Field Details
-
cacheMode
public boolean cacheMode -
canUseCacheMode
public boolean canUseCacheMode -
pageCache
-
notCachedPages
-
-
Constructor Details
-
StiPagesCollection
public StiPagesCollection() -
StiPagesCollection
-
-
Method Details
-
get
-
set
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
addPage
-
add
-
addV2Internal
-
fillReport
-
fillPageInChildren
public void fillPageInChildren() -
getCacheMode
public boolean getCacheMode() -
AddRange
-
addAll
-
GetPage
-
savePage
-
savePage
-
loadPage
-
saveQuickPagesToCache
public void saveQuickPagesToCache() -
flush
Deprecated. -
flush
Deprecated. -
copyEventsOfPagesCollection
public static void copyEventsOfPagesCollection(StiPagesCollection sourcePages, StiPagesCollection destinationPages) -
getPageWithoutCache
-
setPageWithoutCache
-
get
ReturnStiPageby page name- Parameters:
pageName-- Returns:
-
addPageToQuickCache
-
isNotSavedPage
-
markPageAsNotSaved
-
GetComponentByName
-
getReport
- Returns:
- the report
-
setCacheMode
public void setCacheMode(boolean cacheMode) - Parameters:
cacheMode- the cacheMode to set
-
setReport
- Parameters:
report- the report to set
-