public class ButtonImages
extends java.lang.Object
Constructor and Description |
---|
ButtonImages(@NotNull java.awt.Image imageLeft,
@NotNull java.awt.Image imageMiddle,
@NotNull java.awt.Image imageRight)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Returns the button's height.
|
void |
render(@NotNull java.awt.Graphics g,
int w)
Draws the button.
|
public ButtonImages(@NotNull @NotNull java.awt.Image imageLeft, @NotNull @NotNull java.awt.Image imageMiddle, @NotNull @NotNull java.awt.Image imageRight)
imageLeft
- the left imageimageMiddle
- the middle imageimageRight
- the right image