Class ButtonImages
java.lang.Object
com.realtime.crossfire.jxclient.gui.button.ButtonImages
A set of images to form a button image. The button image consists of a left,
a middle, and a right part. Left and right parts have fixed size, the middle
part is clipped or repeated to the button's width.
-
Constructor Summary
ConstructorsConstructorDescriptionButtonImages
(@NotNull Image imageLeft, @NotNull Image imageMiddle, @NotNull Image imageRight) Creates a new instance. -
Method Summary
-
Constructor Details
-
Method Details
-
getHeight
public int getHeight()Returns the button's height.- Returns:
- the height
-
render
Draws the button.- Parameters:
g
- the graphics to paint intow
- the button width
-