protected class ViewerPanel.MouseCoordinateListener extends Object implements MouseMotionListener, MouseListener
Modifier | Constructor and Description |
---|---|
protected |
MouseCoordinateListener() |
Modifier and Type | Method and Description |
---|---|
void |
getMouseCoordinates(Positionable p) |
int |
getX() |
int |
getY() |
boolean |
isMouseInsidePanel() |
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) |
public void getMouseCoordinates(Positionable p)
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
public int getX()
public int getY()
public boolean isMouseInsidePanel()
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
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
Copyright © 2015–2021 Fiji. All rights reserved.