com.steema.teechart.styles
Class StringList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by com.steema.teechart.styles.StringList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public final class StringList
extends java.util.ArrayList

Title: StringList class

Description: The StringList class is manipulated via the Series Series.Labels method.

Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL

See Also:
Series.getLabels(), Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
StringList(int capacity)
           
StringList(java.lang.String[] strings)
           
 
Method Summary
 void exchange(int a, int b)
           
 int getCount()
           
 java.lang.String getString(int index)
           
 void insert(int index, java.lang.String insertItem)
          Insert a specified item to the list shifting list accordingly.
 void removeRange(int startIndex, int count)
           
 void setString(int index, java.lang.String value)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

StringList

public StringList(int capacity)

StringList

public StringList(java.lang.String[] strings)
Method Detail

getCount

public int getCount()

getString

public java.lang.String getString(int index)

setString

public void setString(int index,
                      java.lang.String value)

removeRange

public void removeRange(int startIndex,
                        int count)
Overrides:
removeRange in class java.util.ArrayList

exchange

public void exchange(int a,
                     int b)

insert

public void insert(int index,
                   java.lang.String insertItem)
Insert a specified item to the list shifting list accordingly.

Parameters:
index - (int) where to insert item.
insertItem - the item that is to be inserted.