Class Gutter.GutterBorder

All Implemented Interfaces:
Serializable, Border
Enclosing class:
Gutter

public static class Gutter.GutterBorder extends EmptyBorder
The border used by the gutter.
See Also:
  • Field Details

    • color

      private Color color
    • visibleRect

      private Rectangle visibleRect
  • Constructor Details

    • GutterBorder

      public GutterBorder(int top, int left, int bottom, int right)
  • Method Details

    • getColor

      public Color getColor()
    • paintBorder

      public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
      Specified by:
      paintBorder in interface Border
      Overrides:
      paintBorder in class EmptyBorder
    • setColor

      public void setColor(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.