org.xnap.gui.util
Class EmacsKeyBindings.SetMarkCommandAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by javax.swing.text.TextAction
          extended by org.xnap.gui.util.EmacsKeyBindings.SetMarkCommandAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Enclosing class:
EmacsKeyBindings

public static class EmacsKeyBindings.SetMarkCommandAction
extends javax.swing.text.TextAction

Sets a beginning mark.

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
EmacsKeyBindings.SetMarkCommandAction(java.lang.String nm)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
static int getCaretPosition()
           
static boolean isMarked(javax.swing.text.JTextComponent jt)
           
static void reset()
           
 
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

EmacsKeyBindings.SetMarkCommandAction

public EmacsKeyBindings.SetMarkCommandAction(java.lang.String nm)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

isMarked

public static boolean isMarked(javax.swing.text.JTextComponent jt)

reset

public static void reset()

getCaretPosition

public static int getCaretPosition()


Copyright © 2001-2005 XNap Team. All Rights Reserved.