VASSAL.counters
Class KeyBuffer

java.lang.Object
  |
  +--VASSAL.counters.KeyBuffer

public class KeyBuffer
extends java.lang.Object


Method Summary
 void add(GamePiece p)
           
 void clear()
           
 boolean contains(GamePiece p)
           
static KeyBuffer getBuffer()
           
 java.util.Enumeration getPieces()
           
static void init(KeyBuffer kb)
           
 boolean isEmpty()
           
 Command keyCommand(javax.swing.KeyStroke stroke)
           
 void remove(GamePiece p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init(KeyBuffer kb)

getBuffer

public static KeyBuffer getBuffer()

add

public void add(GamePiece p)

clear

public void clear()

remove

public void remove(GamePiece p)

contains

public boolean contains(GamePiece p)

isEmpty

public boolean isEmpty()

keyCommand

public Command keyCommand(javax.swing.KeyStroke stroke)

getPieces

public java.util.Enumeration getPieces()