java.lang.Object | |
↳ | org.jfree.chart.block.BlockBorder |
A border for a block. This class is immutable.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NONE | An empty border. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a default border.
| |||||||||||
Creates a new border with the specified color.
| |||||||||||
Creates a new border with the specified line widths (in black).
| |||||||||||
Creates a new border with the specified line widths (in black).
| |||||||||||
Creates a new border.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Draws the border by filling in the reserved space.
| |||||||||||
Tests this border for equality with an arbitrary instance.
| |||||||||||
Returns the space reserved for the border.
| |||||||||||
Returns the paint used to draw the border.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a default border.
Creates a new border with the specified color.
paint | the color (null not permitted).
|
---|
Creates a new border with the specified line widths (in black).
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. |
Creates a new border with the specified line widths (in black).
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).
|
Creates a new border.
insets | the border insets (null not permitted). |
---|---|
paint | the paint (null not permitted).
|
Draws the border by filling in the reserved space.
g2 | the graphics device. |
---|---|
area | the area. |
Tests this border for equality with an arbitrary instance.
obj | the object (null permitted). |
---|
Returns the space reserved for the border.
null
).