Package | Description |
---|---|
org.jdesktop.swingx.painter |
Contains classes and interfaces used by painter enabled components.
|
Modifier and Type | Method and Description |
---|---|
AbstractAreaPainter.Style |
AbstractAreaPainter.getStyle()
Gets the current Style.
|
static AbstractAreaPainter.Style |
AbstractAreaPainter.Style.valueOf(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 and Description |
---|---|
void |
AbstractAreaPainter.setStyle(AbstractAreaPainter.Style s)
The shape can be filled or simply stroked (outlined), or both or none.
|
Constructor and Description |
---|
RectanglePainter(Paint fillPaint,
Paint borderPaint,
float borderWidth,
AbstractAreaPainter.Style style) |
ShapePainter(Shape shape,
Paint paint,
AbstractAreaPainter.Style style)
Create a new ShapePainter with the specified shape and fillPaint.
|
Copyright © 2020. All rights reserved.