Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jvnet.substance.utils
Class PairwiseButtonBackgroundDelegate

    java.lang.Object
      org.jvnet.substance.utils.PairwiseButtonBackgroundDelegate

    public class PairwiseButtonBackgroundDelegate

extends java.lang.Object

Delegate class for painting backgrounds of buttons in Substance look and feel. This class is for internal use only.

Author:
  Kirill Grouchnikov

Constructor Summary
`PairwiseButtonBackgroundDelegate()`

Method Summary
`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).

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PairwiseButtonBackgroundDelegate

    public PairwiseButtonBackgroundDelegate()

Method Detail

### updatePairwiseBackground

    public 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).

  Parameters:
    `g` - Graphics context.
    `button` - Button.
    `painter` - Gradient painter.
    `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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD