org.fife.rtext
Class BottomLineBorder
java.lang.Object
javax.swing.border.AbstractBorder
org.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
|
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 |
BottomLineBorder
public BottomLineBorder(int horizInsets)
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)