Class TextAreaDefaults

java.lang.Object
mars.venus.editor.jeditsyntax.TextAreaDefaults

public class TextAreaDefaults extends Object
Encapsulates default settings for a text area. This can be passed to the constructor once the necessary fields have been filled out. The advantage of doing this over calling lots of set() methods after creating the text area is that this method is faster.
  • Field Details

    • inputHandler

      public InputHandler inputHandler
    • document

      public SyntaxDocument document
    • editable

      public boolean editable
    • caretVisible

      public boolean caretVisible
    • blockCaret

      public boolean blockCaret
    • caretBlinkRate

      public int caretBlinkRate
    • electricScroll

      public int electricScroll
    • tabSize

      public int tabSize
    • cols

      public int cols
    • rows

      public int rows
    • styles

      public SyntaxStyle[] styles
    • backgroundColor

      public Color backgroundColor
    • foregroundColor

      public Color foregroundColor
    • caretForeground

      public Color caretForeground
    • selectionBackground

      public Color selectionBackground
    • lineHighlightVisible

      public boolean lineHighlightVisible
    • lineHighlightColor

      public Color lineHighlightColor
    • bracketHighlightVisible

      public boolean bracketHighlightVisible
    • bracketHighlightColor

      public Color bracketHighlightColor
    • eolMarkerVisible

      public boolean eolMarkerVisible
    • eolMarkerColor

      public Color eolMarkerColor
    • paintInvalid

      public boolean paintInvalid
  • Constructor Details

    • TextAreaDefaults

      public TextAreaDefaults(Settings settings)
      Constructs a new TextAreaDefaults object with the default values filled in.