com.steema.teechart.tools
Class DrawLines

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.tools.DrawLines
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class DrawLines
extends java.util.Vector

Title: DrawLines class

Description: Collection of

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

Company: Steema Software SL

See Also:
Serialized Form

Field Summary
protected  DrawLine tool
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DrawLines()
           
 
Method Summary
 int add(DrawLineItem l)
           
 void clear()
          Deletes all Series values.
 DrawLineItem getFirst()
           
 DrawLineItem getLast()
           
 DrawLineItem getLine(int index)
           
 int indexOf(DrawLineItem l)
          This method can be used to obtain the index of a given line in the line collection.
 void remove(DrawLineItem s)
          Deletes the specified Line from the Chart list of Lines.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, 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
 

Field Detail

tool

protected DrawLine tool
Constructor Detail

DrawLines

public DrawLines()
Method Detail

add

public int add(DrawLineItem l)

clear

public void clear()
Deletes all Series values.
Dependent Series are notified. If no new points are appended to the Series, nothing will be painted.

Specified by:
clear in interface java.util.Collection
Specified by:
clear in interface java.util.List
Overrides:
clear in class java.util.Vector

remove

public void remove(DrawLineItem s)
Deletes the specified Line from the Chart list of Lines.

Parameters:
s - DrawLineItem

getFirst

public DrawLineItem getFirst()

getLast

public DrawLineItem getLast()

getLine

public DrawLineItem getLine(int index)

indexOf

public int indexOf(DrawLineItem l)
This method can be used to obtain the index of a given line in the line collection.

Parameters:
l - DrawLineItem
Returns:
int