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.GotoMatchingBraceAction

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.BasicEditorKit.GotoMatchingBraceAction

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

public static class BasicEditorKit.GotoMatchingBraceAction
extends BasicAction

The GotoMatchingBraceAction implementation of the action to move the cursor to the matching brace (if brace matching is available.)

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
BasicEditorKit.GotoMatchingBraceAction(java.lang.String actionName, boolean performSelect)
          Constructs this object with the appropriate action name.

 

Method Summary
 void actionPerformed(java.awt.event.ActionEvent event, BasicEditorPane editor, BasicDocument document)
          The navigate operation to perform when this action is triggered.

 

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, lock, setMagicCaretPosition, showMessage, skipLeadingIndent, unlock

 

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.GotoMatchingBraceAction

public BasicEditorKit.GotoMatchingBraceAction(java.lang.String actionName,
                                              boolean performSelect)
Constructs this object with the appropriate action name.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event,
                            BasicEditorPane editor,
                            BasicDocument document)
The navigate operation to perform when this action is triggered. Navigation implementations should override this instead of actionPerformed, which takes care of undo marking.
Specified by:
actionPerformed in class BasicAction
Parameters:
event - the action event
editor - the editor his action was invoked in
document - the document associated with the editor

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.