org.netbeans.modules.editor.lib/1 1.44.0 9

org.netbeans.editor.ext
Class ExtKit.ExtDefaultKeyTypedAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by javax.swing.text.TextAction
          extended by org.netbeans.editor.BaseAction
              extended by org.netbeans.editor.BaseKit.DefaultKeyTypedAction
                  extended by org.netbeans.editor.ext.ExtKit.ExtDefaultKeyTypedAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
ExtKit

public static class ExtKit.ExtDefaultKeyTypedAction
extends BaseKit.DefaultKeyTypedAction

See Also:
Serialized Form

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, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ExtKit.ExtDefaultKeyTypedAction()
           
 
Method Summary
 void actionPerformed(ActionEvent evt, JTextComponent target)
          The target method that performs the real action functionality.
protected  void checkCompletion(JTextComponent target, String typedText)
          Deprecated. Please use Editor Code Completion API instead, for details see Editor Code Completion.
protected  void checkIndentHotChars(JTextComponent target, String typedText)
          Check the characters that should cause reindenting the line.
protected  Class getShortDescriptionBundleClass()
          Get the class in a package where resource bundle for localization of the short description of this action resides.
 
Methods inherited from class org.netbeans.editor.BaseKit.DefaultKeyTypedAction
checkIndent, insertString, replaceSelection
 
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

ExtKit.ExtDefaultKeyTypedAction

public ExtKit.ExtDefaultKeyTypedAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent evt,
                            JTextComponent target)
Description copied from class: BaseAction
The target method that performs the real action functionality.

Overrides:
actionPerformed in class BaseKit.DefaultKeyTypedAction
Parameters:
evt - action event describing the action that occured
target - target component where the action occured. It's retrieved by the TextAction.getTextComponent(evt).

checkIndentHotChars

protected void checkIndentHotChars(JTextComponent target,
                                   String typedText)
Check the characters that should cause reindenting the line.


checkCompletion

protected void checkCompletion(JTextComponent target,
                               String typedText)
Deprecated. Please use Editor Code Completion API instead, for details see Editor Code Completion.

Check and possibly popup, hide or refresh the completion


getShortDescriptionBundleClass

protected Class getShortDescriptionBundleClass()
Description copied from class: BaseAction
Get the class in a package where resource bundle for localization of the short description of this action resides.
By default this method returns null.

Overrides:
getShortDescriptionBundleClass in class BaseAction

org.netbeans.modules.editor.lib/1 1.44.0 9

Built on November 20 2009.  |  Portions Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.