Package com.jgoodies.looks.plastic
Class PlasticBumps.BumpBuffer
java.lang.Object
com.jgoodies.looks.plastic.PlasticBumps.BumpBuffer
- Enclosing class:
PlasticBumps
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBumpBuffer
(GraphicsConfiguration gc, Color aTopColor, Color aShadowColor, Color aBackColor) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Creates the image appropriate for the passed inGraphicsConfiguration
, which may be null.private void
Paints the bumps into the current image.(package private) Image
getImage()
Returns the Image containing the bumps appropriate for the passed inGraphicsConfiguration
.(package private) static Dimension
(package private) boolean
hasSameConfiguration
(GraphicsConfiguration aGC, Color aTopColor, Color aShadowColor, Color aBackColor)
-
Field Details
-
IMAGE_SIZE
private static final int IMAGE_SIZE- See Also:
-
imageSize
-
image
-
topColor
-
shadowColor
-
backColor
-
gc
-
-
Constructor Details
-
BumpBuffer
BumpBuffer(GraphicsConfiguration gc, Color aTopColor, Color aShadowColor, Color aBackColor)
-
-
Method Details
-
hasSameConfiguration
boolean hasSameConfiguration(GraphicsConfiguration aGC, Color aTopColor, Color aShadowColor, Color aBackColor) -
getImage
Image getImage()Returns the Image containing the bumps appropriate for the passed inGraphicsConfiguration
. -
getImageSize
-
fillBumpBuffer
private void fillBumpBuffer()Paints the bumps into the current image. -
createImage
private void createImage()Creates the image appropriate for the passed inGraphicsConfiguration
, which may be null.
-