Package com.jgoodies.looks.plastic
Class PlasticBumps
java.lang.Object
com.jgoodies.looks.plastic.PlasticBumps
- All Implemented Interfaces:
Icon
Creates, adjusts and paints the bumps used in the JGoodies Plastic L&Fs.
- Version:
- $Revision: 1.11 $
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Color
private PlasticBumps.BumpBuffer
private static final List
<PlasticBumps.BumpBuffer> private Color
private Color
private int
private int
-
Constructor Summary
ConstructorsConstructorDescriptionPlasticBumps
(int width, int height, Color newTopColor, Color newShadowColor, Color newBackColor) -
Method Summary
Modifier and TypeMethodDescriptionprivate PlasticBumps.BumpBuffer
getBuffer
(GraphicsConfiguration gc, Color aTopColor, Color aShadowColor, Color aBackColor) int
int
void
(package private) void
setBumpArea
(int width, int height) (package private) void
setBumpColors
(Color newTopColor, Color newShadowColor, Color newBackColor)
-
Field Details
-
BUFFERS
-
xBumps
private int xBumps -
yBumps
private int yBumps -
topColor
-
shadowColor
-
backColor
-
buffer
-
-
Constructor Details
-
PlasticBumps
-
-
Method Details
-
setBumpArea
void setBumpArea(int width, int height) -
setBumpColors
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
getBuffer
private PlasticBumps.BumpBuffer getBuffer(GraphicsConfiguration gc, Color aTopColor, Color aShadowColor, Color aBackColor)
-