Component which provides a styled editor for the console.
Fields inherited from class | Fields |
---|---|
class JScrollPane |
VIEWPORT, VERTICAL_SCROLLBAR, HORIZONTAL_SCROLLBAR, ROW_HEADER, COLUMN_HEADER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, LOWER_LEADING_CORNER, LOWER_TRAILING_CORNER, UPPER_LEADING_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR_POLICY, HORIZONTAL_SCROLLBAR_POLICY, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_ALWAYS, WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT |
Constructor and description |
---|
ConsoleTextEditor
() Creates a new instance of ConsoleTextEditor |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
changedUpdate(DocumentEvent documentEvent) |
|
boolean |
clipBoardAvailable() |
|
void |
enableHighLighter(Class clazz) |
|
String |
getDefaultFamily() |
|
Action |
getPrintAction() |
|
Action |
getRedoAction() |
|
TextEditor |
getTextEditor() |
|
Action |
getUndoAction() |
|
protected void |
initActions() |
|
void |
insertUpdate(DocumentEvent documentEvent) |
|
void |
paintComponent(Graphics g) |
|
void |
removeUpdate(DocumentEvent documentEvent) |
|
void |
setDefaultFamily(String defaultFamily) |
|
void |
setEditable(boolean editable) |
|
void |
setShowLineNumbers(boolean showLineNumbers) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.