com.stimulsoft.report.components
Class StiComponentsCollection
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<StiComponent>
com.stimulsoft.report.components.StiComponentsCollection
- All Implemented Interfaces:
- IStiJsonReportObject, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<StiComponent>, java.util.Collection<StiComponent>, java.util.List<StiComponent>, java.util.RandomAccess
public class StiComponentsCollection
- extends java.util.ArrayList<StiComponent>
- implements IStiJsonReportObject
- See Also:
- Serialized Form
Methods inherited from class java.util.ArrayList |
addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, 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 |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
StiComponentsCollection
public StiComponentsCollection(StiContainer parent)
StiComponentsCollection
public StiComponentsCollection()
StiComponentsCollection
public StiComponentsCollection(int size)
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
add
public boolean add(StiComponent component)
- Specified by:
add
in interface java.util.Collection<StiComponent>
- Specified by:
add
in interface java.util.List<StiComponent>
- Overrides:
add
in class java.util.ArrayList<StiComponent>
add
public void add(int index,
StiComponent component)
- Specified by:
add
in interface java.util.List<StiComponent>
- Overrides:
add
in class java.util.ArrayList<StiComponent>
SaveState
public void SaveState(java.lang.String stateName)
- Saves the current state of an object.
- Parameters:
stateName
- A name of the state being saved.
RestoreState
public void RestoreState(java.lang.String stateName)
- Restores the earlier saved object state.
- Parameters:
stateName
- A name of the state being restored.
ClearAllStates
public void ClearAllStates()
- Clear all earlier saved object states.
SortBySelectionTick
public final void SortBySelectionTick()
SortByPriority
public final void SortByPriority()
SortByTopPosition
public final void SortByTopPosition()
SortByBottomPosition
public final void SortByBottomPosition()
SortByLeftPosition
public final void SortByLeftPosition()
SortByRightPosition
public final void SortByRightPosition()
sortBandsByLeftPosition
public void sortBandsByLeftPosition()
sortBandsByTopPosition
public void sortBandsByTopPosition()
GetComponentByName
public final StiComponent GetComponentByName(java.lang.String componentName,
StiContainer container)
GetPageByAlias
public final StiPage GetPageByAlias(java.lang.String alias)
SetParent
public final void SetParent(StiContainer parent)
get
public StiComponent get(java.lang.String name)
fillPage
public void fillPage(StiPage page)
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.util.ArrayList<StiComponent>
AddRange
public void AddRange(StiComponentsCollection components)
Clear
public void Clear()