public T getComponent ( final String propertyValue ) { final ComponentList < T > components = getComponents ( propertyValue ) ; if ( ! components . isEmpty ( ) ) { return components . get ( 0 ) ; } return null ; }
Returns the first component containing a property with the specified value .