org.jfree.chart.entity
public interface EntityCollection
Method Summary | |
---|---|
void | add(ChartEntity entity)
Adds an entity to the collection.
|
void | addAll(EntityCollection collection)
Adds the entities from another collection to this collection.
|
void | clear()
Clears all entities. |
Collection | getEntities()
Returns the entities in an unmodifiable collection.
|
ChartEntity | getEntity(double x, double y)
Returns an entity whose area contains the specified point.
|
ChartEntity | getEntity(int index)
Returns an entity from the collection.
|
int | getEntityCount()
Returns the entity count.
|
Iterator | iterator()
Returns an iterator for the entities in the collection.
|
Parameters: entity the entity (null
not permitted).
Parameters: collection the other collection.
Returns: The entities.
Parameters: x the x coordinate. y the y coordinate.
Returns: The entity.
Parameters: index the index (zero-based).
Returns: An entity.
Returns: The entity count.
Returns: An iterator.