com.stimulsoft.report.infographics.gauge.collections
Class StiScaleCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<StiScaleBase>
              extended by com.stimulsoft.report.infographics.gauge.collections.StiScaleCollection
All Implemented Interfaces:
IStiJsonReportObject, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<StiScaleBase>, java.util.Collection<StiScaleBase>, java.util.List<StiScaleBase>, java.util.RandomAccess

public class StiScaleCollection
extends java.util.ArrayList<StiScaleBase>
implements java.lang.Cloneable, IStiJsonReportObject

Copyright Stimulsoft

See Also:
Serialized Form

Constructor Summary
StiScaleCollection()
           
StiScaleCollection(StiGauge parent)
           
 
Method Summary
 void add(int index, StiScaleBase element)
           
 boolean add(StiScaleBase element)
           
 boolean addAll(java.util.Collection<? extends StiScaleBase> elements)
           
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 boolean isReadOnly()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 boolean moveDown(StiScaleBase element)
           
 boolean moveUp(StiScaleBase element)
           
 boolean remove(StiScaleBase element)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 
Methods inherited from class java.util.ArrayList
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
 

Constructor Detail

StiScaleCollection

public StiScaleCollection(StiGauge parent)

StiScaleCollection

public StiScaleCollection()
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

clone

public java.lang.Object clone()
Creates a new object that is a copy of the current instance.

Overrides:
clone in class java.util.ArrayList<StiScaleBase>

isReadOnly

public boolean isReadOnly()

add

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

addAll

public boolean addAll(java.util.Collection<? extends StiScaleBase> elements)
Specified by:
addAll in interface java.util.Collection<StiScaleBase>
Specified by:
addAll in interface java.util.List<StiScaleBase>
Overrides:
addAll in class java.util.ArrayList<StiScaleBase>

add

public void add(int index,
                StiScaleBase element)
Specified by:
add in interface java.util.List<StiScaleBase>
Overrides:
add in class java.util.ArrayList<StiScaleBase>

remove

public boolean remove(StiScaleBase element)

moveUp

public boolean moveUp(StiScaleBase element)

moveDown

public boolean moveDown(StiScaleBase element)