org.jboss.errai.ioc.client.api
Annotation Type ToRootPanel


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface ToRootPanel

An Panel object annotated with this annotation will be automatically added to the RootPanel or the document root of the DOM in the application. It generally should only be used on the main outer container, as each annotated class will simply be passed to RootPanel.get().add(...)

Example:




Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.