public class ConsoleTextEditor extends JScrollPane
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 |
---|---|---|
|
public void |
changedUpdate(DocumentEvent documentEvent) |
|
public boolean |
clipBoardAvailable() |
|
public void |
enableHighLighter(Class<? extends DocumentFilter> clazz) |
|
public String |
getDefaultFamily() |
|
public Action |
getPrintAction() |
|
public Action |
getRedoAction() |
|
public TextEditor |
getTextEditor() |
|
public Action |
getUndoAction() |
|
public void |
insertUpdate(DocumentEvent documentEvent) |
|
public void |
paintComponent(Graphics g) |
|
public void |
removeUpdate(DocumentEvent documentEvent) |
|
public void |
setDefaultFamily(String defaultFamily) |
|
public void |
setEditable(boolean editable) |
|
public void |
setShowLineNumbers(boolean showLineNumbers) |
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.