public class

BlockParams

extends Object
implements EntityBlockParams
java.lang.Object
   ↳ org.jfree.chart.block.BlockParams

Class Overview

A standard parameter object that can be passed to the draw() method defined by the Block class.

Summary

Public Constructors
BlockParams()
Creates a new instance.
Public Methods
boolean getGenerateEntities()
Returns the flag that controls whether or not chart entities are generated.
double getTranslateX()
Returns the translation required to convert local x-coordinates back to the coordinate space of the container.
double getTranslateY()
Returns the translation required to convert local y-coordinates back to the coordinate space of the container.
void setGenerateEntities(boolean generate)
Sets the flag that controls whether or not chart entities are generated.
void setTranslateX(double x)
Sets the translation required to convert local x-coordinates into the coordinate space of the container.
void setTranslateY(double y)
Sets the translation required to convert local y-coordinates into the coordinate space of the container.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.jfree.chart.block.EntityBlockParams

Public Constructors

public BlockParams ()

Creates a new instance.

Public Methods

public boolean getGenerateEntities ()

Returns the flag that controls whether or not chart entities are generated.

Returns
  • A boolean.

public double getTranslateX ()

Returns the translation required to convert local x-coordinates back to the coordinate space of the container.

Returns
  • The x-translation amount.

public double getTranslateY ()

Returns the translation required to convert local y-coordinates back to the coordinate space of the container.

Returns
  • The y-translation amount.

public void setGenerateEntities (boolean generate)

Sets the flag that controls whether or not chart entities are generated.

Parameters
generate the flag.

public void setTranslateX (double x)

Sets the translation required to convert local x-coordinates into the coordinate space of the container.

Parameters
x the x-translation amount.

public void setTranslateY (double y)

Sets the translation required to convert local y-coordinates into the coordinate space of the container.

Parameters
y the y-translation amount.