Class ButtonImages
- java.lang.Object
-
- com.realtime.crossfire.jxclient.gui.button.ButtonImages
-
public class ButtonImages extends java.lang.ObjectA 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
Constructors Constructor Description ButtonImages(@NotNull java.awt.Image imageLeft, @NotNull java.awt.Image imageMiddle, @NotNull java.awt.Image imageRight)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()Returns the button's height.voidrender(@NotNull java.awt.Graphics g, int w)Draws the button.
-
-
-
Constructor Detail
-
ButtonImages
public ButtonImages(@NotNull @NotNull java.awt.Image imageLeft, @NotNull @NotNull java.awt.Image imageMiddle, @NotNull @NotNull java.awt.Image imageRight)Creates a new instance.- Parameters:
imageLeft- the left imageimageMiddle- the middle imageimageRight- the right image
-
-