public String getCaption() {
// if there is a member formatter for the members level,
// we will call this interface to provide the display string
MemberFormatter mf = getLevel().getMemberFormatter();
if (mf != null) {
return mf.formatMember(this);
}
final String caption = super.getCaption();
return (caption != null)
? caption
: getName();