Package | Description |
---|---|
org.jdesktop.swingx.painter |
Contains classes and interfaces used by painter enabled components.
|
Modifier and Type | Method | Description |
---|---|---|
AbstractAreaPainter.Style |
AbstractAreaPainter.getStyle() |
Gets the current Style.
|
static AbstractAreaPainter.Style |
AbstractAreaPainter.Style.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AbstractAreaPainter.Style[] |
AbstractAreaPainter.Style.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractAreaPainter.setStyle(AbstractAreaPainter.Style s) |
The shape can be filled or simply stroked (outlined), or both or none.
|
Constructor | Description |
---|---|
RectanglePainter(java.awt.Paint fillPaint,
java.awt.Paint borderPaint,
float borderWidth,
AbstractAreaPainter.Style style) |
|
ShapePainter(java.awt.Shape shape,
java.awt.Paint paint,
AbstractAreaPainter.Style style) |
Create a new ShapePainter with the specified shape and fillPaint.
|