public class NbEditorKit extends ExtKit implements Callable
Modifier and Type | Class and Description |
---|---|
static class |
NbEditorKit.GenerateFoldPopupAction |
static class |
NbEditorKit.NbBuildPopupMenuAction |
static class |
NbEditorKit.NbBuildToolTipAction |
static class |
NbEditorKit.NbGenerateGoToPopupAction |
static class |
NbEditorKit.NbRedoAction |
class |
NbEditorKit.NbStopMacroRecordingAction
Deprecated.
Without any replacement. This class is no longer functional.
|
static class |
NbEditorKit.NbToggleLineNumbersAction
Deprecated.
this action is no longer used. It is reimplemented in editor.actions module.
|
static class |
NbEditorKit.NbUndoAction |
static class |
NbEditorKit.ToggleToolbarAction
Deprecated.
this action is no longer used. It is reimplemented in editor.actions module.
|
ExtKit.AllCompletionShowAction, ExtKit.BuildPopupMenuAction, ExtKit.BuildToolTipAction, ExtKit.CodeSelectAction, ExtKit.CommentAction, ExtKit.CompletionShowAction, ExtKit.CompletionTooltipShowAction, ExtKit.DocumentationShowAction, ExtKit.EscapeAction, ExtKit.ExtDefaultKeyTypedAction, ExtKit.ExtDeleteCharAction, ExtKit.GotoAction, ExtKit.GotoDeclarationAction, ExtKit.MatchBraceAction, ExtKit.PrefixMakerAction, ExtKit.ShowPopupMenuAction, ExtKit.ToggleCaseIdentifierBeginAction, ExtKit.ToggleCommentAction, ExtKit.UncommentAction
BaseKit.BackwardAction, BaseKit.BeepAction, BaseKit.BeginAction, BaseKit.BeginLineAction, BaseKit.BeginWordAction, BaseKit.CompoundAction, BaseKit.CopyAction, BaseKit.CutAction, BaseKit.DefaultKeyTypedAction, BaseKit.DeleteCharAction, BaseKit.DownAction, BaseKit.EndAction, BaseKit.EndLineAction, BaseKit.EndWordAction, BaseKit.ForwardAction, BaseKit.InsertBreakAction, BaseKit.InsertContentAction, BaseKit.InsertStringAction, BaseKit.InsertTabAction, BaseKit.KitCompoundAction, BaseKit.NextWordAction, BaseKit.PageDownAction, BaseKit.PageUpAction, BaseKit.PasteAction, BaseKit.PreviousWordAction, BaseKit.ReadOnlyAction, BaseKit.RemoveTrailingSpacesAction, BaseKit.SelectAllAction, BaseKit.SelectLineAction, BaseKit.SelectWordAction, BaseKit.SplitLineAction, BaseKit.UpAction, BaseKit.WritableAction
Modifier and Type | Field and Description |
---|---|
static String |
generateFoldPopupAction
Name of the action for generating of code folding popup menu
|
static String |
generateGoToPopupAction
Name of the action for generating of Go To popup menu
|
static String |
SYSTEM_ACTION_CLASS_NAME_PROPERTY
Action property that stores the name of the corresponding nb-system-action
|
allCompletionShowAction, buildPopupMenuAction, buildToolTipAction, codeSelectAction, commentAction, completionShowAction, completionTooltipShowAction, documentationShowAction, escapeAction, findAction, gotoAction, gotoDeclarationAction, gotoHelpAction, gotoSourceAction, gotoSuperImplementationAction, matchBraceAction, replaceAction, selectionMatchBraceAction, showPopupMenuAction, toggleCaseIdentifierBeginAction, toggleCommentAction, toggleToolbarAction, TRIMMED_TEXT, uncommentAction
abbrevExpandAction, abbrevResetAction, adjustCaretBottomAction, adjustCaretCenterAction, adjustCaretTopAction, adjustWindowBottomAction, adjustWindowCenterAction, adjustWindowTopAction, annotationsCyclingAction, collapseAllFoldsAction, collapseFoldAction, copySelectionElseLineDownAction, copySelectionElseLineUpAction, cutToLineBeginAction, cutToLineEndAction, DOC_REPLACE_SELECTION_PROPERTY, expandAllFoldsAction, expandFoldAction, findNextAction, findPreviousAction, findSelectionAction, firstNonWhiteAction, formatAction, generateGutterPopupAction, indentAction, insertDateTimeAction, jumpListNextAction, jumpListNextComponentAction, jumpListPrevAction, jumpListPrevComponentAction, lastNonWhiteAction, lineFirstColumnAction, macroActionPrefix, MAGIC_POSITION_MAX, moveSelectionElseLineDownAction, moveSelectionElseLineUpAction, pasteFormatedAction, redoAction, reformatLineAction, reindentLineAction, removeLineAction, removeLineBeginAction, removeNextWordAction, removePreviousWordAction, removeSelectionAction, removeTabAction, removeTrailingSpacesAction, scrollDownAction, scrollUpAction, selectIdentifierAction, selectionFirstNonWhiteAction, selectionLastNonWhiteAction, selectionLineFirstColumnAction, selectionPageDownAction, selectionPageUpAction, selectNextParameterAction, shiftLineLeftAction, shiftLineRightAction, splitLineAction, startMacroRecordingAction, startNewLineAction, stopMacroRecordingAction, switchCaseAction, toggleHighlightSearchAction, toggleLineNumbersAction, toggleTypingModeAction, toLowerCaseAction, toUpperCaseAction, undoAction, wordMatchNextAction, wordMatchPrevAction
backwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deleteNextWordAction, deletePrevCharAction, deletePrevWordAction, downAction, endAction, endLineAction, EndOfLineStringProperty, endParagraphAction, endWordAction, forwardAction, insertBreakAction, insertContentAction, insertTabAction, nextWordAction, pageDownAction, pageUpAction, pasteAction, previousWordAction, readOnlyAction, selectAllAction, selectionBackwardAction, selectionBeginAction, selectionBeginLineAction, selectionBeginParagraphAction, selectionBeginWordAction, selectionDownAction, selectionEndAction, selectionEndLineAction, selectionEndParagraphAction, selectionEndWordAction, selectionForwardAction, selectionNextWordAction, selectionPreviousWordAction, selectionUpAction, selectLineAction, selectParagraphAction, selectWordAction, upAction, writableAction
Constructor and Description |
---|
NbEditorKit() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSystemActionMapping(String editorActionName,
Class systemActionClass) |
Object |
call() |
protected Action[] |
createActions() |
Document |
createDefaultDocument() |
protected EditorUI |
createEditorUI() |
String |
getContentType() |
protected Action[] |
getDeclaredActions() |
protected void |
toolTipAnnotationsLock(Document doc)
Do any locking necessary prior evaluation of tooltip annotations.
|
protected void |
toolTipAnnotationsUnlock(Document doc)
Release any locking requested previously by
toolTipAnnotationsLock(Document) . |
protected void |
updateActions() |
createSyntaxSupport
addActionsToMap, clone, createCaret, createFormatSyntax, createPrintEditorUI, createPrintEditorUI, createSyntax, createTextUI, deinstall, executeDeinstallActions, executeInstallActions, getActionByName, getActions, getCustomActions, getKeymap, getKit, getMacroActions, getViewFactory, initDocument, install, mapToActions, read, translateActionNameList, write
read, write
public static final String SYSTEM_ACTION_CLASS_NAME_PROPERTY
public static final String generateGoToPopupAction
public static final String generateFoldPopupAction
public Document createDefaultDocument()
createDefaultDocument
in class BaseKit
protected void toolTipAnnotationsLock(Document doc)
toolTipAnnotationsUnlock(Document)
by using try ... finally
.
protected void toolTipAnnotationsUnlock(Document doc)
toolTipAnnotationsLock(Document)
.
protected EditorUI createEditorUI()
createEditorUI
in class ExtKit
protected Action[] createActions()
createActions
in class ExtKit
protected Action[] getDeclaredActions()
getDeclaredActions
in class BaseKit
protected void addSystemActionMapping(String editorActionName, Class systemActionClass)
protected void updateActions()
updateActions
in class BaseKit
public String getContentType()
getContentType
in class DefaultEditorKit
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.