APIdia Launch Partner
Top Fields Constructors Methods
javax.swing.plaf.metal

pack-priv Class BumpBuffer

Located in compilation unit of javax.swing.plaf.metal.MetalBumps.

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv Color
private GraphicsConfiguration
pack-priv transient Image
pack-priv static final int
pack-priv Color
pack-priv Color

Constructor Summary

AccessConstructor and Description
public
BumpBuffer(GraphicsConfiguration gc, Color aTopColor, Color aShadowColor, Color aBackColor)

Method Summary

Modifier and TypeMethod and Description
private void
createImage()

Creates the image appropriate for the passed in GraphicsConfiguration, which may be null.

private void
fillBumpBuffer()

Paints the bumps into the current image.

public Image
getImage()

Returns the Image containing the bumps appropriate for the passed in GraphicsConfiguration.

public boolean
hasSameConfiguration(GraphicsConfiguration gc, Color aTopColor, Color aShadowColor, Color aBackColor)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

backColorback to summary
pack-priv Color backColor
gcback to summary
private GraphicsConfiguration gc
imageback to summary
pack-priv transient Image image
IMAGE_SIZEback to summary
pack-priv static final int IMAGE_SIZE
shadowColorback to summary
pack-priv Color shadowColor
topColorback to summary
pack-priv Color topColor

Constructor Detail

BumpBufferback to summary
public BumpBuffer(GraphicsConfiguration gc, Color aTopColor, Color aShadowColor, Color aBackColor)

Method Detail

createImageback to summary
private void createImage()

Creates the image appropriate for the passed in GraphicsConfiguration, which may be null.

fillBumpBufferback to summary
private void fillBumpBuffer()

Paints the bumps into the current image.

getImageback to summary
public Image getImage()

Returns the Image containing the bumps appropriate for the passed in GraphicsConfiguration.

hasSameConfigurationback to summary
public boolean hasSameConfiguration(GraphicsConfiguration gc, Color aTopColor, Color aShadowColor, Color aBackColor)