JClass DesktopViews 6.3.0 API
Documentation

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

Field Summary
protected static Insets borderInsets
           
 
Constructor Summary
AbstractSpinBox.MetalBorder()
           
 
Method Summary
 Insets getBorderInsets(Component c)
          Get the insets used by the border.
 void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
          Paint the border.
 
Methods inherited from class javax.swing.border.AbstractBorder
getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

borderInsets

protected static Insets borderInsets
Constructor Detail

AbstractSpinBox.MetalBorder

public AbstractSpinBox.MetalBorder()
Method Detail

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

Copyright © 2004 Quest Software Inc..
All rights reserved.