Package | Description |
---|---|
org.jdesktop.swingx.painter |
Contains classes and interfaces used by painter enabled components.
|
Modifier and Type | Method and Description |
---|---|
GlossPainter.GlossPosition |
GlossPainter.getPosition()
Returns the position at which the gloss is painted.
|
static GlossPainter.GlossPosition |
GlossPainter.GlossPosition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlossPainter.GlossPosition[] |
GlossPainter.GlossPosition.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
GlossPainter.setPosition(GlossPainter.GlossPosition position)
Changes the position of the gloss in the painted area.
|
Constructor and Description |
---|
GlossPainter(GlossPainter.GlossPosition position)
Creates a new gloss painter positioned at the specified position
and using a white, 20% translucent paint.
|
GlossPainter(Paint paint,
GlossPainter.GlossPosition position)
Creates a new gloss painter positioned at the specified position
and painted with the specified paint.
|
Copyright © 2017. All rights reserved.