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.border
Class SubstanceButtonBorder

    java.lang.Object
      org.jvnet.substance.utils.border.SubstanceButtonBorder

All Implemented Interfaces:
  javax.swing.border.Border, javax.swing.plaf.UIResource

    public abstract class SubstanceButtonBorder

extends java.lang.Object
implements javax.swing.border.Border, javax.swing.plaf.UIResource

Base class for button borders in Substance look-and-feel. This class is for internal use only.

Author:
  Kirill Grouchnikov

Constructor Summary
`SubstanceButtonBorder(java.lang.Class<?> buttonShaperClass)` Simple constructor.

Method Summary
`java.lang.Class<?>` | `getButtonShaperClass()` Returns the associated button shaper class.
`boolean` | `isBorderOpaque()`
`void` | `paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)`

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

Methods inherited from interface javax.swing.border.Border
`getBorderInsets`

Constructor Detail

### SubstanceButtonBorder

    public SubstanceButtonBorder(java.lang.Class<?> buttonShaperClass)

  Simple constructor.

  Parameters:
    `buttonShaperClass` - The associated button shaper class.

Method Detail

### isBorderOpaque

    public boolean isBorderOpaque()

  Specified by:
    `isBorderOpaque` in interface `javax.swing.border.Border`

### paintBorder

    public void paintBorder(java.awt.Component c,
                            java.awt.Graphics g,
                            int x,
                            int y,
                            int width,
                            int height)

  Specified by:
    `paintBorder` in interface `javax.swing.border.Border`

### getButtonShaperClass

    public java.lang.Class<?> getButtonShaperClass()

  Returns the associated button shaper class.

  Returns:
    The associated button shaper class.

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

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