private boolean isInLinkArea(int x) {
    int linkXCoordinate = x - myLinkOffset;
    if (linkXCoordinate < 0) {
      return false;
    }

    int index = myLink.findFragmentAt(linkXCoordinate);
    if (index == SimpleColoredComponent.FRAGMENT_ICON) {
      return true;
    }

    return index >= 0 && myLink.getFragmentTag(index) != null;
  }
private boolean isInLinkArea(int x)