processing.app.syntax
Class TextAreaDefaults
java.lang.Object
processing.app.syntax.TextAreaDefaults
- Direct Known Subclasses:
- PdeTextAreaDefaults
public class TextAreaDefaults
- extends java.lang.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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputHandler
public InputHandler inputHandler
document
public SyntaxDocument document
editable
public boolean editable
caretVisible
public boolean caretVisible
caretBlinks
public boolean caretBlinks
blockCaret
public boolean blockCaret
electricScroll
public int electricScroll
cols
public int cols
rows
public int rows
styles
public SyntaxStyle[] styles
caretColor
public java.awt.Color caretColor
selectionColor
public java.awt.Color selectionColor
lineHighlightColor
public java.awt.Color lineHighlightColor
lineHighlight
public boolean lineHighlight
bracketHighlightColor
public java.awt.Color bracketHighlightColor
bracketHighlight
public boolean bracketHighlight
eolMarkerColor
public java.awt.Color eolMarkerColor
eolMarkers
public boolean eolMarkers
paintInvalid
public boolean paintInvalid
font
public java.awt.Font font
fgcolor
public java.awt.Color fgcolor
bgcolor
public java.awt.Color bgcolor
TextAreaDefaults
public TextAreaDefaults()
getDefaults
public static TextAreaDefaults getDefaults()
- Returns a new TextAreaDefaults object with the default values filled
in.