Class KeyBufferer

java.lang.Object
java.awt.event.MouseAdapter
VASSAL.build.module.map.KeyBufferer
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener, Buildable, Drawable

public class KeyBufferer
extends MouseAdapter
implements Buildable, MouseMotionListener, Drawable
This component listens for mouse clicks on a map and draws the selection rectangle. ... If the user clicks on a GamePiece, that piece is added to the KeyBuffer. draw(Graphics, Map) is responsible for drawing the mouse selection rectangle, and mouseDragged(MouseEvent) is responsible for triggering repaint events as the selection rectangle is moved.
See Also:
Map.addLocalMouseListener(java.awt.event.MouseListener)