org.jvnet.substance
Class SubstanceBackgroundDelegate
java.lang.Object
org.jvnet.substance.SubstanceBackgroundDelegate
public class SubstanceBackgroundDelegate
- extends Object
Delegate class for painting buttons in Substance look and feel.
- Author:
- Kirill Grouchnikov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubstanceBackgroundDelegate
public SubstanceBackgroundDelegate()
- Simple constructor.
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.