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.Vector
              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.Vector

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.Vector
capacityIncrement, elementCount, elementData
 
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.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

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.Vector

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.