com.borland.primetime.editor
Class EditorActions.NextVisualPositionAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.borland.primetime.editor.EditorAction
              |
              +--com.borland.primetime.editor.EditorActions.NextVisualPositionAction
Direct Known Subclasses:
EditorActions.DownAction, EditorActions.UpAction
Enclosing class:
EditorActions

public static class EditorActions.NextVisualPositionAction
extends EditorAction

Action to move the selection by way of the getNextVisualPositionFrom method. Constructor indicates direction to use.

See Also:
Serialized Form

Inner classes inherited from class com.borland.primetime.editor.EditorAction
EditorAction.SubKeymapAction
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Constructor Summary
EditorActions.NextVisualPositionAction(java.lang.String nm, boolean select, int direction)
          Create this action with the appropriate identifier.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          The operation to perform when this action is triggered.
 
Methods inherited from class com.borland.primetime.editor.EditorAction
getEditorTarget, getFocusedEditor, setFocusedEditor
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorActions.NextVisualPositionAction

public EditorActions.NextVisualPositionAction(java.lang.String nm,
                                              boolean select,
                                              int direction)
Create this action with the appropriate identifier.
Parameters:
nm - the name of the action, Action.NAME.
select - whether to extend the selection when changing the caret position.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
The operation to perform when this action is triggered.
Overrides:
actionPerformed in class javax.swing.AbstractAction