Method Summary |
|
public void | add(ChartEntity entity) Adds an entity to the collection. |
public void | addAll(EntityCollection collection) Adds all the entities from the specified collection. |
public void | clear() Clears all the entities from the collection. |
public Object | clone() Returns a clone of this entity collection. |
public boolean | equals(Object obj) Tests this object for equality with an arbitrary object.
Parameters: obj - the object to test against (null permitted). |
public Collection | getEntities() Returns the entities in an unmodifiable collection. |
public ChartEntity | getEntity(int index) Returns a chart entity from the collection.
Parameters: index - the entity index. |
public ChartEntity | getEntity(double x, double y) Returns the last entity in the list with an area that encloses the
specified coordinates, or null if there is no such entity.
Parameters: x - the x coordinate. Parameters: y - the y coordinate. |
public int | getEntityCount() Returns the number of entities in the collection. |
public Iterator | iterator() Returns an iterator for the entities in the collection. |