Class PairwiseButtonBackgroundDelegate
- java.lang.Object
-
- org.pushingpixels.substance.internal.utils.PairwiseButtonBackgroundDelegate
-
public class PairwiseButtonBackgroundDelegate extends Object
Delegate class for painting backgrounds of buttons in Substance look and feel. This class is for internal use only.
-
-
Constructor Summary
Constructors Constructor Description PairwiseButtonBackgroundDelegate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
updatePairwiseBackground(Graphics g, AbstractButton button, int width, int height, SubstanceConstants.Side side, boolean toIgnoreOpenSides)
Paints background image for the specified button in button pair (such as scrollbar arrows, for example).
-
-
-
Method Detail
-
updatePairwiseBackground
public static void updatePairwiseBackground(Graphics g, AbstractButton button, int width, int height, SubstanceConstants.Side side, boolean toIgnoreOpenSides)
Paints background image for the specified button in button pair (such as scrollbar arrows, for example).- Parameters:
g
- Graphics context.button
- Button.width
- Button width.height
- Button height.side
- Button orientation.toIgnoreOpenSides
- Iftrue
, the open side setting (controlled by theSubstanceLookAndFeel.BUTTON_OPEN_SIDE_PROPERTY
is ignored.
-
-