| java.lang.Object org.jvnet.substance.utils.PairwiseButtonBackgroundDelegate
PairwiseButtonBackgroundDelegate | public class PairwiseButtonBackgroundDelegate (Code) | | Delegate class for painting backgrounds of buttons in Substance look
and feel. This class is for internal use only.
author: Kirill Grouchnikov |
Inner Class :public static class ButtonBackground | |
PairwiseButtonBackgroundDelegate | public PairwiseButtonBackgroundDelegate()(Code) | | Simple constructor.
|
getPairwiseBackground | public static BufferedImage getPairwiseBackground(AbstractButton button, SubstanceGradientPainter painter, int width, int height, SubstanceConstants.Side side, boolean toIgnoreOpenSides)(Code) | | Retrieves background image for the specified button in button pair (such
as scrollbar arrows, for example).
Parameters: button - Button. Parameters: painter - Gradient painter. Parameters: width - Button width. Parameters: height - Button height. Parameters: side - Button orientation. Parameters: toIgnoreOpenSides - If true , the open side setting (controlled bythe SubstanceLookAndFeel.BUTTON_OPEN_SIDE_PROPERTY isignored. Button background image. |
updateBackground | public static void updateBackground(Graphics g, AbstractButton button, SubstanceConstants.Side side)(Code) | | Updates background of the specified button.
Parameters: g - Graphic context. Parameters: button - Button to update. Parameters: side - Button side. |
|
|