public boolean isSeparatorAboveOf(Object aValue) {
return getSeparatorAbove(aValue) != null;
}
public String getCaptionAboveOf(Object value) {
ListSeparator separator = getSeparatorAbove(value);
if (separator != null) {
return separator.getText();
}
return "";
}