|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
com.steema.teechart.tools.ToolsCollection
public class ToolsCollection
Title: ToolsCollection class
Description: Collection of Tool components.
Copyright (c) 2005-2012 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
IBaseChart |
chart
|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
ToolsCollection(IBaseChart c)
|
Method Summary | |
---|---|
Tool |
add(java.lang.Class type)
|
Tool |
add(Tool tool)
Adds a new tool to your TChart. |
Tool |
getTool(int index)
|
int |
indexOf(Tool s)
Returns the corresponding point index which has the specified Value. |
void |
remove(Tool s)
Removes a tool from the TChart. |
void |
setChart(IBaseChart chart)
Sets Chart interface to tools collection |
void |
setTool(int index,
Tool 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 |
Field Detail |
---|
public transient IBaseChart chart
Constructor Detail |
---|
public ToolsCollection(IBaseChart c)
Method Detail |
---|
public Tool add(Tool tool)
tool
- Tool
public Tool add(java.lang.Class type) throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalAccessException
public Tool getTool(int index)
public void setTool(int index, Tool value)
public int indexOf(Tool s)
s
- Tool
public void remove(Tool s)
s
- Toolpublic void setChart(IBaseChart chart)
chart
- IBaseChart
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |