public ElementBase getRoot ( ) { ElementBase root = this ; while ( root . getParent ( ) != null ) { root = root . getParent ( ) ; } return root ; }
Returns the UI element at the root of the component tree .