org.xnap.commons.gui.shortcut
Class EmacsKeyBindings.KillRing

java.lang.Object
  extended by 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.


Constructor Summary
EmacsKeyBindings.KillRing()
           
 
Method Summary
static EmacsKeyBindings.KillRing getInstance()
           
 List<String> getRing()
          Returns an unmodifiable version of the ring list which contains the killed texts.
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmacsKeyBindings.KillRing

public EmacsKeyBindings.KillRing()
Method Detail

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.