org.fife.rtext
Class BottomLineBorder

java.lang.Object
  extended byjavax.swing.border.AbstractBorder
      extended byorg.fife.rtext.BottomLineBorder
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable

public class BottomLineBorder
extends javax.swing.border.AbstractBorder

A border that draws a single 1-pixel line across the bottom of the component. Useful for minimal "toolbars" in dockable windows.

Version:
1.0
Author:
Robert Futrell
See Also:
Serialized Form

Constructor Summary
BottomLineBorder(int horizInsets)
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
 java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
           
 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
getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BottomLineBorder

public BottomLineBorder(int horizInsets)
Method Detail

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c,
                                       java.awt.Insets insets)

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)