public class JTermKit extends StyledEditorKit
Modifier and Type | Class and Description |
---|---|
static class |
JTermKit.CompleteCommandAction
Action attached to the Tab key.
|
static class |
JTermKit.DefaultKeyTypedAction
The action that is executed by default if
a key typed event is received and there
is no keymap entry.
|
static class |
JTermKit.EvaluateAction
Triggers evaluation of the current command.
|
static class |
JTermKit.HistoryNextAction
Means going forward in the command history.
|
static class |
JTermKit.HistoryPreviousAction
Means going backwards in the command history.
|
static class |
JTermKit.InsertNewLineAction |
static class |
JTermKit.KillRestOfLineAction
Delete all characters after caretPostion.
|
static class |
JTermKit.LeftAction
Action attached to the left-arrow key.
|
static class |
JTermKit.LineDownAction
Action to move the caret to downon line if allowed.
|
static class |
JTermKit.LineUpAction
Action to move the caret to upon line if allowed.
|
static class |
JTermKit.NextWordAction
Action that set caret to the next word.
|
static class |
JTermKit.PreviousWordAction
Action that set caret to the previous word.
|
static class |
JTermKit.SetToBeginOfLineAction
Moves the caret to the begin of line.
|
static class |
JTermKit.SetToEndAction
Moves the caret to the end of line.
|
static class |
JTermKit.SetToLineEndAction
Moves the caret to the end of line.
|
static class |
JTermKit.SetToPromptAction
Moves the caret to the prompt.
|
StyledEditorKit.AlignmentAction, StyledEditorKit.BoldAction, StyledEditorKit.FontFamilyAction, StyledEditorKit.FontSizeAction, StyledEditorKit.ForegroundAction, StyledEditorKit.ItalicAction, StyledEditorKit.StyledTextAction, StyledEditorKit.UnderlineAction
DefaultEditorKit.BeepAction, DefaultEditorKit.CopyAction, DefaultEditorKit.CutAction, DefaultEditorKit.InsertBreakAction, DefaultEditorKit.InsertContentAction, DefaultEditorKit.InsertTabAction, DefaultEditorKit.PasteAction
Modifier and Type | Field and Description |
---|---|
static String |
completeCommandAction
Name of the action to compelte command in the shell.
|
static String |
defaultKeyTypedAction
Name of action when defaultkey typed.
|
static String |
deleteRestOfLineAction
Name of actin to delete the rest of line after caret.
|
static String |
evaluateAction
Name of the action to evaluate the given string.
|
static String |
historyNextAction
Name of the action to return to next in history saved command.
|
static String |
historyPrevAction
Name of the action to return to previous in history saved command.
|
static String |
insertNewLineAction
Name of action to insert a new line character.
|
static String |
lineDownAction
Name of action to move the caret one line down.
|
static String |
lineUpAction
Name of action to move the caret one line upon.
|
static String |
moveLeftAction
Name of action to move caret left till prompt .
|
static String |
nextWordAction
Name of action to move the caret to the begin of next word.
|
static String |
previousWordAction
Name of action to move the caret to the begin of previous word.
|
static String |
setToBeginOfLineAction
Name of action to move caret to the begin of line.
|
static String |
setToEndAction
Name of action to move caret to the very end.
|
static String |
setToEndOfLineAction
Name of action to move caret to the end of line.
|
static String |
setToPromptAction
Name of action to move caret to the prompt.
|
backwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, deleteNextCharAction, deleteNextWordAction, deletePrevCharAction, deletePrevWordAction, downAction, endAction, endLineAction, EndOfLineStringProperty, endParagraphAction, endWordAction, forwardAction, insertBreakAction, insertContentAction, insertTabAction, pageDownAction, pageUpAction, pasteAction, readOnlyAction, selectAllAction, selectionBackwardAction, selectionBeginAction, selectionBeginLineAction, selectionBeginParagraphAction, selectionBeginWordAction, selectionDownAction, selectionEndAction, selectionEndLineAction, selectionEndParagraphAction, selectionEndWordAction, selectionForwardAction, selectionNextWordAction, selectionPreviousWordAction, selectionUpAction, selectLineAction, selectParagraphAction, selectWordAction, upAction, writableAction
Constructor and Description |
---|
JTermKit() |
Modifier and Type | Method and Description |
---|---|
Document |
createDefaultDocument() |
Action[] |
getActions() |
String |
getContentType() |
clone, createInputAttributes, deinstall, getCharacterAttributeRun, getInputAttributes, getViewFactory, install
createCaret, read, read, write, write
public static final String completeCommandAction
public static final String defaultKeyTypedAction
public static final String deleteRestOfLineAction
public static final String evaluateAction
public static final String historyNextAction
public static final String historyPrevAction
public static final String insertNewLineAction
public static final String lineDownAction
public static final String lineUpAction
public static final String moveLeftAction
public static final String nextWordAction
public static final String previousWordAction
public static final String setToBeginOfLineAction
public static final String setToEndAction
public static final String setToEndOfLineAction
public static final String setToPromptAction
public Document createDefaultDocument()
createDefaultDocument
in class StyledEditorKit
public Action[] getActions()
getActions
in class StyledEditorKit
public String getContentType()
getContentType
in class DefaultEditorKit