Class FoldingAwareIconRowHeader

All Implemented Interfaces:
MouseListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class FoldingAwareIconRowHeader extends IconRowHeader
A row header component that takes code folding into account when painting itself.
Version:
1.0
See Also:
  • Constructor Details

    • FoldingAwareIconRowHeader

      public FoldingAwareIconRowHeader(RSyntaxTextArea textArea)
      Constructor.
      Parameters:
      textArea - The parent text area.
  • Method Details

    • paintComponent

      protected void paintComponent(Graphics g)
      Overrides:
      paintComponent in class IconRowHeader
    • paintComponentWrapped

      private void paintComponentWrapped(Graphics g)
      Paints icons when line wrapping is enabled. Note that this does not override the parent class's implementation to avoid this version being called when line wrapping is disabled.