站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ExtKit (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.editor.ext
Class ExtKit

java.lang.Object
  extended by javax.swing.text.EditorKit
      extended by javax.swing.text.DefaultEditorKit
          extended by org.netbeans.editor.BaseKit
              extended by org.netbeans.editor.ext.ExtKit
All Implemented Interfaces:
Serializable, Cloneable

public class ExtKit
extends BaseKit

Extended kit offering advanced functionality

See Also:
Serialized Form

Nested Class Summary
static class ExtKit.AllCompletionShowAction
           
static class ExtKit.BuildPopupMenuAction
          Called before the popup menu is shown to possibly rebuild the popup menu.
static class ExtKit.BuildToolTipAction
           
static class ExtKit.CodeSelectAction
          Deprecated. this action is deprecated and will be removed in future releases.
static class ExtKit.CommentAction
           
static class ExtKit.CompletionShowAction
           
static class ExtKit.CompletionTooltipShowAction
           
static class ExtKit.DocumentationShowAction
           
static class ExtKit.EscapeAction
          Executed when the Escape key is pressed.
static class ExtKit.ExtDefaultKeyTypedAction
           
static class ExtKit.ExtDeleteCharAction
           
static class ExtKit.FindAction
           
static class ExtKit.GotoAction
           
static class ExtKit.GotoDeclarationAction
          Action to go to the declaration of the variable under the caret.
static class ExtKit.MatchBraceAction
           
static class ExtKit.PrefixMakerAction
          Prefix maker adds the prefix before the identifier under cursor.
static class ExtKit.ReplaceAction
           
static class ExtKit.ShowPopupMenuAction
          Show the popup menu.
static class ExtKit.ToggleCaseIdentifierBeginAction
           
static class ExtKit.UncommentAction
           
 
Nested classes/interfaces inherited from class org.netbeans.editor.BaseKit
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
 
Field Summary
static String allCompletionShowAction
           
static String buildPopupMenuAction
          This action is searched and executed when the popup menu should be displayed to build the popup menu.
static String buildToolTipAction
          This action is searched and executed when the tool-tip should be displayed by tool-tip support to build the tool-tip.
static String codeSelectAction
          Deprecated. this action name is not actively used by ExtKit and will be removed in future releases.
static String commentAction
          Comment out the selected block
static String completionShowAction
          Find the completion help and show it in the completion pane.
static String completionTooltipShowAction
          Show completion tooltip
static String documentationShowAction
          Show documentation popup panel
static String escapeAction
          Deprecated. this action name is not actively used by ExtKit and will be removed in future releases.
static String findAction
          Open find dialog action - this action is defined in view package, but its name is defined here for clarity
static String gotoAction
          Open goto dialog action - this action is defined in view package, but its name is defined here for clarity
static String gotoDeclarationAction
          Goto declaration depending on the context under the caret
static String gotoHelpAction
          Goto help depending on the context under the caret
static String gotoSourceAction
          Goto source depending on the context under the caret
static String gotoSuperImplementationAction
           
static String matchBraceAction
          Match brace
static String replaceAction
          Open replace dialog action - this action is defined in view package, but its name is defined here for clarity
static String selectionMatchBraceAction
          Select the text to the matching bracket
static String showPopupMenuAction
          Show popup menu.
static String toggleCaseIdentifierBeginAction
          Toggle the case for the first character of the word under caret
static String toggleToolbarAction
          Toggle the toolbar
static String TRIMMED_TEXT
          Trimmed text for go to submenu
static String uncommentAction
          Uncomment the selected block
 
Fields inherited from class org.netbeans.editor.BaseKit
abbrevExpandAction, abbrevResetAction, adjustCaretBottomAction, adjustCaretCenterAction, adjustCaretTopAction, adjustWindowBottomAction, adjustWindowCenterAction, adjustWindowTopAction, annotationsCyclingAction, collapseAllFoldsAction, collapseFoldAction, cutToLineBeginAction, cutToLineEndAction, DOC_REPLACE_SELECTION_PROPERTY, expandAllFoldsAction, expandFoldAction, findNextAction, findPreviousAction, findSelectionAction, firstNonWhiteAction, formatAction, generateGutterPopupAction, insertDateTimeAction, jumpListNextAction, jumpListNextComponentAction, jumpListPrevAction, jumpListPrevComponentAction, lastNonWhiteAction, lineFirstColumnAction, macroActionPrefix, MAGIC_POSITION_MAX, pasteFormatedAction, redoAction, 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
 
Fields inherited from class javax.swing.text.DefaultEditorKit
backwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deletePrevCharAction, 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 Summary
ExtKit()
           
 
Method Summary
protected  Action[] createActions()
          Create actions that this kit supports.
 Caret createCaret()
          Create caret to navigate through document
 Completion createCompletion(ExtEditorUI extEditorUI)
           
 CompletionJavaDoc createCompletionJavaDoc(ExtEditorUI extEditorUI)
           
protected  EditorUI createEditorUI()
          Create extended UI
 SyntaxSupport createSyntaxSupport(BaseDocument doc)
          Create syntax support
 
Methods inherited from class org.netbeans.editor.BaseKit
actionsToMap, clone, createDefaultDocument, createFormatSyntax, createFormatter, createPrintEditorUI, createPrintEditorUI, createSyntax, createTextUI, deinstall, executeDeinstallActions, executeInstallActions, getActionByName, getActions, getCustomActions, getKeymap, getKit, getMacroActions, getViewFactory, initDocument, install, mapToActions, read, translateActionNameList, updateActions, write
 
Methods inherited from class javax.swing.text.DefaultEditorKit
getContentType, read, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buildPopupMenuAction

public static final String buildPopupMenuAction
This action is searched and executed when the popup menu should be displayed to build the popup menu.

See Also:
Constant Field Values

showPopupMenuAction

public static final String showPopupMenuAction
Show popup menu.

See Also:
Constant Field Values

buildToolTipAction

public static final String buildToolTipAction
This action is searched and executed when the tool-tip should be displayed by tool-tip support to build the tool-tip.

See Also:
Constant Field Values

findAction

public static final String findAction
Open find dialog action - this action is defined in view package, but its name is defined here for clarity

See Also:
Constant Field Values

replaceAction

public static final String replaceAction
Open replace dialog action - this action is defined in view package, but its name is defined here for clarity

See Also:
Constant Field Values

gotoAction

public static final String gotoAction
Open goto dialog action - this action is defined in view package, but its name is defined here for clarity

See Also:
Constant Field Values

gotoDeclarationAction

public static final String gotoDeclarationAction
Goto declaration depending on the context under the caret

See Also:
Constant Field Values

gotoSourceAction

public static final String gotoSourceAction
Goto source depending on the context under the caret

See Also:
Constant Field Values

gotoSuperImplementationAction

public static final String gotoSuperImplementationAction
See Also:
Constant Field Values

gotoHelpAction

public static final String gotoHelpAction
Goto help depending on the context under the caret

See Also:
Constant Field Values

matchBraceAction

public static final String matchBraceAction
Match brace

See Also:
Constant Field Values

selectionMatchBraceAction

public static final String selectionMatchBraceAction
Select the text to the matching bracket

See Also:
Constant Field Values

toggleCaseIdentifierBeginAction

public static final String toggleCaseIdentifierBeginAction
Toggle the case for the first character of the word under caret

See Also:
Constant Field Values

codeSelectAction

public static final String codeSelectAction
Deprecated. this action name is not actively used by ExtKit and will be removed in future releases.
Advanced code selection technique

See Also:
Constant Field Values

escapeAction

public static final String escapeAction
Deprecated. this action name is not actively used by ExtKit and will be removed in future releases.
Action used when escape is pressed. By default it hides popup-menu

See Also:
Constant Field Values

completionShowAction

public static final String completionShowAction
Find the completion help and show it in the completion pane.

See Also:
Constant Field Values

allCompletionShowAction

public static final String allCompletionShowAction
See Also:
Constant Field Values

documentationShowAction

public static final String documentationShowAction
Show documentation popup panel

See Also:
Constant Field Values

completionTooltipShowAction

public static final String completionTooltipShowAction
Show completion tooltip

See Also:
Constant Field Values

commentAction

public static final String commentAction
Comment out the selected block

See Also:
Constant Field Values

uncommentAction

public static final String uncommentAction
Uncomment the selected block

See Also:
Constant Field Values

toggleToolbarAction

public static final String toggleToolbarAction
Toggle the toolbar

See Also:
Constant Field Values

TRIMMED_TEXT

public static final String TRIMMED_TEXT
Trimmed text for go to submenu

See Also:
Constant Field Values
Constructor Detail

ExtKit

public ExtKit()
Method Detail

createCaret

public Caret createCaret()
Create caret to navigate through document

Overrides:
createCaret in class BaseKit

createSyntaxSupport

public SyntaxSupport createSyntaxSupport(BaseDocument doc)
Description copied from class: BaseKit
Create syntax support

Overrides:
createSyntaxSupport in class BaseKit

createCompletion

public Completion createCompletion(ExtEditorUI extEditorUI)

createCompletionJavaDoc

public CompletionJavaDoc createCompletionJavaDoc(ExtEditorUI extEditorUI)

createEditorUI

protected EditorUI createEditorUI()
Description copied from class: BaseKit
Create extended UI

Overrides:
createEditorUI in class BaseKit

createActions

protected Action[] createActions()
Description copied from class: BaseKit
Create actions that this kit supports. To use the actions of the parent kit it's better instead of using super.createActions() to use getKit(super.getClass()).getActions() because it can reuse existing parent actions.

Overrides:
createActions in class BaseKit

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.