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

E17493-02

oracle.javatools.editor
Class BasicWriteAction

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.BasicWriteAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
BasicEditorKit.BlockIndentOutdentAction, BasicEditorKit.ConvertSelectionCaseAction, BasicEditorKit.CopyAction, BasicEditorKit.CutAction, BasicEditorKit.DefaultKeyTypedAction, BasicEditorKit.DeleteLineAction, BasicEditorKit.DeleteNextCharAction, BasicEditorKit.DeleteNextWordAction, BasicEditorKit.DeletePrevCharAction, BasicEditorKit.DeletePreviousWordAction, BasicEditorKit.DeleteUntilEOLAction, BasicEditorKit.ExtendedPasteAction, BasicEditorKit.InsertBreakAction, BasicEditorKit.JoinLineAction, BasicEditorKit.MacroRecorderAction, BasicEditorKit.OpenLineAction, BasicEditorKit.PasteAction, BasicEditorKit.SortSelectedLines, BasicEditorKit.TabifyAction, BasicEditorKit.ToggleCommentsAction, BasicEditorKit.TransposeCharsAction, BasicEditorKit.TrimWhitespaceAction, BasicEditorKit.UntabifyAction

public abstract class BasicWriteAction
extends BasicAction

See Also:
Serialized Form

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
protected BasicWriteAction(java.lang.String actionName)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          The operation to perform when this action is triggered.
protected  void lock(BasicDocument document)
           
protected  void unlock(BasicDocument document)
           
 
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

BasicWriteAction

protected BasicWriteAction(java.lang.String actionName)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Description copied from class: BasicAction
The operation to perform when this action is triggered.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class BasicAction
Parameters:
event - the action event

lock

protected void lock(BasicDocument document)
Overrides:
lock in class BasicAction

unlock

protected void unlock(BasicDocument document)
Overrides:
unlock in class BasicAction

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

E17493-02

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