org.jvnet.substance.utils.icon
Interface TransitionAwareIcon.Delegate

Enclosing class:
TransitionAwareIcon

public static interface TransitionAwareIcon.Delegate

The delegate needs to implement the method in this interface based on the provided color scheme. The color scheme is computed based on the transitions that are happening on the associated button.

Author:
Kirill Grouchnikov

Method Summary
 javax.swing.Icon getColorSchemeIcon(SubstanceColorScheme scheme)
          Returns the icon that matches the specified scheme.
 

Method Detail

getColorSchemeIcon

javax.swing.Icon getColorSchemeIcon(SubstanceColorScheme scheme)
Returns the icon that matches the specified scheme.

Parameters:
scheme - Color scheme.
Returns:
Icon that matches the specified scheme.