Class PageModeMenuCommand
java.lang.Object
com.hack23.cia.web.impl.ui.application.views.common.pagelinks.api.PageModeMenuCommand
- All Implemented Interfaces:
com.vaadin.event.SerializableEventListener
,com.vaadin.ui.Button.ClickListener
,com.vaadin.ui.MenuBar.Command
,Serializable
,EventListener
public final class PageModeMenuCommand
extends Object
implements com.vaadin.ui.MenuBar.Command, com.vaadin.ui.Button.ClickListener
The Class PageModeMenuCommand.
- See Also:
-
Field Summary
Fields inherited from interface com.vaadin.ui.Button.ClickListener
BUTTON_CLICK_METHOD
-
Constructor Summary
ConstructorDescriptionPageModeMenuCommand
(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. -
Method Summary
Modifier and TypeMethodDescriptionvoid
buttonClick
(com.vaadin.ui.Button.ClickEvent event) Gets the page path.void
menuSelected
(com.vaadin.ui.MenuBar.MenuItem selectedItem)
-
Constructor Details
-
PageModeMenuCommand
Instantiates a new page mode menu command.- Parameters:
page
- the pagepageMode
- the page mode
-
PageModeMenuCommand
Instantiates a new page mode menu command.- Parameters:
page
- the pagepageMode
- the page modepart
- the part
-
PageModeMenuCommand
Instantiates a new page mode menu command.- Parameters:
page
- the pagepart
- the part
-
PageModeMenuCommand
Instantiates a new page mode menu command.- Parameters:
page
- the pagepageMode
- the page modepart
- the part
-
-
Method Details
-
buttonClick
public void buttonClick(com.vaadin.ui.Button.ClickEvent event) - Specified by:
buttonClick
in interfacecom.vaadin.ui.Button.ClickListener
-
getPagePath
Gets the page path.- Returns:
- the page path
-