
public final class PageModeMenuCommand extends Object implements com.vaadin.ui.MenuBar.Command, com.vaadin.ui.Button.ClickListener
| Constructor and Description |
|---|
PageModeMenuCommand(String page,
PageMode pageMode)
Instantiates a new page mode menu command.
|
PageModeMenuCommand(String page,
PageMode pageMode,
String part)
Instantiates a new page mode menu command.
|
PageModeMenuCommand(String page,
String part)
Instantiates a new page mode menu command.
|
PageModeMenuCommand(String page,
String pageMode,
String part)
Instantiates a new page mode menu command.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buttonClick(com.vaadin.ui.Button.ClickEvent event) |
String |
getPagePath()
Gets the page path.
|
void |
menuSelected(com.vaadin.ui.MenuBar.MenuItem selectedItem) |
public PageModeMenuCommand(String page, PageMode pageMode)
page - the pagepageMode - the page modepublic PageModeMenuCommand(String page, String part)
page - the pagepart - the partpublic PageModeMenuCommand(String page, PageMode pageMode, String part)
page - the pagepageMode - the page modepart - the partpublic String getPagePath()
public void menuSelected(com.vaadin.ui.MenuBar.MenuItem selectedItem)
menuSelected in interface com.vaadin.ui.MenuBar.Commandpublic void buttonClick(com.vaadin.ui.Button.ClickEvent event)
buttonClick in interface com.vaadin.ui.Button.ClickListenerCopyright © 2008–2017 www.hack23.com. All rights reserved.