Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.javatools.editor
Class BasicEditorKit.EmacsDowncaseWordAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by javax.swing.text.TextAction
          extended by oracle.javatools.editor.BasicAction
              extended by oracle.javatools.editor.EmacsAction
                  extended by oracle.javatools.editor.EmacsWriteAction
                      extended by oracle.javatools.editor.BasicEditorKit.EmacsCaseWordAction
                          extended by oracle.javatools.editor.BasicEditorKit.EmacsDowncaseWordAction

All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Enclosing class:
BasicEditorKit

public static final class BasicEditorKit.EmacsDowncaseWordAction
extends BasicEditorKit.EmacsCaseWordAction

The EmacsDowncaseWordAction is the action for converting from the current position to the next end of a word to all lowercase.

See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.javatools.editor.EmacsAction
EmacsAction.Tracker

 

Field Summary

 

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
BasicEditorKit.EmacsDowncaseWordAction()
          Constructs this object with the appropriate action name.

 

Method Summary
 EditDescriptor getEditDescriptor()
          Fetch the edit descriptor to use for undo purposes.
 java.lang.String performModification(java.lang.String wordText)
          Perform the case changes to the word text.

 

Methods inherited from class oracle.javatools.editor.BasicEditorKit.EmacsCaseWordAction
actionPerformed

 

Methods inherited from class oracle.javatools.editor.EmacsWriteAction
lock, unlock

 

Methods inherited from class oracle.javatools.editor.EmacsAction
addKillRing, appendKillRing, getClipboardText, getMark, getSystemClipboard, popKillRing, prependKillRing, removeMark, setClipboardText, setMark, setSystemClipboard, showEndBufferMessage, showMarkNotSetMessage, showMarkSetMessage, showNextKillAppendMessage, showPreviousNotYankMessage, showReadOnlyMessage, yankKillRing

 

Methods inherited from class oracle.javatools.editor.BasicAction
actionPerformed, beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, setMagicCaretPosition, showMessage, skipLeadingIndent

 

Methods inherited from class javax.swing.text.TextAction
augmentList, getFocusedComponent, getTextComponent

 

Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

BasicEditorKit.EmacsDowncaseWordAction

public BasicEditorKit.EmacsDowncaseWordAction()
Constructs this object with the appropriate action name.

Method Detail

performModification

public java.lang.String performModification(java.lang.String wordText)
Perform the case changes to the word text.
Specified by:
performModification in class BasicEditorKit.EmacsCaseWordAction
Parameters:
wordText - the word text to perform the case changes to
Returns:
the replacement word text with case changes made

getEditDescriptor

public EditDescriptor getEditDescriptor()
Fetch the edit descriptor to use for undo purposes.
Specified by:
getEditDescriptor in class BasicEditorKit.EmacsCaseWordAction
Returns:
the edit descriptor to use for undo purposes

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.