Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jvnet.substance.painter.highlight
Interface SubstanceHighlightPainter

All Superinterfaces:
  SubstanceTrait

All Known Implementing Classes:
  ClassicHighlightPainter, GlassHighlightPainter

    public interface SubstanceHighlightPainter

extends SubstanceTrait

Highlight painter interface for Substance look and feel. This class is part of officially supported API.

Since:
  version 4.3
Author:
  Kirill Grouchnikov

Method Summary
`void` | `paintHighlight(java.awt.Graphics2D graphics, java.awt.Component comp, int width, int height, float borderAlpha, java.util.Set<SubstanceConstants.Side> openSides, SubstanceColorScheme colorScheme1, SubstanceColorScheme colorScheme2, float cyclePos)`
Paints the highlight.

Methods inherited from interface org.jvnet.substance.api.trait.SubstanceTrait
`getDisplayName`

Method Detail

### paintHighlight

    void paintHighlight(java.awt.Graphics2D graphics,
                        java.awt.Component comp,
                        int width,
                        int height,
                        float borderAlpha,
                        java.util.Set<SubstanceConstants.Side> openSides,
                        SubstanceColorScheme colorScheme1,
                        SubstanceColorScheme colorScheme2,
                        float cyclePos)

  Paints the highlight.

  Parameters:
    `graphics` - Graphics context.
    `comp` - Component.
    `width` - Width.
    `height` - Height.
    `borderAlpha` - Border alpha factor.
    `openSides` - The sides specified in this set will not be painted. Can be `null` or empty.
    `colorScheme1` - The first color scheme.
    `colorScheme2` - The second color scheme.
    `cyclePos` - Cycle position. Is used for rollover and selection animations. Must be in 0..10 range.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD