com.klg.jclass.util.swing
Class AbstractSpinBox.MetalBorder
java.lang.Object
|
+--javax.swing.border.AbstractBorder
|
+--com.klg.jclass.util.swing.AbstractSpinBox.MetalBorder
- All Implemented Interfaces:
- Border, Serializable, UIResource
- Enclosing class:
- AbstractSpinBox
- public static class AbstractSpinBox.MetalBorder
- extends AbstractBorder
- implements UIResource, Serializable
Generates a border for the Metal look and feel.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
borderInsets
protected static Insets borderInsets
AbstractSpinBox.MetalBorder
public AbstractSpinBox.MetalBorder()
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
- Paint the border.
- Specified by:
paintBorder
in interface Border
- Overrides:
paintBorder
in class AbstractBorder
getBorderInsets
public Insets getBorderInsets(Component c)
- Get the insets used by the border.
- Specified by:
getBorderInsets
in interface Border
- Overrides:
getBorderInsets
in class AbstractBorder