public class VTWindowControllerListener extends Object implements MouseListener, MouseMotionListener
Constructor and Description |
---|
VTWindowControllerListener(TestableWindowController controller,
objectdraw.DrawingCanvas canvas) |
Modifier and Type | Method and Description |
---|---|
void |
getWindowFocus() |
boolean |
isLocked() |
void |
lockMouseClick() |
void |
lockMouseMove(objectdraw.Location dest) |
void |
lockMousePress() |
void |
lockMouseRelease() |
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
void |
waitUnlock() |
public VTWindowControllerListener(TestableWindowController controller, objectdraw.DrawingCanvas canvas)
public void lockMouseClick()
public void lockMouseMove(objectdraw.Location dest)
public void lockMousePress()
public void lockMouseRelease()
public boolean isLocked()
public void waitUnlock()
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
public void getWindowFocus()