| java.lang.Object org.jvnet.substance.painter.highlight.SubstanceHighlightUtils
SubstanceHighlightUtils | public class SubstanceHighlightUtils (Code) | | Utilities for painting higlight backgrounds.
author: Kirill Grouchnikov |
Method Summary | |
public static void | paintHighlight(Graphics g, Component c, Rectangle rect, float borderAlpha, Set<Side> openSides, ColorScheme colorScheme1, ColorScheme colorScheme2, float cyclePos) Updates the specified component with the background that matches the
provided parameters.
Parameters: g - Graphic context. Parameters: c - Component. Parameters: rect - Rectangle to highlight. Parameters: borderAlpha - Border alpha. Parameters: openSides - The sides specified in this set will not be painted. |
paintHighlight | public static void paintHighlight(Graphics g, Component c, Rectangle rect, float borderAlpha, Set<Side> openSides, ColorScheme colorScheme1, ColorScheme colorScheme2, float cyclePos)(Code) | | Updates the specified component with the background that matches the
provided parameters.
Parameters: g - Graphic context. Parameters: c - Component. Parameters: rect - Rectangle to highlight. Parameters: borderAlpha - Border alpha. Parameters: openSides - The sides specified in this set will not be painted. Can benull or empty. Parameters: colorScheme1 - The first color scheme. Parameters: colorScheme2 - The second color scheme. Parameters: cyclePos - Cycle position. Is used for rollover and pulsation effects.Must be in 0..10 range. |
|
|