public interface GradientTheme
javax.swing.plaf.metal.MetalTheme
to have a theme that provides
standard colors as well as gradient colors.Modifier and Type | Method and Description |
---|---|
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.
|
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()