|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextOps
Stuff to work with editor panes.
Field Summary | |
---|---|
static int |
BEGIN_LINE
Position at/near begin line depending on flags. |
static int |
CURSOR_LEFT
Move cursor to the left |
static int |
CURSOR_RIGHT
Move cursor to the right |
static int |
CURSOR_TO_LINE
Move cursor to line maintaining column position. |
static int |
DELETE_PREVIOUS_CHAR
Delete previous character |
static int |
GOTO_LINE
Move cursor to start of line indicated in place1. |
static int |
INSERT_NEW_LINE
Insert the text at the current cursor position. |
static int |
INSERT_TAB
Insert the text at the current cursor position. |
static int |
INSERT_TEXT
Insert the text at specified cursor position. |
static int |
KEY_TYPED
Insert the text at the current cursor position. |
Method Summary | |
---|---|
void |
init(JEditorPane editorPane)
|
void |
xact(Action action)
|
void |
xact(Action action,
String keyTyped)
|
void |
xact(String redoAction)
|
void |
xop(int op)
|
void |
xop(int op,
String s)
|
Field Detail |
---|
static final int GOTO_LINE
static final int CURSOR_TO_LINE
static final int BEGIN_LINE
static final int CURSOR_RIGHT
static final int CURSOR_LEFT
static final int INSERT_TEXT
static final int INSERT_NEW_LINE
static final int INSERT_TAB
static final int KEY_TYPED
static final int DELETE_PREVIOUS_CHAR
Method Detail |
---|
void xact(Action action)
void xact(Action action, String keyTyped)
void xact(String redoAction)
void xop(int op, String s)
void xop(int op)
void init(JEditorPane editorPane)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |