|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.SubstanceGradientBackgroundDelegate
public class SubstanceGradientBackgroundDelegate
Delegate for painting gradient backgrounds.
Constructor Summary | |
---|---|
SubstanceGradientBackgroundDelegate()
Creates a new gradien background delegate. |
Method Summary | |
---|---|
void |
update(java.awt.Graphics g,
java.awt.Component c,
int width,
int height,
SubstanceTheme theme,
float borderAlpha)
Updates the specified component with the background that matches the provided parameters. |
void |
update(java.awt.Graphics g,
java.awt.Component c,
java.awt.Rectangle rect,
SubstanceTheme theme,
float borderAlpha)
Updates the specified component with the background that matches the provided parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubstanceGradientBackgroundDelegate()
Method Detail |
---|
public void update(java.awt.Graphics g, java.awt.Component c, int width, int height, SubstanceTheme theme, float borderAlpha)
g
- Graphic context.c
- Component.width
- Background width.height
- Background height.theme
- Theme for the background.borderAlpha
- Border alpha.public void update(java.awt.Graphics g, java.awt.Component c, java.awt.Rectangle rect, SubstanceTheme theme, float borderAlpha)
g
- Graphic context.c
- Component.rect
- Background rectangle.theme
- Theme for the background.borderAlpha
- Border alpha.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |