com.steema.teechart.axis
Class CustomAxes

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

public final class CustomAxes
extends java.util.Vector

Title: CustomAxes class

Description: Used to access the Custom series List.

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

Company: Steema Software SL

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
CustomAxes()
           
 
Method Summary
 Axis add(Axis axis)
          Adds a Custom Axis.
 Axis getAxis(int index)
          Accesses Axis characteristics of corresponding index value.
 Axis getNew()
          Creates and adds a custom axis to the chart.
 int indexOf(Axis a)
          Returns the corresponding axis index which has the specified value.
 void remove(Axis a)
          Removes the Custom Axis of Index 'CustomAxisIndex'.
 void removeAll()
          Removes all Custom Axes.
 void setAxis(int index, Axis value)
          Sets Axis characteristics of corresponding index value.
 void setChart(IBaseChart 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, 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
 

Constructor Detail

CustomAxes

public CustomAxes()
Method Detail

getNew

public Axis getNew()
Creates and adds a custom axis to the chart.

Returns:
Axis

setChart

public void setChart(IBaseChart value)

add

public Axis add(Axis axis)
Adds a Custom Axis.

Parameters:
axis - Axis
Returns:
Axis

getAxis

public Axis getAxis(int index)
Accesses Axis characteristics of corresponding index value.

Parameters:
index - int
Returns:
Axis

setAxis

public void setAxis(int index,
                    Axis value)
Sets Axis characteristics of corresponding index value.

Parameters:
index - int
value - Axis

indexOf

public int indexOf(Axis a)
Returns the corresponding axis index which has the specified value.

Parameters:
a - Axis
Returns:
int

remove

public void remove(Axis a)
Removes the Custom Axis of Index 'CustomAxisIndex'.
Any Series associated with the Axis are reset to their default Axes.

Parameters:
a - Axis

removeAll

public void removeAll()
Removes all Custom Axes.
Any Series associated with the Axes are reset to their default Axes.