
@Component public final class PoliticianBallotDecisionSummaryPageModContentFactoryImpl extends AbstractPageModContentFactoryImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
The Constant NAME.
|
CURRENT_PAGE_VISIT_HISTORY, GENERAL_PAGE_MODE_PAGE_VISIT| Constructor and Description |
|---|
PoliticianBallotDecisionSummaryPageModContentFactoryImpl()
Instantiates a new politician ballot decision summary page mod content
factory impl.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
convertToYearsString(long totalDays)
Convert to years string.
|
com.vaadin.ui.Layout |
createContent(String parameters,
com.vaadin.ui.MenuBar menuBar,
com.vaadin.ui.Panel panel)
Creates a new PageModeContent object.
|
protected PoliticianMenuItemFactory |
getPoliticianMenuItemFactory()
Gets the politician ranking menu item factory.
|
boolean |
matches(String page,
String parameters)
Matches.
|
protected void |
pageCompleted(String parameters,
com.vaadin.ui.Component panel,
String pageId,
com.hack23.cia.model.internal.application.data.politician.impl.ViewRiksdagenPolitician viewRiksdagenPolitician)
Page completed.
|
createPageVisitHistory, createPanelContent, getApplicationManager, getFormFactory, getGridFactory, getMenuItemFactory, getPageActionEventHelper, getPageId, getPageLinkFactory, getPageNrpublic static final String NAME
public PoliticianBallotDecisionSummaryPageModContentFactoryImpl()
public boolean matches(String page, String parameters)
PageModeContentFactorypage - the pageparameters - the parameters@Secured(value={"ROLE_ANONYMOUS","ROLE_USER","ROLE_ADMIN"})
public com.vaadin.ui.Layout createContent(String parameters,
com.vaadin.ui.MenuBar menuBar,
com.vaadin.ui.Panel panel)
PageModeContentFactoryparameters - the parametersmenuBar - the menu barpanel - the panelprotected final String convertToYearsString(long totalDays)
totalDays - the total daysprotected final void pageCompleted(String parameters, com.vaadin.ui.Component panel, String pageId, com.hack23.cia.model.internal.application.data.politician.impl.ViewRiksdagenPolitician viewRiksdagenPolitician)
parameters - the parameterspanel - the panelpageId - the page idviewRiksdagenPolitician - the view riksdagen politicianprotected final PoliticianMenuItemFactory getPoliticianMenuItemFactory()
Copyright © 2008–2017 www.hack23.com. All rights reserved.