|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.borland.primetime.editor.EditorActions
This is the editor kit that JBuilder is going to use. It defines which view and document types will be used, and also defines additional Action objects that the editor can perform.
Inner Class Summary | |
static class |
EditorActions.BackwardAction
Action to move the cursor backward by one character. |
static class |
EditorActions.BeginAction
Move the caret to the begining of the document. |
static class |
EditorActions.BeginLineAction
Position the caret to the beginning of the line. |
static class |
EditorActions.BeginWordAction
Position the caret at the beginning of the current word. |
static class |
EditorActions.BottomOfScreenAction
Move the caret to the bottom of the screen. |
static class |
EditorActions.ChangeWordCaseAction
Convert the entire word that contains the caret to upper- or lowercase. |
static class |
EditorActions.ClearBookmarksAction
Clears all bookmarks in the current editor. |
static class |
EditorActions.ClosingCurlyBraceAction
Do any special code handling when the closing curly brace is entered. |
static class |
EditorActions.CommentLineAction
Place a line comment at the start of the current line. |
static class |
EditorActions.CopyAction
Copies the selected region and place its contents into the system clipboard. |
static class |
EditorActions.CutAction
Cuts the selected region and place its contents into the system clipboard. |
static class |
EditorActions.DefaultKeyTypedAction
The action that is executed by default if a key typed event is received and there is no keymap entry. |
static class |
EditorActions.DeleteBeginLineAction
Delete from the caret position to the beginning of the the line that the caret is currently on. |
static class |
EditorActions.DeleteBeginWordAction
Delete from the caret to the beginning of the current word. |
static class |
EditorActions.DeleteEndLineAction
Delete from the caret position to the end of the the line that the caret is currently on. |
static class |
EditorActions.DeleteLineAction
Delete the line that the caret is currently on. |
static class |
EditorActions.DeleteNextCharAction
Deletes the character of content that follows the current caret position. |
static class |
EditorActions.DeletePrevCharAction
Deletes the character of content that precedes the current caret position. |
static class |
EditorActions.DeleteSelectionAction
Delete the current selection. |
static class |
EditorActions.DeleteWordAction
Delete all characters from the current Caret position to the end of the current word. |
static class |
EditorActions.DownAction
This action is basically used as a tag. |
static class |
EditorActions.EndAction
Move the caret to the end of the document. |
static class |
EditorActions.EndLineAction
Position the caret to the end of the line. |
static class |
EditorActions.EndWordAction
Position the caret at the end of the current word. |
static class |
EditorActions.ForwardAction
Action to move the cursor forward by one character. |
static class |
EditorActions.GotoBookmarkAction
Goto a bookmark in one of the editors |
static class |
EditorActions.GotoBookmarkDialogAction
Bring up the Goto Bookmark Dialog. |
static class |
EditorActions.GotoLineDialogAction
Bring up the Goto Line Dialog. |
static class |
EditorActions.IncrementalSearchAction
Incremental Search. |
static class |
EditorActions.IndentBlockAction
Indent every line that contains part of the current selection. |
static class |
EditorActions.InsertTabAction
Insert a tab character into the text. |
static interface |
EditorActions.KeymapSwitchAction
This is simply a tagging interface for Actions which switch to a subkeymap. |
static class |
EditorActions.LowerCaseAction
Convert the selected text to lower case. |
static class |
EditorActions.MatchBraceAction
Move the caret to the matching brace, bracket, or paren. |
static class |
EditorActions.NextBookmarkAction
Goto the next bookmark below the current line, with wrap around to the top if no bookmark is found before the end of the file. |
static class |
EditorActions.NextVisualPositionAction
Action to move the selection by way of the getNextVisualPositionFrom method. |
static class |
EditorActions.NextWordAction
Position the caret at start of the next word. |
static class |
EditorActions.OpenLineAction
Places a newline into the document. |
static class |
EditorActions.OutdentBlockAction
Outdent every line that contains part of the current selection. |
static class |
EditorActions.PageDownAction
Pages down vertically. |
static class |
EditorActions.PageLeftAction
Pages left one screen. |
static class |
EditorActions.PageRightAction
Pages right one screen. |
static class |
EditorActions.PageUpAction
Pages up vertically. |
static class |
EditorActions.PasteAction
Pastes the contents of the system clipboard into the selected region, or before the caret if nothing is selected. |
static class |
EditorActions.PreviousBookmarkAction
Goto the previous bookmark above the current line, with wrap around to the bottom if no bookmark is found before the start of the file. |
static class |
EditorActions.PreviousIndentAction
Move the caret to the previous indent position. |
static class |
EditorActions.PreviousWordAction
Position the caret at the start of the previous word. |
static class |
EditorActions.RecenterAction
Center the current line on the screen. |
static class |
EditorActions.RedoAction
Redo the previously undone text modification. |
static class |
EditorActions.ReplaceDialogAction
Bring up the Replace Dialog. |
static class |
EditorActions.ScrollDownAction
Scroll the editor down one line. |
static class |
EditorActions.ScrollUpAction
Scroll the editor up one line. |
static class |
EditorActions.SearchAgainAction
Repeat the previous search. |
static class |
EditorActions.SearchDialogAction
Bring up the Search Dialog. |
static class |
EditorActions.SearchSelectedAction
Search on the selected text. |
static class |
EditorActions.SelectAllAction
Select the entire document |
static class |
EditorActions.SelectLineAction
Select the line around the caret. |
static class |
EditorActions.SelectWordAction
Select the word around the caret |
static class |
EditorActions.SetBookmarkAction
Set a bookmark at the current caret position. |
static class |
EditorActions.SmartBackspaceAction
This is the SmartBackspaceAction action. |
static class |
EditorActions.SmartIndentAction
This is the SmartIndent action. |
static class |
EditorActions.StripTrailingSpaceAction
Strip whitespace at the end of lines. |
static class |
EditorActions.TabKeyAction
Does one of the following: If EditorManager.isSmartTabs is true, places enough spaces on the the line to line up the next character typed with the next non-whitespace character on the previous non-blank line. |
static class |
EditorActions.ToggleBookmarkAction
Toggle a bookmark at the current caret position. |
static class |
EditorActions.ToggleCaseAction
Toggle the case of each character in the selected text. |
static class |
EditorActions.ToggleInsertModeAction
Toggle the editor Insert mode (Insert or Overwrite) |
static class |
EditorActions.TopOfScreenAction
Move the caret to the top of the screen. |
static class |
EditorActions.TransposeCharsAction
Switch the position of the two characters on either side of the caret. |
static class |
EditorActions.TransposeLinesAction
Switch the position of the line that the caret is on with the previous line. |
static class |
EditorActions.TransposeWordsAction
Switch the position of the two words on either side of the caret. |
static class |
EditorActions.UndoAction
Undo the previous text modification. |
static class |
EditorActions.UnTabKeyAction
This action is normally bound to the Shift-Tab key, thus the bizarre name. |
static class |
EditorActions.UpAction
This action is basically used as a tag. |
static class |
EditorActions.UpperCaseAction
Convert the selected text to upper case. |
Constructor Summary | |
EditorActions()
|
Method Summary | |
static void |
addBindableEditorAction(javax.swing.Action action)
Add an action that can safely be executed in the editor and that users are allowed to bind to keystrokes through the use of the keymap editor. |
static void |
addBindableEditorAction(javax.swing.Action action,
java.lang.String keymap)
Add an action that can safely be executed in the editor and that users are allowed to bind to keystrokes through the use of the keymap editor. |
static void |
addBindableIdeAction(javax.swing.Action action)
Add an action that can safely be executed in the IDE and that users are allowed to bind to keystrokes through the use of the keymap editor. |
static void |
addBindableIdeAction(javax.swing.Action action,
java.lang.String keymap)
Add an action that can safely be executed in the IDE and that users are allowed to bind to keystrokes through the use of the keymap editor. |
static javax.swing.Action[] |
getActions()
|
static javax.swing.Action[] |
getBindableEditorActions()
Return the list of actions that can safely be bound to keystrokes in the editor. |
static javax.swing.Action[] |
getBindableIdeActions()
Return the list of actions that can safely be bound to keystrokes in the IDE. |
static boolean |
isBindableIdeAction(javax.swing.Action action)
Determine if the incoming action is an action that is an IDE centric action, instead of an editor centric action. |
static void |
removeBindableEditorAction(javax.swing.Action action)
Remove an editor action from the list of actions that users are allowed to bind in the keymap editor. |
static void |
removeBindableIdeAction(javax.swing.Action action)
Remove an IDE action from the list of actions that users are allowed to bind in the keymap editor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static EditorAction ACTION_Forward
public static EditorAction ACTION_Backward
public static EditorAction ACTION_Up
public static EditorAction ACTION_Down
public static EditorAction ACTION_BeginWord
public static EditorAction ACTION_EndWord
public static EditorAction ACTION_NextWord
public static EditorAction ACTION_PreviousWord
public static EditorAction ACTION_BeginLine
public static EditorAction ACTION_EndLine
public static EditorAction ACTION_TopOfScreen
public static EditorAction ACTION_BottomOfScreen
public static EditorAction ACTION_PageUp
public static EditorAction ACTION_PageDown
public static EditorAction ACTION_PageLeft
public static EditorAction ACTION_PageRight
public static EditorAction ACTION_Begin
public static EditorAction ACTION_End
public static EditorAction ACTION_ScrollUp
public static EditorAction ACTION_ScrollDown
public static EditorAction ACTION_GotoLineDialog
public static EditorAction ACTION_MatchBrace
public static EditorAction ACTION_ToggleBookmark
public static EditorAction ACTION_SetBookmark0
public static EditorAction ACTION_SetBookmark1
public static EditorAction ACTION_SetBookmark2
public static EditorAction ACTION_SetBookmark3
public static EditorAction ACTION_SetBookmark4
public static EditorAction ACTION_SetBookmark5
public static EditorAction ACTION_SetBookmark6
public static EditorAction ACTION_SetBookmark7
public static EditorAction ACTION_SetBookmark8
public static EditorAction ACTION_SetBookmark9
public static EditorAction ACTION_GotoBookmark0
public static EditorAction ACTION_GotoBookmark1
public static EditorAction ACTION_GotoBookmark2
public static EditorAction ACTION_GotoBookmark3
public static EditorAction ACTION_GotoBookmark4
public static EditorAction ACTION_GotoBookmark5
public static EditorAction ACTION_GotoBookmark6
public static EditorAction ACTION_GotoBookmark7
public static EditorAction ACTION_GotoBookmark8
public static EditorAction ACTION_GotoBookmark9
public static EditorAction ACTION_NextBookmark
public static EditorAction ACTION_PreviousBookmark
public static EditorAction ACTION_ClearBookmarks
public static EditorAction ACTION_GotoBookmarkDialog
public static EditorAction ACTION_SelectionForward
public static EditorAction ACTION_SelectionBackward
public static EditorAction ACTION_SelectionUp
public static EditorAction ACTION_SelectionDown
public static EditorAction ACTION_SelectionBeginWord
public static EditorAction ACTION_SelectionEndWord
public static EditorAction ACTION_SelectionPreviousWord
public static EditorAction ACTION_SelectionNextWord
public static EditorAction ACTION_SelectionBeginLine
public static EditorAction ACTION_SelectionEndLine
public static EditorAction ACTION_SelectionTopOfScreen
public static EditorAction ACTION_SelectionBottomOfScreen
public static EditorAction ACTION_SelectionPageUp
public static EditorAction ACTION_SelectionPageDown
public static EditorAction ACTION_SelectionBegin
public static EditorAction ACTION_SelectionEnd
public static EditorAction ACTION_SelectionMatchBrace
public static EditorAction ACTION_SelectWord
public static EditorAction ACTION_SelectLine
public static EditorAction ACTION_SelectMultiLine
public static EditorAction ACTION_SelectAll
public static EditorAction ACTION_ToggleInsertMode
public static EditorAction ACTION_DeletePrevChar
public static EditorAction ACTION_DeleteNextChar
public static EditorAction ACTION_DeleteSelection
public static EditorAction ACTION_DeleteLine
public static EditorAction ACTION_DeleteBeginLine
public static EditorAction ACTION_DeleteEndLine
public static EditorAction ACTION_DeleteWord
public static EditorAction ACTION_DeleteBeginWord
public static EditorAction ACTION_IndentBlock
public static EditorAction ACTION_OutdentBlock
public static EditorAction ACTION_SmartIndent
public static EditorAction ACTION_SmartBackspace
public static EditorAction ACTION_Undo
public static EditorAction ACTION_Redo
public static EditorAction ACTION_UpperCase
public static EditorAction ACTION_LowerCase
public static EditorAction ACTION_ToggleCase
public static EditorAction ACTION_UpperCaseWord
public static EditorAction ACTION_LowerCaseWord
public static EditorAction ACTION_OpenLine
public static EditorAction ACTION_Cut
public static EditorAction ACTION_Copy
public static EditorAction ACTION_Paste
public static EditorAction ACTION_SearchDialog
public static EditorAction ACTION_SearchAgain
public static EditorAction ACTION_SearchAgainInReverse
public static EditorAction ACTION_SearchAgainForward
public static EditorAction ACTION_SearchAgainBackward
public static EditorAction ACTION_SearchSelectedForward
public static EditorAction ACTION_SearchSelectedBackward
public static EditorAction ACTION_ReplaceDialog
public static EditorAction ACTION_IncrementalSearch
public static EditorAction ACTION_ReverseIncrementalSearch
public static EditorAction ACTION_Recenter
public static EditorAction ACTION_InsertTab
public static EditorAction ACTION_TabKey
public static EditorAction ACTION_UnTabKey
public static EditorAction ACTION_StripTrailingSpace
public static EditorAction ACTION_CommentLine
public static EditorAction ACTION_PreviousIndent
public static EditorAction ACTION_PreviousTabStop
public static EditorAction ACTION_DefaultKeyTyped
public static EditorAction ACTION_TransposeLines
public static EditorAction ACTION_TransposeWords
public static EditorAction ACTION_TransposeChars
public static EditorAction ACTION_ClosingCurlyBrace
public static final javax.swing.Action[] customActions
Constructor Detail |
public EditorActions()
Method Detail |
public static javax.swing.Action[] getActions()
public static void addBindableEditorAction(javax.swing.Action action, java.lang.String keymap)
action
- The action that can be bound to keystrokeskeymap
- The name of the keymap that introduces
this action.public static void addBindableEditorAction(javax.swing.Action action)
action
- The action that can be bound to keystrokespublic static void removeBindableEditorAction(javax.swing.Action action)
action
- The action to be removed.public static javax.swing.Action[] getBindableEditorActions()
public static void addBindableIdeAction(javax.swing.Action action, java.lang.String keymap)
action
- The action that can be bound to keystrokeskeymap
- The name of the keymap that introduces
this action.public static void addBindableIdeAction(javax.swing.Action action)
action
- The action that can be bound to keystrokespublic static void removeBindableIdeAction(javax.swing.Action action)
action
- The action to be removed.public static javax.swing.Action[] getBindableIdeActions()
public static boolean isBindableIdeAction(javax.swing.Action action)
action
- The action we are interested in
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |