Class IndentedWrappedPlainView

All Implemented Interfaces:
SwingConstants, TabExpander

public final class IndentedWrappedPlainView extends WrappedPlainView
Wrapped plain view that indents continuation lines (wrapped segments after the first visual line of each logical line) by a fixed pixel amount so wrapped log lines are easier to scan.
  • Constructor Details

    • IndentedWrappedPlainView

      public IndentedWrappedPlainView(Element elem)
  • Method Details

    • drawLine

      protected void drawLine(int p0, int p1, Graphics2D g, float x, float y)
      Adds continuation indent for wrapped lines: if this segment does not start a logical line (character before p0 is not newline), draw with indent.
      Overrides:
      drawLine in class WrappedPlainView