public class HanseaticHistoryScene extends BaseStartupScene
| Modifier and Type | Class and Description |
|---|---|
private class |
HanseaticHistoryScene.BackToStartupScene
EvenHandler to get back to the startup screen.
|
BaseStartupScene.LabelHoverChangeListener| Modifier and Type | Field and Description |
|---|---|
private static int |
FONT_SIZE |
private IFontLoader |
fontLoader |
private javafx.scene.Group |
labelShapes |
private ch.sahits.game.openpatrician.util.l10n.Locale |
locale |
private org.apache.logging.log4j.Logger |
logger |
private org.springframework.context.MessageSource |
messageSource |
private javafx.scene.Group |
paginationGroup |
private IPolygonLoader |
polygonLoader |
private org.springframework.context.MessageSource |
resources |
private ch.sahits.game.openpatrician.util.TextParser |
textParser |
private UIFactory |
uiFactory |
imgHeigth, imgWidth, paperScroll, untransformedHeight, untransformedWidth| Constructor and Description |
|---|
HanseaticHistoryScene() |
| Modifier and Type | Method and Description |
|---|---|
private javafx.scene.shape.Polygon |
createPolygonShape(String polygonName)
Create the polygon using the polygon loader.
|
private ch.sahits.game.openpatrician.util.model.Text |
getHistoryText()
Retrieve the history text.
|
protected String |
getStyleSheetFilename()
Define the stylesheet name to be applied for this scene.
|
void |
heightChange(double oldHeight,
double newHeigth) |
private void |
setUpScene() |
void |
widthChange(double oldWidth,
double newWidth) |
changeScene, createBaseSceneLayout, createPerspectiveTransform, getSceneChangeable, setSceneChangeablegetRootprivate final org.apache.logging.log4j.Logger logger
private static final int FONT_SIZE
@Autowired private ch.sahits.game.openpatrician.util.l10n.Locale locale
@Autowired private org.springframework.context.MessageSource messageSource
@Autowired @Qualifier(value="resourceReference") private org.springframework.context.MessageSource resources
@Autowired private UIFactory uiFactory
@Autowired private ch.sahits.game.openpatrician.util.TextParser textParser
@Autowired private IPolygonLoader polygonLoader
@Autowired private IFontLoader fontLoader
private javafx.scene.Group labelShapes
private javafx.scene.Group paginationGroup
protected String getStyleSheetFilename()
BaseStartupScenegetStyleSheetFilename in class BaseStartupScene@PostConstruct private final void setUpScene()
private javafx.scene.shape.Polygon createPolygonShape(String polygonName)
polygonName - name of the polygonprivate ch.sahits.game.openpatrician.util.model.Text getHistoryText()
public void heightChange(double oldHeight,
double newHeigth)
heightChange in class OpenPatricianScenepublic void widthChange(double oldWidth,
double newWidth)
widthChange in class OpenPatricianSceneCopyright © 2011-2017 Sahits GmbH. All Rights Reserved.