Retrieves the index of the selected element if it is a direct child of this list.
public int getElementIndex( DhElement e )
e
The element for which the index is retrieved.
The zero-based index of the element, or -1 if the element is not in the list.