jimm.datavision.gui
Class FWBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by jimm.datavision.gui.FWBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border

 class FWBorder
extends javax.swing.border.AbstractBorder

A border for field widgets.

Author:
Jim Menard, jimm@io.com

Field Summary
protected static int CORNER_LINE_LEN
           
protected  FieldWidget fw
           
protected static int SELECTED_BORDER_THICKNESS
           
 
Constructor Summary
FWBorder(FieldWidget fw)
           
 
Method Summary
 void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CORNER_LINE_LEN

protected static final int CORNER_LINE_LEN
See Also:
Constant Field Values

SELECTED_BORDER_THICKNESS

protected static final int SELECTED_BORDER_THICKNESS
See Also:
Constant Field Values

fw

protected FieldWidget fw
Constructor Detail

FWBorder

FWBorder(FieldWidget fw)
Method Detail

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
Overrides:
paintBorder in class javax.swing.border.AbstractBorder