org.jvnet.substance.painter.utils
Class OverlayPainterUtils

java.lang.Object
  extended by org.jvnet.substance.painter.utils.OverlayPainterUtils

public class OverlayPainterUtils
extends java.lang.Object

Contains utility methods related to overlay painters. This class is for internal use only.

Author:
Kirill Grouchnikov

Constructor Summary
OverlayPainterUtils()
           
 
Method Summary
static void paintOverlays(java.awt.Graphics g, java.awt.Component c, SubstanceSkin skin, DecorationAreaType decorationAreaType)
          Paints all registered overlays on the specified component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlayPainterUtils

public OverlayPainterUtils()
Method Detail

paintOverlays

public static void paintOverlays(java.awt.Graphics g,
                                 java.awt.Component c,
                                 SubstanceSkin skin,
                                 DecorationAreaType decorationAreaType)
Paints all registered overlays on the specified component. Overlay painters are registered with SubstanceSkin.addOverlayPainter(SubstanceOverlayPainter, DecorationAreaType...) API.

Parameters:
g - Graphics context.
c - Component.
skin - Component skin.
decorationAreaType - Component decoration area type.