org.jvnet.substance
Class SubstanceBackgroundDelegate

java.lang.Object
  extended by org.jvnet.substance.SubstanceBackgroundDelegate

public class SubstanceBackgroundDelegate
extends Object

Delegate class for painting buttons in Substance look and feel.

Author:
Kirill Grouchnikov

Constructor Summary
SubstanceBackgroundDelegate()
          Simple constructor.
 
Method Summary
 void updateBackground(Graphics g, AbstractButton button, long cycleCount)
          Updates background of the specified button.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstanceBackgroundDelegate

public SubstanceBackgroundDelegate()
Simple constructor.

Method Detail

updateBackground

public void updateBackground(Graphics g,
                             AbstractButton button,
                             long cycleCount)
Updates background of the specified button.

Parameters:
g - Graphic context.
button - Button to update.
cycleCount - Cycle count for transition effects.