Package com.stimulsoft.report.dictionary
Class StiVariablesCollection
java.lang.Object
java.util.AbstractCollection<StiVariable>
java.util.AbstractList<StiVariable>
java.util.ArrayList<StiVariable>
com.stimulsoft.base.StiValueCollection<StiVariable>
com.stimulsoft.report.dictionary.StiVariablesCollection
- All Implemented Interfaces:
IStiValueCollection,Serializable,Cloneable,Iterable<StiVariable>,Collection<StiVariable>,List<StiVariable>,RandomAccess,SequencedCollection<StiVariable>
Describes the collection of variables.
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanadd(StiVariable variable) final voidfinal voidadd(String name, StiSystemTypeEnum type) final voidfinal voidadd(String category, String name, StiSystemTypeEnum type) final voidadd(String category, String name, StiSystemType type, String value, boolean readOnly) final voidfinal voidfinal voidfinal voidbooleanbooleancontainsCategory(String name) intgetFirstCategoryIndex(String category) intgetLastCategoryIndex(String category) voidLoadFromJsonObjectEx(JSONObject jObject, StiReport report) voidmoveCategoryTo(String fromCategory, String toCategory) Moves all variables from "fromCategory" category to position of "toCategory" category.voidremoveCategory(String category) voidSort(StiSortOrder order) Methods inherited from class com.stimulsoft.base.StiValueCollection
getItemsTypeMethods inherited from class java.util.ArrayList
add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, 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
-
Constructor Details
-
StiVariablesCollection
public StiVariablesCollection()
-
-
Method Details
-
SaveToJsonObjectEx
- Throws:
JSONException
-
LoadFromJsonObjectEx
- Throws:
JSONException
-
add
-
add
-
add
-
add
-
add
public final void add(String category, String name, String alias, StiSystemType type, String value, boolean readOnly) -
add
-
add
public final void add(String category, String name, StiSystemType type, String value, boolean readOnly) -
add
-
add
-
contains
-
remove
-
containsCategory
-
add
- Specified by:
addin interfaceCollection<StiVariable>- Specified by:
addin interfaceList<StiVariable>- Overrides:
addin classArrayList<StiVariable>
-
Sort
-
get
-
removeCategory
-
getFirstCategoryIndex
-
getLastCategoryIndex
-
moveCategoryTo
Moves all variables from "fromCategory" category to position of "toCategory" category.- Parameters:
fromCategory-toCategory-
-