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 Colorprivate PlasticBumps.BumpBufferprivate static final List<PlasticBumps.BumpBuffer>private Colorprivate Colorprivate intprivate int -
Constructor Summary
ConstructorsConstructorDescriptionPlasticBumps(int width, int height, Color newTopColor, Color newShadowColor, Color newBackColor) -
Method Summary
Modifier and TypeMethodDescriptionprivate PlasticBumps.BumpBuffergetBuffer(GraphicsConfiguration gc, Color aTopColor, Color aShadowColor, Color aBackColor) intintvoid(package private) voidsetBumpArea(int width, int height) (package private) voidsetBumpColors(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:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
getBuffer
private PlasticBumps.BumpBuffer getBuffer(GraphicsConfiguration gc, Color aTopColor, Color aShadowColor, Color aBackColor)
-