|
org.netbeans.modules.editor.lib/3 3.23.0 19 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
javax.swing.text.TextAction
org.netbeans.editor.BaseAction
org.netbeans.editor.BaseKit.DefaultKeyTypedAction
public static class BaseKit.DefaultKeyTypedAction
Default typed action
| Field Summary |
|---|
| Fields inherited from class org.netbeans.editor.BaseAction |
|---|
ABBREV_RESET, CLEAR_STATUS_TEXT, ICON_RESOURCE_PROPERTY, LOCALE_DESC_PREFIX, LOCALE_POPUP_PREFIX, MAGIC_POSITION_RESET, NO_KEYBINDING, NO_RECORDING, POPUP_MENU_TEXT, SAVE_POSITION, SELECTION_REMOVE, UNDO_MERGE_RESET, updateMask, WORD_MATCH_RESET |
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
BaseKit.DefaultKeyTypedAction()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent evt,
JTextComponent target)
Deprecated. The target method that performs the real action functionality. |
protected void |
checkIndent(JTextComponent target,
String typedText)
Deprecated. Please use AutomatedIndentig or Typing Hooks instead, for details see Editor Library 2. |
protected Class |
getShortDescriptionBundleClass()
Get the class in a package where resource bundle for localization of the short description of this action resides. |
protected void |
insertString(BaseDocument doc,
int dotPos,
Caret caret,
String str,
boolean overwrite)
Deprecated. Please use Typing Hooks instead, for details see Editor Library 2. |
protected void |
replaceSelection(JTextComponent target,
int dotPos,
Caret caret,
String str,
boolean overwrite)
Deprecated. Please use Typing Hooks instead, for details see Editor Library 2. |
| Methods inherited from class org.netbeans.editor.BaseAction |
|---|
actionNameUpdate, actionPerformed, asynchonous, createDefaultValue, findValue, getDefaultShortDescription, getPopupMenuItem, getPopupMenuText, getValue, putValue, updateComponent, updateComponent |
| Methods inherited from class javax.swing.text.TextAction |
|---|
augmentList, getFocusedComponent, getTextComponent |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, isEnabled, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseKit.DefaultKeyTypedAction()
| Method Detail |
|---|
public void actionPerformed(ActionEvent evt,
JTextComponent target)
BaseAction
actionPerformed in class BaseActionevt - action event describing the action that occuredtarget - target component where the action occured. It's retrieved
by the TextAction.getTextComponent(evt).
protected void insertString(BaseDocument doc,
int dotPos,
Caret caret,
String str,
boolean overwrite)
throws BadLocationException
BadLocationException
protected void replaceSelection(JTextComponent target,
int dotPos,
Caret caret,
String str,
boolean overwrite)
throws BadLocationException
BadLocationException
protected void checkIndent(JTextComponent target,
String typedText)
protected Class getShortDescriptionBundleClass()
BaseAction
getShortDescriptionBundleClass in class BaseAction
|
org.netbeans.modules.editor.lib/3 3.23.0 19 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||