org.jfree.chart.block
Class BlockParams
java.lang.Object
org.jfree.chart.block.BlockParams
- EntityBlockParams
A standard parameter object that can be passed to the draw() method defined
by the
Block
class.
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.
|
BlockParams
public BlockParams()
Creates a new instance.
getTranslateX
public double getTranslateX()
Returns the translation required to convert local x-coordinates back to
the coordinate space of the container.
- The x-translation amount.
getTranslateY
public double getTranslateY()
Returns the translation required to convert local y-coordinates back to
the coordinate space of the container.
- The y-translation amount.
setGenerateEntities
public void setGenerateEntities(boolean generate)
Sets the flag that controls whether or not chart entities are generated.
setTranslateX
public void setTranslateX(double x)
Sets the translation required to convert local x-coordinates into the
coordinate space of the container.
x
- the x-translation amount.
setTranslateY
public void setTranslateY(double y)
Sets the translation required to convert local y-coordinates into the
coordinate space of the container.
y
- the y-translation amount.