org.netbeans.modules.editor.lib/3 3.23.0 19

org.netbeans.editor
Class ActionFactory.ToggleRectangularSelectionAction

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.ActionFactory.ToggleRectangularSelectionAction
All Implemented Interfaces:
ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action, Presenter, Presenter.Toolbar, ContextAwareAction
Enclosing class:
ActionFactory

public static class ActionFactory.ToggleRectangularSelectionAction
extends BaseAction
implements Presenter.Toolbar, ContextAwareAction, PropertyChangeListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter
Presenter.Menu, Presenter.Popup, Presenter.Toolbar
 
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
ActionFactory.ToggleRectangularSelectionAction()
           
 
Method Summary
 void actionPerformed(ActionEvent evt, JTextComponent target)
          The target method that performs the real action functionality.
 Action createContextAwareInstance(Lookup actionContext)
           
protected  Class getShortDescriptionBundleClass()
          Get the class in a package where resource bundle for localization of the short description of this action resides.
 Component getToolbarPresenter()
           
 void propertyChange(PropertyChangeEvent evt)
           
 
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
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

ActionFactory.ToggleRectangularSelectionAction

public ActionFactory.ToggleRectangularSelectionAction()
Method Detail

actionPerformed

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

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

getToolbarPresenter

public Component getToolbarPresenter()
Specified by:
getToolbarPresenter in interface Presenter.Toolbar

createContextAwareInstance

public Action createContextAwareInstance(Lookup actionContext)
Specified by:
createContextAwareInstance in interface ContextAwareAction

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener

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/3 3.23.0 19

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.