com.incors.plaf.kunststoff
Interface GradientTheme

All Known Implementing Classes:
KunststoffGradientTheme

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

getComponentGradientColorReflection

javax.swing.plaf.ColorUIResource getComponentGradientColorReflection()
Returns the upper gradient color for components like JButton, JMenuBar, and JProgressBar. Will return null if upper gradient should not be painted.


getComponentGradientColorShadow

javax.swing.plaf.ColorUIResource getComponentGradientColorShadow()
Returns the lower gradient color for components like JButton, JMenuBar, and JProgressBar. Will return null if lower gradient should not be painted.


getTextComponentGradientColorReflection

javax.swing.plaf.ColorUIResource getTextComponentGradientColorReflection()
Returns the upper gradient color for text components like JTextField and JPasswordField. Will return null if upper gradient should not be painted.


getTextComponentGradientColorShadow

javax.swing.plaf.ColorUIResource getTextComponentGradientColorShadow()
Returns the lower gradient color for text components like JTextField and JPasswordField. Will return null if lower gradient should not be painted.


getBackgroundGradientShadow

int getBackgroundGradientShadow()