|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pushingpixels.substance.internal.utils.combo.ComboBoxBackgroundDelegate
public class ComboBoxBackgroundDelegate
Delegate class for painting backgrounds of buttons in Substance look and feel. This class is for internal use only.
| Constructor Summary | |
|---|---|
ComboBoxBackgroundDelegate()
Simple constructor. |
|
| Method Summary | |
|---|---|
static java.awt.image.BufferedImage |
getFullAlphaBackground(javax.swing.JComboBox combo,
javax.swing.ButtonModel model,
SubstanceFillPainter fillPainter,
SubstanceBorderPainter borderPainter,
int width,
int height)
Retrieves the background for the specified button. |
void |
updateBackground(java.awt.Graphics g,
javax.swing.JComboBox combo,
javax.swing.ButtonModel comboModel)
Updates background of the specified button. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComboBoxBackgroundDelegate()
| Method Detail |
|---|
public static java.awt.image.BufferedImage getFullAlphaBackground(javax.swing.JComboBox combo,
javax.swing.ButtonModel model,
SubstanceFillPainter fillPainter,
SubstanceBorderPainter borderPainter,
int width,
int height)
combo - combo box.model - Button model.fillPainter - Button fill painter.borderPainter - Button border painter.width - Button width.height - Button height.
public void updateBackground(java.awt.Graphics g,
javax.swing.JComboBox combo,
javax.swing.ButtonModel comboModel)
g - Graphic context.combo - Combo Box to update.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||