|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
javax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
oracle.javatools.editor.BasicEditorKit
public class BasicEditorKit
The BasicEditorKit extends the DefaultEditorKit and can be used with a JEditorPane to force the use of the BasicDocument and BasicView classes to reduce the overhead of the line element structures present in the default document implementations.
| Nested Class Summary | |
|---|---|
static class |
BasicEditorKit.BackwardActionThe BackwardAction implementation of the action for moving the caret logically backward one position, possibly extending the selection. |
static class |
BasicEditorKit.BeepActionThe BeepAction implementation of the action to create a beep. |
static class |
BasicEditorKit.BeginActionThe BeginAction implementation of the action for moving the caret to the begining of the document, possibly extending the selection. |
static class |
BasicEditorKit.BeginLineActionThe BeginLineAction implementation of the action for moving the caret to the begining of a line, possibly extending the selection. |
static class |
BasicEditorKit.BeginWordActionThe BeginWordAction implementation of the action for moving the caret to the begining of a word, possibly extending the selection. |
static class |
BasicEditorKit.BlockIndentOutdentActionThe BlockIndentOutdentAction implementation of the action for performing a block indent or block outdent. |
static class |
BasicEditorKit.ConvertSelectionCaseActionThe ConvertSelectionCaseAction implementation of the action for converting a block to upper or lower case. |
static class |
BasicEditorKit.CopyActionThe CopyAction implementation of the action to copy the selected region and place the contents into the system clipboard. |
static class |
BasicEditorKit.CutActionThe CutAction implementation of the action to cut the selected region and place the contents into the system clipboard. |
static class |
BasicEditorKit.DefaultKeyTypedActionReplacement for the normal key typed action to add support for insert/overwrite mode with the caret. |
static class |
BasicEditorKit.DeleteLineActionThe DeleteLineAction implementation of the action for deleting the line the caret is currently on. |
static class |
BasicEditorKit.DeleteNextCharActionThe DeleteNextCharAction implementation |
static class |
BasicEditorKit.DeleteNextWordActionThe DeleteUntilNextWordAction implementation of the action for deleting from cursor position until the next occurrence of a word start or word end. |
static class |
BasicEditorKit.DeletePrevCharActionThe DeletePrevCharAction implementation of the action to delete the character of content that precedes the current caret position. |
static class |
BasicEditorKit.DeletePreviousWordActionThe DeletePreviousWordAction implementation of the action for deleting from cursor position until the previous occurrence of a word start or word end. |
static class |
BasicEditorKit.DeleteUntilEOLActionThe DeleteUntilEOLAction implementation of the action for deleting from cursor position until the end of line. |
static class |
BasicEditorKit.DownActionThe DownAction implementation of the action for moving the caret logically down one position, possibly extending the selection. |
static class |
BasicEditorKit.EmacsAppendNextKillActionThe EmacsAppendNextKillAction implementation of the action which sets the editor into a mode where if the next command is a kill, it will append into the kill-ring. |
static class |
BasicEditorKit.EmacsBackwardKillWordActionThe EmacsBackwardKillWordAction implementation of the action for killing until the previous start of a word and adding or prepending it to the Emacs kill ring. |
static class |
BasicEditorKit.EmacsBeginActionThe EmacsBeginAction implementation of the action for marking the current caret position, and moving the caret to the start of the buffer. |
static class |
BasicEditorKit.EmacsCapitalizeWordActionThe EmacsCapitalizeWordAction is the action for capitalizing the next non-whitespace character, and converting to the next end of a word to all lowercase. |
static class |
BasicEditorKit.EmacsCaseRegionActionThe EmacsCaseRegionAction is the action for converting the region to all lowercase or uppercase. |
static class |
BasicEditorKit.EmacsCaseWordActionThe EmacsCaseWordAction is a base action for Emacs word-case action implementations. |
static class |
BasicEditorKit.EmacsDeleteHorizontalSpaceActionThe EmacsDeleteHorizontalSpaceAction is the action for deleting all spaces and tabs surrounding the current cursor position. |
static class |
BasicEditorKit.EmacsDowncaseWordActionThe EmacsDowncaseWordAction is the action for converting from the current position to the next end of a word to all lowercase. |
static class |
BasicEditorKit.EmacsEndActionThe EmacsEndAction implementation of the action for marking the current caret position, and moving the caret to the end of the buffer. |
static class |
BasicEditorKit.EmacsExchangePointMarkActionThe EmacsExchangePointMarkAction implementation of the action for exchanging the point (current caret position) and an Emacs-style mark in the editor. |
static class |
BasicEditorKit.EmacsKillLineActionThe EmacsKillLineAction implementation of the action for killing the line and adding or appending it to the Emacs kill ring. |
static class |
BasicEditorKit.EmacsKillRegionActionThe EmacsKillRegionAction implementation of the action for killing the region (or doing a kill-ring-save) between the point and mark and adding or appending it to the Emacs kill ring. |
static class |
BasicEditorKit.EmacsKillTypeActionThe EmacsKillTypeAction is a base action for all Emacs kill-type action implementations. |
static class |
BasicEditorKit.EmacsKillWordActionThe EmacsKillWordAction implementation of the action for killing until the next start of a word and adding or appending it to the Emacs kill ring. |
static class |
BasicEditorKit.EmacsMarkBufferActionThe EmacsMarkBufferAction implementation of the action for marking the end of the buffer, and moving the caret to the start of the buffer. |
static class |
BasicEditorKit.EmacsSetMarkActionThe EmacsSetMarkAction implementation of the action for setting an Emacs-style mark in the editor. |
static class |
BasicEditorKit.EmacsUpcaseWordActionThe EmacsUpcaseWordAction is the action for converting from the current position to the next end of a word to all uppercase. |
static class |
BasicEditorKit.EmacsYankActionThe EmacsYankAction implementation of the action for yanking or popping the text from the kill-ring. |
static class |
BasicEditorKit.EndActionThe EndAction implementation of the action for moving the caret to the begining of the document, possibly extending the selection. |
static class |
BasicEditorKit.EndLineActionThe EndLineAction implementation of the action for moving the caret to the end of a line, possibly extending the selection. |
static class |
BasicEditorKit.EndWordActionThe EndWordAction implementation of the action for moving the caret to the end of a word, possibly extending the selection. |
static class |
BasicEditorKit.ExtendedPasteActionThe PasteAction implementation of the action to paste the contents of the system clipboard into the selected region, or before the caret if nothing is selected. |
static class |
BasicEditorKit.ForwardActionThe ForwardAction implementation of the action for moving the caret logically forward one position, possibly extending the selection. |
static class |
BasicEditorKit.GotoMatchingBraceActionThe GotoMatchingBraceAction implementation of the action to move the cursor to the matching brace (if brace matching is available.) |
static class |
BasicEditorKit.InsertBreakActionThe InsertBreakAction implementation of the action to place a line/paragraph break into the document. |
static class |
BasicEditorKit.InsertTabActionThe InsertTabAction implementation of the action to place a tab character into the document. |
static class |
BasicEditorKit.JoinLineActionThe JoinLineAction implementation of the action for joining the line the caret is currently on. |
static class |
BasicEditorKit.MacroRecorderActionThe MacroRecorderAction implementation of the action for both playing back a recorded macro as well as for toggling macro recording on and off. |
static class |
BasicEditorKit.NavigateActionThe NavigateAction just takes care of storing whether selection is performed or not. |
static class |
BasicEditorKit.NextWordActionThe NextWordAction implementation of the action for moving the caret to the next occurrence of a word start or end, possibly extending the selection. |
static class |
BasicEditorKit.NOPActionThe NOPAction implementation of a placeholder action. |
static class |
BasicEditorKit.OpenLineActionThe OpenLineAction implementation of the action for inserting a new line to the right of the current caret position. |
static class |
BasicEditorKit.PageDownActionThe PageDownAction implementation of the action to page down vertically, and possibly move the selection. |
static class |
BasicEditorKit.PageUpActionThe PageUpAction implementation of the action to page up vertically, and possibly move the selection. |
static class |
BasicEditorKit.PasteActionThe PasteAction implementation of the action to paste the contents of the system clipboard into the selected region, or before the caret if nothing is selected. |
static class |
BasicEditorKit.PreviousWordActionThe PreviousWordAction implementation of the action for moving the caret to the previous occurrence of a word start or end, possibly extending the selection. |
static class |
BasicEditorKit.ReadOnlyActionThe ReadOnlyAction implementation of the action to set the editor into read-only mode. |
static class |
BasicEditorKit.RecenterLineActionThe RecenterLineAction implementation of the action for recentering the line the caret is on vertically on screen. |
static class |
BasicEditorKit.ReverseTabActionThe ReverseTabAction implementation of the action to move the caret backwards to the previous tab stop. |
static class |
BasicEditorKit.ScrollLineDownActionThe ScrollLineDownAction implementation of the action for scrolling the window down by one line (which moves the content upwards.) |
static class |
BasicEditorKit.ScrollLineUpActionThe ScrollLineUpAction implementation of the action for scrolling the window up by one line (which moves the content downwards.) |
static class |
BasicEditorKit.ScrollPageDownActionThe ScrollPageDownAction implementation of the action for scrolling the window down by one page (moving content up.) |
static class |
BasicEditorKit.ScrollPageUpActionThe ScrollPageUpAction implementation of the action for scrolling the window up by one page (moving content down.) |
static class |
BasicEditorKit.SelectAllActionThe SelectAllAction implementation of the action for selecting the entire document. |
static class |
BasicEditorKit.SelectLineActionThe SelectLineAction implementation of the action for selecting a line around the caret. |
static class |
BasicEditorKit.SelectWordActionThe SelectWordAction implementation of the action for selecting a word around the caret. |
static class |
BasicEditorKit.SetLocalTabSizeActionThe SetLocalTabSizeAction implementation of the action to set the tab size of the current editor locally to the specified amount. |
static class |
BasicEditorKit.SortSelectedLinesThe SortSelectedLinesAction implementation of the action for sorting the selected lines. |
static class |
BasicEditorKit.TabifyActionThe TabifyAction implementation of the action for converting leading spaces of a line to tabs if possible, preserving the ending column of the first non-whitespace of the line. |
static class |
BasicEditorKit.ToggleCommentsActionThe ToggleCommentsAction implementation of the action for toggling the current line or selected lines between as commented or uncommented using the language's single-line comments (if defined.) |
static class |
BasicEditorKit.ToggleInsertModeActionThe ToggleInsertModeAction implementation of the action for toggling between insert and overwrite mode. |
static class |
BasicEditorKit.TransposeCharsActionThe TransposeCharsAction implementation of the action for transposing two adjacent characters. |
static class |
BasicEditorKit.TrimWhitespaceActionThe TrimWhitespaceAction implementation of the action for removing whitespace characters from the end of every line |
static class |
BasicEditorKit.UnselectActionThe UnselectAction implementation of the action for for removing selection. |
static class |
BasicEditorKit.UntabifyActionThe UntabifyAction implementation of the action for converting all hard tabs to spaces, adding enough spaces to preserve column positions of non-whitespace characters. |
static class |
BasicEditorKit.UpActionThe UpAction implementation of the action for moving the caret logically up one position, possibly extending the selection. |
static class |
BasicEditorKit.WritableActionThe WritableAction implementation of the action to set the editor into writeable mode. |
| Nested classes/interfaces inherited from class javax.swing.text.DefaultEditorKit |
|---|
javax.swing.text.DefaultEditorKit.InsertContentAction |
| Field Summary |
|---|
| Fields inherited from class javax.swing.text.DefaultEditorKit |
|---|
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 Summary | |
|---|---|
BasicEditorKit()Constructs a new BasicEditorKit. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()Creates a copy of the editor kit. |
javax.swing.text.View |
create(javax.swing.text.Element elem)Creates a view from the given structural element of a document. |
javax.swing.text.Caret |
createCaret()Fetches a caret that can navigate through views produced by the associated ViewFactory. |
javax.swing.text.Document |
createDefaultDocument()Creates an uninitialized text storage model appropriate for this type of editor. |
javax.swing.Action |
findAction(java.lang.String actionKey)Fetches an instance of the Action corresponding to the given actionKey. |
javax.swing.Action[] |
getActions()Fetches the command list for the editor. |
java.lang.String |
getContentType()Gets the MIME type of the data that this kit represents support for. |
javax.swing.text.ViewFactory |
getViewFactory()Fetches a factory that is suitable for producing views which work with the document models supported by this kit. |
| Methods inherited from class javax.swing.text.DefaultEditorKit |
|---|
read, read, write, write |
| Methods inherited from class javax.swing.text.EditorKit |
|---|
deinstall, install |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicEditorKit()
| Method Detail |
|---|
public java.lang.String getContentType()
getContentType in class javax.swing.text.DefaultEditorKitpublic java.lang.Object clone()
clone in class javax.swing.text.EditorKitpublic javax.swing.text.Caret createCaret()
createCaret in class javax.swing.text.DefaultEditorKitpublic javax.swing.text.Document createDefaultDocument()
BasicDocument for its storage model to avoid the overhead of the line element structures.createDefaultDocument in class javax.swing.text.DefaultEditorKitpublic final javax.swing.text.ViewFactory getViewFactory()
getViewFactory in class javax.swing.text.DefaultEditorKitpublic javax.swing.text.View create(javax.swing.text.Element elem)
BasicDocument model - the only available view is the BasicView which understands the RootElement used by the document.create in interface javax.swing.text.ViewFactoryelem - the piece of the document to build a view ofpublic javax.swing.Action[] getActions()
getActions in class javax.swing.text.DefaultEditorKitMultiKeymap, MultiKeyHandlerpublic javax.swing.Action findAction(java.lang.String actionKey)
actionKey - the published key for the action
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||