|
Sharkysoft home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--lava.gui.ButtonImages
Button faces for various button states.
Details: A ButtonImages instance defines the images to be used in fancy buttons that can assume a variety of visual states. Members define images for buttons that are in or out, and hot, cold, or disabled (frozen).
GuiToolbox.configureFaces(javax.swing.AbstractButton, lava.gui.ButtonImages)
,
GuiToolbox.buildJButton(lava.gui.ButtonImages)
,
GuiToolbox.buildJToggleButton(lava.gui.ButtonImages)
Inner Class Summary | |
static class |
ButtonImages.StateSet
Button faces for a single button position. |
Field Summary | |
ButtonImages.StateSet |
in
Button faces for in position. |
ButtonImages.StateSet |
out
Button faces for out position. |
Constructor Summary | |
ButtonImages()
Default constructor. |
|
ButtonImages(ButtonImages original)
Copy constructor. |
Method Summary | |
ButtonImages |
crop(java.awt.Rectangle r)
Crops images. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final ButtonImages.StateSet in
Details: in
is the set of images to be used when the button is in the depressed position.
public final ButtonImages.StateSet out
Details: out
is the set of images to be used when the button is popped out (i.e., not depressed).
Constructor Detail |
public ButtonImages()
Details: This constructor initializes all faces in both states to be null. Members must be individually filled in after construction.
public ButtonImages(ButtonImages original)
Details: This constructor initializes the new instance to have the same faces as original.
original
- the face collection to copyMethod Detail |
public ButtonImages crop(java.awt.Rectangle r)
Details: crop
returns a new ButtonImages
object whose images are the same as this
, but cropped according to the given rectangle.
r
- the rectangleButtonImages.StateSet
-
|
Sharkysoft home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |