| java.lang.Object org.jvnet.substance.flamingo.ribbon.RibbonBackgroundDelegate
RibbonBackgroundDelegate | public class RibbonBackgroundDelegate (Code) | | Delegate class for painting backgrounds of buttons in Ribbon plugin.
author: Kirill Grouchnikov |
Method Summary | |
public static synchronized void | reset() Resets image maps (used when setting new theme). | public void | updateBackground(Graphics g, AbstractButton button, long cycleCount) Updates background of the specified button. |
RibbonBackgroundDelegate | public RibbonBackgroundDelegate()(Code) | | Simple constructor.
|
updateBackground | public void updateBackground(Graphics g, AbstractButton button, long cycleCount)(Code) | | Updates background of the specified button.
Parameters: g - Graphic context. Parameters: button - Button to update. Parameters: cycleCount - Cycle count for transition effects. |
|
|