Constructor and Description |
---|
TopMenuBar() |
TopMenuBar(NavMenuBarWidget menuBarWidget,
org.jboss.errai.security.shared.api.identity.User user,
Workbench workbench) |
Modifier and Type | Method and Description |
---|---|
void |
addLogout() |
void |
addRole(String role) |
void |
clearRoles() |
void |
clearSelectedItem() |
String |
getId() |
NavItem |
getItemSelected() |
int |
getOrder() |
void |
onLogoutClicked() |
void |
onRoleClicked(String role) |
void |
setNavHeaderHtml(String htmlFile) |
void |
setOnItemSelectedCommand(Command command) |
void |
setOnLogoutCommand(Command command) |
void |
setSelectedItem(String perspectiveId) |
void |
setUserName(String name) |
void |
show(String navItemId) |
public TopMenuBar()
@Inject public TopMenuBar(NavMenuBarWidget menuBarWidget, org.jboss.errai.security.shared.api.identity.User user, Workbench workbench)
public NavItem getItemSelected()
public void setOnItemSelectedCommand(Command command)
public void setOnLogoutCommand(Command command)
public void show(String navItemId)
public void setSelectedItem(String perspectiveId)
public void clearSelectedItem()
public void setNavHeaderHtml(String htmlFile)
public void setUserName(String name)
public void clearRoles()
public void addRole(String role)
public void addLogout()
public void onRoleClicked(String role)
public void onLogoutClicked()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.