public Class < ? extends ElementBase > getRootClass ( ) { LayoutElement top = root == null ? null : root . getChild ( LayoutElement . class ) ; return top == null ? null : top . getDefinition ( ) . getClazz ( ) ; }
Returns the class of the element at the root of the layout .