Additional top-level class in compilation unit: BumpBuffer.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Color | |
| protected Color | |
| protected BumpBuffer | |
| private static final List | |
| protected Color | |
| protected Color | |
| protected int | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | MetalBumps(int width, int height, Color newTopColor, Color newShadowColor, Color newBackColor)
Creates MetalBumps of the specified size with the specified colors. |
| Modifier and Type | Method and Description |
|---|---|
| private static BumpBuffer | |
| public int | |
| public int | |
| public void | paintIcon(Component c, Graphics g, int x, int y)
Implements javax. Draw the icon at the specified location. |
| public void | |
| public void | |
| public void |
| ALPHA | back to summary |
|---|---|
| pack-priv static final Color ALPHA | |
| backColor | back to summary |
|---|---|
| protected Color backColor | |
| buffer | back to summary |
|---|---|
| protected BumpBuffer buffer | |
| bumpsList | back to summary |
|---|---|
| private static final List<BumpBuffer> bumpsList | |
| shadowColor | back to summary |
|---|---|
| protected Color shadowColor | |
| topColor | back to summary |
|---|---|
| protected Color topColor | |
| xBumps | back to summary |
|---|---|
| protected int xBumps | |
| yBumps | back to summary |
|---|---|
| protected int yBumps | |
| MetalBumps | back to summary |
|---|---|
| public MetalBumps(int width, int height, Color newTopColor, Color newShadowColor, Color newBackColor) Creates MetalBumps of the specified size with the specified colors.
If | |
| createBuffer | back to summary |
|---|---|
| private static BumpBuffer createBuffer(GraphicsConfiguration gc, Color topColor, Color shadowColor, Color backColor) | |
| getIconHeight | back to summary |
|---|---|
| public int getIconHeight() Implements javax. Doc from javax. Returns the icon's height. | |
| getIconWidth | back to summary |
|---|---|
| public int getIconWidth() Implements javax. Doc from javax. Returns the icon's width. | |
| paintIcon | back to summary |
|---|---|
| public void paintIcon(Component c, Graphics g, int x, int y) Implements javax. Doc from javax. Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color. | |
| setBumpArea | back to summary |
|---|---|
| public void setBumpArea(Dimension bumpArea) | |
| setBumpArea | back to summary |
|---|---|
| public void setBumpArea(int width, int height) | |
| setBumpColors | back to summary |
|---|---|
| public void setBumpColors(Color newTopColor, Color newShadowColor, Color newBackColor) | |