public class TextAreaDefaults
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.
Modifiers | Name | Description |
---|---|---|
boolean |
blockCaret |
|
boolean |
bracketHighlight |
|
java.awt.Color |
bracketHighlightColor |
|
boolean |
caretBlinks |
|
java.awt.Color |
caretColor |
|
boolean |
caretVisible |
|
int |
cols |
|
SyntaxDocument |
document |
|
boolean |
editable |
|
int |
electricScroll |
|
java.awt.Color |
eolMarkerColor |
|
boolean |
eolMarkers |
|
InputHandler |
inputHandler |
|
boolean |
lineHighlight |
|
java.awt.Color |
lineHighlightColor |
|
boolean |
paintInvalid |
|
javax.swing.JPopupMenu |
popup |
|
int |
rows |
|
java.awt.Color |
selectionColor |
|
SyntaxStyle[] |
styles |
Type Params | Return Type | Name and description |
---|---|---|
|
public static TextAreaDefaults |
getDefaults() Returns a new TextAreaDefaults object with the default values filled in. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns a new TextAreaDefaults object with the default values filled in.