com.steema.teechart.axis
Class AxisLabelsItems

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

public class AxisLabelsItems
extends java.util.Vector

Custom labels list

Title: AxisLabelsItems class

Description: Custom labels list

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

Company: Steema Software SL

See Also:
Serialized Form

Field Summary
protected  Axis iAxis
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
AxisLabelsItems(Axis a)
           
 
Method Summary
 AxisLabelItem add(double value)
          Adds new label
 AxisLabelItem add(double value, java.lang.String text)
          Adds a new label with text
 void clear()
          Clears custom labels list
 void copyFrom(AxisLabelsItems source)
           
 AxisLabelItem getItem(int index)
          Accesses indexed Label characteristics
 
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

iAxis

protected transient Axis iAxis
Constructor Detail

AxisLabelsItems

public AxisLabelsItems(Axis a)
Method Detail

getItem

public AxisLabelItem getItem(int index)
Accesses indexed Label characteristics

Parameters:
index - int
Returns:
AxisLabelItem

add

public AxisLabelItem add(double value)
Adds new label

Parameters:
value - double The axis data value
Returns:
new AxisLabelItem

add

public AxisLabelItem add(double value,
                         java.lang.String text)
Adds a new label with text

Parameters:
value - double The axis data value
text - String Label text
Returns:
new AxisLabelItem

copyFrom

public void copyFrom(AxisLabelsItems source)

clear

public void clear()
Clears custom labels list

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