org.jfree.chart.block
public class LineBorder extends Object implements BlockFrame, Serializable
Since: 1.0.5
| Constructor Summary | |
|---|---|
| LineBorder()
Creates a default border. | |
| LineBorder(Paint paint, Stroke stroke, RectangleInsets insets)
Creates a new border with the specified color.
| |
| Method Summary | |
|---|---|
| void | draw(Graphics2D g2, Rectangle2D area)
Draws the border by filling in the reserved space (in black).
|
| boolean | equals(Object obj)
Tests this border for equality with an arbitrary instance.
|
| RectangleInsets | getInsets()
Returns the insets.
|
| Paint | getPaint()
Returns the paint.
|
| Stroke | getStroke()
Returns the stroke.
|
Parameters: paint the color (null not permitted). stroke the border stroke (null not permitted). insets the insets (null not permitted).
Parameters: g2 the graphics device. area the area.
Parameters: obj the object (null permitted).
Returns: A boolean.
Returns: The insets (never null).
Returns: The paint (never null).
Returns: The stroke (never null).