|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.block.BlockBorder
public class BlockBorder
A border for a block. This class is immutable.
Field Summary | |
---|---|
static BlockBorder |
NONE
An empty border. |
Constructor Summary | |
---|---|
BlockBorder()
Creates a default border. |
|
BlockBorder(double top,
double left,
double bottom,
double right)
Creates a new border with the specified line widths (in black). |
|
BlockBorder(double top,
double left,
double bottom,
double right,
Paint paint)
Creates a new border with the specified line widths (in black). |
|
BlockBorder(Paint paint)
Creates a new border with the specified color. |
|
BlockBorder(org.jfree.ui.RectangleInsets insets,
Paint paint)
Creates a new border. |
Method Summary | |
---|---|
void |
draw(Graphics2D g2,
Rectangle2D area)
Draws the border by filling in the reserved space. |
boolean |
equals(Object obj)
Tests this border for equality with an arbitrary instance. |
org.jfree.ui.RectangleInsets |
getInsets()
Returns the space reserved for the border. |
Paint |
getPaint()
Returns the paint used to draw the border. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final BlockBorder NONE
Constructor Detail |
---|
public BlockBorder()
public BlockBorder(Paint paint)
paint
- the color (null
not permitted).public BlockBorder(double top, double left, double bottom, double right)
top
- the width of the top border.left
- the width of the left border.bottom
- the width of the bottom border.right
- the width of the right border.public BlockBorder(double top, double left, double bottom, double right, Paint paint)
top
- the width of the top border.left
- the width of the left border.bottom
- the width of the bottom border.right
- the width of the right border.paint
- the border paint (null
not permitted).public BlockBorder(org.jfree.ui.RectangleInsets insets, Paint paint)
insets
- the border insets (null
not permitted).paint
- the paint (null
not permitted).Method Detail |
---|
public org.jfree.ui.RectangleInsets getInsets()
getInsets
in interface BlockFrame
null
).public Paint getPaint()
null
).public void draw(Graphics2D g2, Rectangle2D area)
draw
in interface BlockFrame
g2
- the graphics device.area
- the area.public boolean equals(Object obj)
equals
in class Object
obj
- the object (null
permitted).
|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |