Extension SDK 10.1.2

oracle.javatools.editor
Class BasicEditorKit.DownAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byjavax.swing.text.TextAction
          extended byoracle.javatools.editor.BasicAction
              extended byoracle.javatools.editor.BasicEditorKit.NavigateAction
                  extended byoracle.javatools.editor.BasicEditorKit.DownAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Enclosing class:
BasicEditorKit

public static class BasicEditorKit.DownAction
extends BasicEditorKit.NavigateAction

The DownAction implementation of the action for moving the caret logically down one position, possibly extending the selection.

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, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
BasicEditorKit.DownAction(java.lang.String actionName, boolean performSelect)
          Constructs this object with the appropriate action name.
 
Method Summary
protected  void navigatePerformed(java.awt.event.ActionEvent event, BasicEditorPane editor, BasicDocument document)
          The navigation to perform when this action is triggered.
 
Methods inherited from class oracle.javatools.editor.BasicEditorKit.NavigateAction
actionPerformed, doSelect
 
Methods inherited from class oracle.javatools.editor.BasicAction
actionPerformed, beep, buildIndent, getFontHeight, 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.DownAction

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

Parameters:
actionName - the name of the navigation action
performSelect - true to perform selection while navigating
Method Detail

navigatePerformed

protected void navigatePerformed(java.awt.event.ActionEvent event,
                                 BasicEditorPane editor,
                                 BasicDocument document)
The navigation to perform when this action is triggered.

Specified by:
navigatePerformed in class BasicEditorKit.NavigateAction
Parameters:
event - the action event
editor - the editor his action was invoked in
document - the document associated with the editor

Extension SDK

 

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