org.xnap.gui.util
Class EmacsKeyBindings.SetMarkCommandAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
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
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 |
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 |
EmacsKeyBindings.SetMarkCommandAction
public EmacsKeyBindings.SetMarkCommandAction(java.lang.String nm)
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.