public class ToolsCollection
extends java.util.ArrayList
Title: ToolsCollection class
Description: Collection of Tool components.
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Field and Description |
---|---|
IBaseChart |
chart |
Constructor and Description |
---|
ToolsCollection(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
Tool |
add(java.lang.Class type) |
Tool |
add(Tool tool)
Adds a new tool to your TChart.
|
void |
dispose() |
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) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public transient IBaseChart chart
public ToolsCollection(IBaseChart c)
public Tool add(Tool tool)
tool
- Toolpublic 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
- Toolpublic void remove(Tool s)
s
- Toolpublic void setChart(IBaseChart chart)
chart
- IBaseChartpublic void dispose()