Package org.fife.ui.rtextarea
Class Gutter.GutterBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- org.fife.ui.rtextarea.Gutter.GutterBorder
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.border.Border
- Enclosing class:
- Gutter
public static class Gutter.GutterBorder extends javax.swing.border.EmptyBorderThe border used by the gutter.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.awt.Colorcolorprivate java.awt.RectanglevisibleRect
-
Constructor Summary
Constructors Constructor Description GutterBorder(int top, int left, int bottom, int right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetColor()voidpaintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)voidsetColor(java.awt.Color color)voidsetEdges(int top, int left, int bottom, int right)Sets the edges of the gutter.-
Methods inherited from class javax.swing.border.EmptyBorder
getBorderInsets, getBorderInsets, isBorderOpaque
-
-
-
-
Method Detail
-
getColor
public java.awt.Color getColor()
-
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)- Specified by:
paintBorderin interfacejavax.swing.border.Border- Overrides:
paintBorderin classjavax.swing.border.EmptyBorder
-
setColor
public void setColor(java.awt.Color color)
-
setEdges
public void setEdges(int top, int left, int bottom, int right)Sets the edges of the gutter.- Parameters:
top- The top value.left- The left value.bottom- The bottom value.right- The right value.
-
-