Errai 3.0.1-SNAPSHOT

org.jboss.errai.ui.nav.client.local
Annotation Type Page


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface Page

Declares that the target type, which must be a subtype of Widget or an implementation of IsWidget, is a named page with optional state information within the Errai Navigation system.

Author:
Jonathan Fuerth
See Also:
TransitionTo, PageState, PageRole

Optional Element Summary
 String path
          The path component that identifies this page.
 Class<? extends PageRole>[] role
          Defines the roles of the page.
 

path

public abstract String path
The path component that identifies this page. If not specified, the page's name will be the simple name of the class.

Default:
""

role

public abstract Class<? extends PageRole>[] role
Defines the roles of the page. You can group pages together by defining roles that extend either PageRole or UniquePageRole a example of this is the DefaultPage indicating that this page is the starting page.

Returns:
the roles that this page belongs to
Default:
{}

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.