|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.swing.painter.GradientButtonPainter
org.formaria.swing.painter.GradientToggleButtonPainter
public class GradientToggleButtonPainter
A painter for toggle button backgrounds.
Copyright (c) Formaria Ltd., 2008
License: see license.txt
| Field Summary |
|---|
| Fields inherited from class org.formaria.swing.painter.GradientButtonPainter |
|---|
NORMAL, NUM_STATES, PRESSED, PRESSED_SELECTED, ROLLOVER, ROLLOVER_SELECTED, SELECTED |
| Constructor Summary | |
|---|---|
GradientToggleButtonPainter()
|
|
| Method Summary | |
|---|---|
void |
paint(java.awt.Graphics2D g,
javax.swing.JComponent obj,
int w,
int h)
Paints a background for a button |
| Methods inherited from class org.formaria.swing.painter.GradientButtonPainter |
|---|
getArea, paint, setSelectedHighlight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GradientToggleButtonPainter()
| Method Detail |
|---|
public void paint(java.awt.Graphics2D g,
javax.swing.JComponent obj,
int w,
int h)
paint in class GradientButtonPainterg - the graphics contextobj - The object/component being paintedw - the width coordinateh - the height coordinate
Copyright: Copyright (c) Formaria Ltd., 2008
License: see license.txt
$Revision: 1.3 $
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||