org.jfree.chart.block

Class BlockResult

Implemented Interfaces:
EntityBlockResult

public class BlockResult
extends java.lang.Object
implements EntityBlockResult

Used to return results from the draw() method in the Block class.

Constructor Summary

BlockResult()
Creates a new result instance.

Method Summary

EntityCollection
getEntityCollection()
Returns the collection of entities from the block.
void
setEntityCollection(EntityCollection entities)
Sets the entities for the block.

Constructor Details

BlockResult

public BlockResult()
Creates a new result instance.

Method Details

getEntityCollection

public EntityCollection getEntityCollection()
Returns the collection of entities from the block.
Specified by:
getEntityCollection in interface EntityBlockResult
Returns:
The entities.

setEntityCollection

public void setEntityCollection(EntityCollection entities)
Sets the entities for the block.
Parameters:
entities - the entities.