public Class<? extends ElementBase> getRootClass() {
        LayoutElement top = root == null ? null : root.getChild(LayoutElement.class);
        return top == null ? null : top.getDefinition().getClazz();
    }
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.

@return Class of the element at the root of the layout, or null if none.