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

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

public class StiGaugeElementCollection
extends java.util.ArrayList<StiGaugeElement>
implements java.lang.Cloneable, IStiJsonReportObject

Copyright Stimulsoft

See Also:
Serialized Form

Constructor Summary
StiGaugeElementCollection()
           
StiGaugeElementCollection(StiScaleBase scale)
           
 
Method Summary
 void add(int index, StiGaugeElement element)
           
 boolean add(StiGaugeElement element)
           
 boolean addAll(java.util.Collection<? extends StiGaugeElement> c)
           
 void addAll(StiGaugeElement[] elements)
           
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 boolean getIsReadOnly()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 boolean moveDown(StiGaugeElement element)
           
 boolean moveUp(StiGaugeElement element)
           
 boolean remove(StiGaugeElement element)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 StiGaugeElement set(int index, StiGaugeElement value)
           
 
Methods inherited from class java.util.ArrayList
addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, 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

StiGaugeElementCollection

public StiGaugeElementCollection(StiScaleBase scale)

StiGaugeElementCollection

public StiGaugeElementCollection()
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<StiGaugeElement>

getIsReadOnly

public boolean getIsReadOnly()

add

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

set

public StiGaugeElement set(int index,
                           StiGaugeElement value)
Specified by:
set in interface java.util.List<StiGaugeElement>
Overrides:
set in class java.util.ArrayList<StiGaugeElement>

add

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

addAll

public void addAll(StiGaugeElement[] elements)

remove

public boolean remove(StiGaugeElement element)

moveUp

public boolean moveUp(StiGaugeElement element)

moveDown

public boolean moveDown(StiGaugeElement element)

addAll

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