| org.jvnet.substance.painter.highlight.SubstanceHighlightPainter
All known Subclasses: org.jvnet.substance.painter.highlight.ClassicHighlightPainter, org.jvnet.substance.painter.highlight.GlassHighlightPainter,
SubstanceHighlightPainter | public interface SubstanceHighlightPainter extends SubstanceTrait(Code) | | Highlight painter interface for Substance look and feel. This class
is part of officially supported API.
author: Kirill Grouchnikov since: version 4.3 |
Method Summary | |
public void | paintHighlight(Graphics2D graphics, Component comp, int width, int height, float borderAlpha, Set<Side> openSides, ColorScheme colorScheme1, ColorScheme colorScheme2, float cyclePos) Paints the highlight.
Parameters: graphics - Graphics context. Parameters: comp - Component. Parameters: width - Width. Parameters: height - Height. Parameters: borderAlpha - Border alpha factor. Parameters: openSides - The sides specified in this set will not be painted. |
paintHighlight | public void paintHighlight(Graphics2D graphics, Component comp, int width, int height, float borderAlpha, Set<Side> openSides, ColorScheme colorScheme1, ColorScheme colorScheme2, float cyclePos)(Code) | | Paints the highlight.
Parameters: graphics - Graphics context. Parameters: comp - Component. Parameters: width - Width. Parameters: height - Height. Parameters: borderAlpha - Border alpha factor. 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 selection animations.Must be in 0..10 range. |
|
|