public class PairwiseButtonBackgroundDelegate
extends java.lang.Object
Constructor and Description |
---|
PairwiseButtonBackgroundDelegate() |
Modifier and Type | Method and Description |
---|---|
static void |
updatePairwiseBackground(java.awt.Graphics g,
javax.swing.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).
|
public static void updatePairwiseBackground(java.awt.Graphics g, javax.swing.AbstractButton button, int width, int height, SubstanceConstants.Side side, boolean toIgnoreOpenSides)
g
- Graphics context.button
- Button.width
- Button width.height
- Button height.side
- Button orientation.toIgnoreOpenSides
- If true
, the open side setting (controlled by the
SubstanceLookAndFeel.BUTTON_OPEN_SIDE_PROPERTY
is
ignored.