void (int x, int y) { if (isTrackContains(x, y)) { if (!isOverTrack) myAnimationBehavior.onTrackHover(isOverTrack = true); boolean hover = isThumbContains(x, y); if (isOverThumb != hover) myAnimationBehavior.onThumbHover(isOverThumb = hover); } else { updateMouseExit(); } }