private boolean isHovered() {
    Point mousePoint = mouseTracker.getMousePoint();
    int index = mousePoint == null ? -1 : locationToIndex(mousePoint);
    if (index == -1) return false;
    T at = getModel().getElementAt(index);
    if (!canOpenInSplitter(at)) return false;

    return getIconRectangle(index).contains(mousePoint);
  }
private boolean isHovered()