|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GradientTheme
Interface that provides methods for getting the colors for all gradients
in the Kunststoff Look&Feel. This interface can be implemented by subclasses
of javax.swing.plaf.metal.MetalTheme
to have a theme that provides
standard colors as well as gradient colors.
Method Summary | |
---|---|
int |
getBackgroundGradientShadow()
|
javax.swing.plaf.ColorUIResource |
getComponentGradientColorReflection()
Returns the upper gradient color for components like JButton, JMenuBar, and JProgressBar. |
javax.swing.plaf.ColorUIResource |
getComponentGradientColorShadow()
Returns the lower gradient color for components like JButton, JMenuBar, and JProgressBar. |
javax.swing.plaf.ColorUIResource |
getTextComponentGradientColorReflection()
Returns the upper gradient color for text components like JTextField and JPasswordField. |
javax.swing.plaf.ColorUIResource |
getTextComponentGradientColorShadow()
Returns the lower gradient color for text components like JTextField and JPasswordField. |
Method Detail |
---|
javax.swing.plaf.ColorUIResource getComponentGradientColorReflection()
null
if upper gradient should not be painted.
javax.swing.plaf.ColorUIResource getComponentGradientColorShadow()
null
if lower gradient should not be painted.
javax.swing.plaf.ColorUIResource getTextComponentGradientColorReflection()
null
if upper gradient should not be painted.
javax.swing.plaf.ColorUIResource getTextComponentGradientColorShadow()
null
if lower gradient should not be painted.
int getBackgroundGradientShadow()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |