public ERXKeyValuePair selectedElement() {
Object value = objectPropertyValue();
ERXKeyValuePair selectedElement = null;
for(Enumeration e = availableElements().objectEnumerator(); e.hasMoreElements() && selectedElement == null;) {
ERXKeyValuePair current = (ERXKeyValuePair) e.nextElement();
if(current.key().equals(value)) {
selectedElement = current;
}
}
return selectedElement;
}