Package org.jfree.chart.block
Class BlockResult
- java.lang.Object
-
- org.jfree.chart.block.BlockResult
-
- All Implemented Interfaces:
EntityBlockResult
public class BlockResult extends java.lang.Object implements EntityBlockResult
Used to return results from the draw() method in theBlock
class.
-
-
Field Summary
Fields Modifier and Type Field Description private EntityCollection
entities
The entities from the block.
-
Constructor Summary
Constructors Constructor Description BlockResult()
Creates a new result instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityCollection
getEntityCollection()
Returns the collection of entities from the block.void
setEntityCollection(EntityCollection entities)
Sets the entities for the block.
-
-
-
Field Detail
-
entities
private EntityCollection entities
The entities from the block.
-
-
Method Detail
-
getEntityCollection
public EntityCollection getEntityCollection()
Returns the collection of entities from the block.- Specified by:
getEntityCollection
in interfaceEntityBlockResult
- Returns:
- The entities.
-
setEntityCollection
public void setEntityCollection(EntityCollection entities)
Sets the entities for the block.- Parameters:
entities
- the entities.
-
-