com.objectwave.tools.propertyEditor
Class EdgeBorder

java.lang.Object
  |
  +--com.objectwave.tools.propertyEditor.EdgeBorder
All Implemented Interfaces:
javax.swing.border.Border, javax.swing.SwingConstants

public class EdgeBorder
extends java.lang.Object
implements javax.swing.border.Border, javax.swing.SwingConstants


Field Summary
protected  int edge
           
protected  int lift
           
static int LOWERED
           
static int RAISED
           
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
EdgeBorder()
           
EdgeBorder(int edge)
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component component)
           
 boolean isBorderOpaque()
           
 void paintBorder(java.awt.Component component, java.awt.Graphics g, int x, int y, int w, int h)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RAISED

public static final int RAISED
See Also:
Constant Field Values

LOWERED

public static final int LOWERED
See Also:
Constant Field Values

edge

protected int edge

lift

protected int lift
Constructor Detail

EdgeBorder

public EdgeBorder()

EdgeBorder

public EdgeBorder(int edge)
Method Detail

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component component)
Specified by:
getBorderInsets in interface javax.swing.border.Border

isBorderOpaque

public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface javax.swing.border.Border

paintBorder

public void paintBorder(java.awt.Component component,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
Specified by:
paintBorder in interface javax.swing.border.Border