i = 6;
if ((x / i) == recentIndex)
return false;
else
recentIndex = x / i;
DataObject dataObject = null;
try {
dataObject = (DataObject) resultVector.elementAt(recentIndex);
} catch (Exception e) {
}
if (dataObject != null) {
if (!isShowCoreDistances() && !isShowReachabilityDistances()) {
setNewToolTip("<html><body><b>Please select a distance" +
"</b></body></html>"
);
} else
setNewToolTip("<html><body><table>" +
"<tr><td>DataObject:</td><td>" + dataObject + "</td></tr>" +
"<tr><td>Key:</td><td>" + dataObject.getKey() + "</td></tr>" +
"<tr><td>" +
(isShowCoreDistances() ? "<b>" : "") + "Core-Distance:" +
(isShowCoreDistances() ? "</b>" : "") +
"</td><td>" +
(isShowCoreDistances() ? "<b>" : "") +
((dataObject.getCoreDistance() == DataObject.UNDEFINED) ? "UNDEFINED" :
Utils.doubleToString(dataObject.getCoreDistance(), 3, 5)) +
(isShowCoreDistances() ? "</b>" : "") +
"</td></tr>" +
"<tr><td>" +
(isShowReachabilityDistances() ? "<b>" : "") + "Reachability-Distance:" +
(isShowReachabilityDistances() ? "</b>" : "") +
"</td><td>" +
(isShowReachabilityDistances() ? "<b>" : "") +
((dataObject.getReachabilityDistance() == DataObject.UNDEFINED) ? "UNDEFINED" :
Utils.doubleToString(dataObject.getReachabilityDistance(), 3, 5)) +
(isShowReachabilityDistances() ? "</b>" : "") +
"</td></tr>" +
"</table></body></html>"
);
}