com.uwyn.rife.swing
Class BorderEtched

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by com.uwyn.rife.swing.BorderEtched
All Implemented Interfaces:
Serializable, Border

public class BorderEtched
extends AbstractBorder

See Also:
Serialized Form

Field Summary
static int LOWERED
           
static int RAISED
           
 
Constructor Summary
BorderEtched()
           
BorderEtched(int edgeType)
           
 
Method Summary
 Insets getBorderInsets(Component component)
           
 Insets getBorderInsets(Component component, Insets insets)
           
 void paintBorder(Component component, Graphics graphics, int x, int y, int width, int height)
           
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
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
Constructor Detail

BorderEtched

public BorderEtched()

BorderEtched

public BorderEtched(int edgeType)
Method Detail

paintBorder

public void paintBorder(Component component,
                        Graphics graphics,
                        int x,
                        int y,
                        int width,
                        int height)
Specified by:
paintBorder in interface Border
Overrides:
paintBorder in class AbstractBorder

getBorderInsets

public Insets getBorderInsets(Component component)
Specified by:
getBorderInsets in interface Border
Overrides:
getBorderInsets in class AbstractBorder

getBorderInsets

public Insets getBorderInsets(Component component,
                              Insets insets)
Overrides:
getBorderInsets in class AbstractBorder


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.