public static class ActionFactory.ToggleRectangularSelectionAction extends BaseAction implements Presenter.Toolbar, ContextAwareAction, PropertyChangeListener
Presenter.Menu, Presenter.Popup, Presenter.ToolbarABBREV_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_RESETchangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
ActionFactory.ToggleRectangularSelectionAction() |
| Modifier and Type | Method and Description |
|---|---|
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) |
actionNameUpdate, actionPerformed, asynchonous, createDefaultValue, findValue, getDefaultShortDescription, getPopupMenuItem, getPopupMenuText, getValue, putValue, updateComponent, updateComponentaugmentList, getFocusedComponent, getTextComponentaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, isEnabled, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledactionPerformedpublic ActionFactory.ToggleRectangularSelectionAction()
public void actionPerformed(ActionEvent evt, JTextComponent target)
BaseActionactionPerformed in class BaseActionevt - action event describing the action that occuredtarget - target component where the action occured. It's retrieved
by the TextAction.getTextComponent(evt).public Component getToolbarPresenter()
getToolbarPresenter in interface Presenter.Toolbarpublic Action createContextAwareInstance(Lookup actionContext)
createContextAwareInstance in interface ContextAwareActionpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerprotected Class getShortDescriptionBundleClass()
BaseActiongetShortDescriptionBundleClass in class BaseActionBuilt on May 26 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.