org.xnap.commons.gui.shortcut
Class EmacsKeyBindings.KillRing
java.lang.Object
org.xnap.commons.gui.shortcut.EmacsKeyBindings.KillRing
- Enclosing class:
- EmacsKeyBindings
public static class EmacsKeyBindings.KillRing
- extends Object
Manages all killed (cut) text pieces in a ring which is accessible
through EmacsKeyBindings.YankPopAction
.
Also provides an unmodifiable copy of all cut pieces.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmacsKeyBindings.KillRing
public EmacsKeyBindings.KillRing()
getInstance
public static EmacsKeyBindings.KillRing getInstance()
getRing
public List<String> getRing()
- Returns an unmodifiable version of the ring list which contains
the killed texts.
- Returns:
- the content of the kill ring
isEmpty
public boolean isEmpty()
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.