com.stimulsoft.report.components
Class StiPagesCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<StiPage>
              extended by com.stimulsoft.report.components.StiPagesCollection
All Implemented Interfaces:
IStiJsonReportObject, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<StiPage>, java.util.Collection<StiPage>, java.util.List<StiPage>, java.util.RandomAccess

public class StiPagesCollection
extends java.util.ArrayList<StiPage>
implements IStiJsonReportObject

See Also:
Serialized Form

Field Summary
 boolean cacheMode
           
 boolean canUseCacheMode
           
 StiPagesCollection NotCachedPages
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
StiPagesCollection()
           
StiPagesCollection(StiReport report)
           
 
Method Summary
 boolean add(StiPage page)
           
 void addAll(StiPagesCollection pagesStore)
           
 boolean addPage(StiPage page)
           
 void AddRange(StiPagesCollection pagesStore)
           
 void fillPageInChildren()
           
 void fillReport(StiReport report)
           
 StiPage get(java.lang.String pageName)
          Return StiPage by page name
 boolean getCacheMode()
           
 StiComponent GetComponentByName(java.lang.String componentName)
           
 void GetPage(StiPage page)
           
 StiReport getReport()
           
 boolean IsNotSavedPage(StiPage page)
           
 void LoadFromJsonObject(JSONObject jObject)
           
 java.lang.Object NotCachedPages()
           
 void SavePage(StiPage page)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setCacheMode(boolean cacheMode)
           
 void setReport(StiReport report)
           
 
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

cacheMode

public boolean cacheMode

canUseCacheMode

public boolean canUseCacheMode

NotCachedPages

public StiPagesCollection NotCachedPages
Constructor Detail

StiPagesCollection

public StiPagesCollection()

StiPagesCollection

public StiPagesCollection(StiReport report)
Method Detail

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Throws:
JSONException

addPage

public boolean addPage(StiPage page)

add

public boolean add(StiPage page)
Specified by:
add in interface java.util.Collection<StiPage>
Specified by:
add in interface java.util.List<StiPage>
Overrides:
add in class java.util.ArrayList<StiPage>

fillReport

public void fillReport(StiReport report)

fillPageInChildren

public void fillPageInChildren()

getCacheMode

public boolean getCacheMode()

NotCachedPages

public java.lang.Object NotCachedPages()

AddRange

public void AddRange(StiPagesCollection pagesStore)

addAll

public void addAll(StiPagesCollection pagesStore)

GetPage

public void GetPage(StiPage page)

get

public StiPage get(java.lang.String pageName)
Return StiPage by page name

Parameters:
pageName -
Returns:

IsNotSavedPage

public boolean IsNotSavedPage(StiPage page)

SavePage

public void SavePage(StiPage page)

GetComponentByName

public StiComponent GetComponentByName(java.lang.String componentName)

getReport

public StiReport getReport()
Returns:
the report

setCacheMode

public void setCacheMode(boolean cacheMode)
Parameters:
cacheMode - the cacheMode to set

setReport

public void setReport(StiReport report)
Parameters:
report - the report to set


Copyright © 2018 Stimulsoft. All Rights Reserved.