| |
|
| javax.swing.text.DefaultEditorKit org.netbeans.editor.BaseKit
All known Subclasses: org.netbeans.editor.ext.ExtKit,
BaseKit | public class BaseKit extends DefaultEditorKit (Code) | | Editor kit implementation for base document
author: Miloslav Metelka version: 1.00 |
Inner Class :public static class DefaultKeyTypedAction extends BaseAction | |
Inner Class :public static class InsertBreakAction extends BaseAction | |
Inner Class :public static class InsertTabAction extends BaseAction | |
Inner Class :public static class CompoundAction extends BaseAction | |
Inner Class :public static class KitCompoundAction extends BaseAction | |
Inner Class :public static class InsertContentAction extends BaseAction | |
Inner Class :public static class InsertStringAction extends BaseAction | |
Inner Class :public static class DeleteCharAction extends BaseAction | |
Inner Class :public static class ReadOnlyAction extends BaseAction | |
Inner Class :public static class WritableAction extends BaseAction | |
Inner Class :public static class CutAction extends BaseAction | |
Inner Class :public static class CopyAction extends BaseAction | |
Inner Class :public static class PasteAction extends BaseAction | |
Inner Class :public static class BeepAction extends BaseAction | |
Inner Class :public static class UpAction extends BaseAction | |
Inner Class :public static class DownAction extends BaseAction | |
Inner Class :public static class PageUpAction extends BaseAction | |
Inner Class :public static class ForwardAction extends BaseAction | |
Inner Class :public static class PageDownAction extends BaseAction | |
Inner Class :public static class BackwardAction extends BaseAction | |
Inner Class :public static class BeginLineAction extends BaseAction | |
Inner Class :public static class EndLineAction extends BaseAction | |
Inner Class :public static class BeginAction extends BaseAction | |
Inner Class :public static class EndAction extends BaseAction | |
Inner Class :public static class NextWordAction extends BaseAction | |
Inner Class :public static class PreviousWordAction extends BaseAction | |
Inner Class :public static class BeginWordAction extends BaseAction | |
Inner Class :public static class EndWordAction extends BaseAction | |
Inner Class :public static class SelectWordAction extends KitCompoundAction | |
Inner Class :public static class SelectLineAction extends KitCompoundAction | |
Inner Class :public static class SelectAllAction extends KitCompoundAction | |
Constructor Summary | |
public | BaseKit() |
abbrevExpandAction | final public static String abbrevExpandAction(Code) | | Expand the abbreviation
|
abbrevResetAction | final public static String abbrevResetAction(Code) | | Reset the abbreviation accounting string
|
adjustCaretBottomAction | final public static String adjustCaretBottomAction(Code) | | Action that moves the caret so that caret is at the bottom of the window
|
adjustCaretCenterAction | final public static String adjustCaretCenterAction(Code) | | Action that moves the caret so that caret is at the center of the window
|
adjustCaretTopAction | final public static String adjustCaretTopAction(Code) | | Action that moves the caret so that caret is at the top of the window
|
adjustWindowBottomAction | final public static String adjustWindowBottomAction(Code) | | Action that scrolls the window so that caret is at the bottom of the
window
|
adjustWindowCenterAction | final public static String adjustWindowCenterAction(Code) | | Action that scrolls the window so that caret is at the center of the
window
|
adjustWindowTopAction | final public static String adjustWindowTopAction(Code) | | Action that scrolls the window so that caret is at the top of the window
|
annotationsCyclingAction | final public static String annotationsCyclingAction(Code) | | Cycle through annotations on the current line
|
findNextAction | final public static String findNextAction(Code) | | Find next occurence action
|
findPreviousAction | final public static String findPreviousAction(Code) | | Find previous occurence action
|
findSelectionAction | final public static String findSelectionAction(Code) | | Find current word
|
firstNonWhiteAction | final public static String firstNonWhiteAction(Code) | | First non-white character on the line
|
formatAction | final public static String formatAction(Code) | | Format part of the document text using Indent
|
generateGutterPopupAction | final public static String generateGutterPopupAction(Code) | | Name of the action for generating of Glyph Gutter popup menu
|
gotoNextBookmarkAction | final public static String gotoNextBookmarkAction(Code) | | Goto the next bookmark
|
insertDateTimeAction | final public static String insertDateTimeAction(Code) | | Insert the current Date and Time
|
jumpListNextAction | final public static String jumpListNextAction(Code) | | Go to the previous position stored in the jump-list
|
jumpListNextComponentAction | final public static String jumpListNextComponentAction(Code) | | Go to the last position in the previous component stored in the jump-list
|
jumpListPrevAction | final public static String jumpListPrevAction(Code) | | Go to the next position stored in the jump-list
|
jumpListPrevComponentAction | final public static String jumpListPrevComponentAction(Code) | | Go to the next position in the previous component stored in the jump-list
|
kitActionMaps | static Map kitActionMaps(Code) | | [kit, action-map] pairs
|
kitActions | static Map kitActions(Code) | | [kit, action[]] pairs
|
kitKeymaps | static Map kitKeymaps(Code) | | [kit-class, keymap] pairs
|
kits | static Map kits(Code) | | [kit-class, kit-instance] pairs are stored here
|
lastNonWhiteAction | final public static String lastNonWhiteAction(Code) | | Last non-white character on the line
|
lineFirstColumnAction | final public static String lineFirstColumnAction(Code) | | Name of the action moving caret to the first column on the line
|
macroActionPrefix | final public static String macroActionPrefix(Code) | | Prefix of all macro-based actions
|
redoAction | final public static String redoAction(Code) | | Redo action
|
removeLineAction | final public static String removeLineAction(Code) | | Remove line
|
removeLineBeginAction | final public static String removeLineBeginAction(Code) | | Remove to the begining of the line
|
removeSelectionAction | final public static String removeSelectionAction(Code) | | Remove selected block or do nothing - useful for popup menu
|
removeTabAction | final public static String removeTabAction(Code) | | Remove indentation
|
removeWordAction | final public static String removeWordAction(Code) | | Remove to the begining of the word
|
scrollDownAction | final public static String scrollDownAction(Code) | | Scroll window one line down
|
scrollUpAction | final public static String scrollUpAction(Code) | | Scroll window one line up
|
selectIdentifierAction | final public static String selectIdentifierAction(Code) | | Select the nearest identifier around caret
|
selectNextParameterAction | final public static String selectNextParameterAction(Code) | | Select the next parameter (after the comma) in the given context
|
selectionFirstNonWhiteAction | final public static String selectionFirstNonWhiteAction(Code) | | First non-white character on the line
|
selectionLastNonWhiteAction | final public static String selectionLastNonWhiteAction(Code) | | Last non-white character on the line
|
selectionLineFirstColumnAction | final public static String selectionLineFirstColumnAction(Code) | | Name of the action moving caret to the first column on the line and
extending the selection
|
selectionPageDownAction | final public static String selectionPageDownAction(Code) | | Move one page down and make or extend selection
|
selectionPageUpAction | final public static String selectionPageUpAction(Code) | | Move one page up and make or extend selection
|
serialVersionUID | final static long serialVersionUID(Code) | | |
shiftLineLeftAction | final public static String shiftLineLeftAction(Code) | | Shift line left action
|
shiftLineRightAction | final public static String shiftLineRightAction(Code) | | Shift line right action
|
startMacroRecordingAction | final public static String startMacroRecordingAction(Code) | | Start recording of macro. Only one macro recording can be active at the
time
|
stopMacroRecordingAction | final public static String stopMacroRecordingAction(Code) | | Stop the active recording
|
switchCaseAction | final public static String switchCaseAction(Code) | | Switch the case of the selected text or current character
|
toLowerCaseAction | final public static String toLowerCaseAction(Code) | | Change the selected text or current character to lowercase
|
toUpperCaseAction | final public static String toUpperCaseAction(Code) | | Change the selected text or current character to uppercase
|
toggleBookmarkAction | final public static String toggleBookmarkAction(Code) | | Toggle bookmark on the current line
|
toggleHighlightSearchAction | final public static String toggleHighlightSearchAction(Code) | | Toggle highlight search action
|
toggleLineNumbersAction | final public static String toggleLineNumbersAction(Code) | | Toggle visibility of line numbers
|
toggleTypingModeAction | final public static String toggleTypingModeAction(Code) | | Toggle the typing mode to overwrite mode or back to insert mode
|
undoAction | final public static String undoAction(Code) | | Undo action
|
wordMatchNextAction | final public static String wordMatchNextAction(Code) | | Word match next
|
wordMatchPrevAction | final public static String wordMatchPrevAction(Code) | | Word match prev
|
actionsToMap | public static Map actionsToMap(Action[] actions)(Code) | | Creates map with [name, action] pairs from the given array of actions.
|
createActions | protected Action[] createActions()(Code) | | 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.
|
createCaret | public Caret createCaret()(Code) | | Create caret to navigate through document
|
createDefaultDocument | public Document createDefaultDocument()(Code) | | Create empty document
|
createEditorUI | protected EditorUI createEditorUI()(Code) | | Create extended UI
|
createFormatSyntax | public Syntax createFormatSyntax(Document doc)(Code) | | Create the syntax used for formatting
|
createFormatter | public Formatter createFormatter()(Code) | | Create the formatter appropriate for this kit
|
createSyntax | public Syntax createSyntax(Document doc)(Code) | | Create new instance of syntax coloring scanner
Parameters: doc - document to operate on. It can be null in the cases the syntaxcreation is not related to the particular document |
getActions | final public Action[] getActions()(Code) | | Get actions associated with this kit. createActions() is called to get
basic list and then customActions are added.
|
getFocusableComponentClass | public Class getFocusableComponentClass(JTextComponent c)(Code) | | This methods gives the class of the first component in the component
hierarchy that should be called when requesting focus for the other
component.
class of the component that will be searched in the parents inthe hierarchy or null to do no search. |
getViewFactory | public ViewFactory getViewFactory()(Code) | | Fetches a factory that is suitable for producing views of any models that
are produced by this kit. The default is to have the UI produce the
factory, so this method has no implementation.
the view factory |
initDocument | protected void initDocument(BaseDocument doc)(Code) | | Initialize document by adding the draw-layers for example.
|
install | public void install(JEditorPane c)(Code) | | Called after the kit is installed into JEditorPane
|
mapToActions | public static Action[] mapToActions(Map map)(Code) | | Converts map with [name, action] back to array of actions.
|
translateActionNameList | public List translateActionNameList(List actionNameList)(Code) | | |
updateActions | protected void updateActions()(Code) | | Update the actions right after their creation was finished. The
getActions() and getActionByName() can be
used safely in this method. The implementation must call
super.updateActions() so that the updating in parent is
performed too.
|
Methods inherited from javax.swing.text.DefaultEditorKit | public Caret createCaret()(Code)(Java Doc) public Document createDefaultDocument()(Code)(Java Doc) public Action[] getActions()(Code)(Java Doc) public String getContentType()(Code)(Java Doc) public ViewFactory getViewFactory()(Code)(Java Doc) public void read(InputStream in, Document doc, int pos) throws IOException, BadLocationException(Code)(Java Doc) public void read(Reader in, Document doc, int pos) throws IOException, BadLocationException(Code)(Java Doc) public void write(OutputStream out, Document doc, int pos, int len) throws IOException, BadLocationException(Code)(Java Doc) public void write(Writer out, Document doc, int pos, int len) throws IOException, BadLocationException(Code)(Java Doc)
|
|
|
|