* @param x The x pixel coordinate within {@link #uiWidget}.
* @param y The y pixel coordinate within {@link #uiWidget}.
*/
private void mouseMovedTo(int x, int y) {
VertexHitInfo vertexHitInfo = vertexHit(x, y, vertexMoveDistance);
if (vertexHitInfo != null) {
if (current != OVER_VERTEX ||
!currentLoc.equals(vertexHitInfo.getVertex())) {
fireOutEvent();
current = OVER_VERTEX;
currentLoc = vertexHitInfo.getVertex();
fireEvent(new VertexMouseOverEvent(vertexHitInfo.getVertex()));
}
fireEvent(new VertexMouseMoveEvent(vertexHitInfo.getVertex()));
return;
}
EdgeHitInfo edgeHitInfo = edgeHit(x, y, edgeMoveDistance);
if (edgeHitInfo != null) {