Class HanseaticHistoryScene


  • public class HanseaticHistoryScene
    extends BaseStartupScene
    Scene displaying the hanseatic history.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2013 Created on Aug 10, 2013
    • Field Detail

      • locale

        @Autowired
        private Locale locale
      • messageSource

        @Autowired
        private org.springframework.context.MessageSource messageSource
      • resources

        @Autowired
        @Qualifier("resourceReference")
        private org.springframework.context.MessageSource resources
      • uiFactory

        @Autowired
        private UIFactory uiFactory
      • textParser

        @Autowired
        private TextParser textParser
      • fontLoader

        @Autowired
        private IFontLoader fontLoader
      • labelShapes

        private javafx.scene.Group labelShapes
      • paginationGroup

        private javafx.scene.Group paginationGroup
    • Constructor Detail

      • HanseaticHistoryScene

        public HanseaticHistoryScene()
    • Method Detail

      • getStyleSheetFilename

        protected java.lang.String getStyleSheetFilename()
        Description copied from class: BaseStartupScene
        Define the stylesheet name to be applied for this scene.
        Specified by:
        getStyleSheetFilename in class BaseStartupScene
        Returns:
        file name for the style sheet.
      • setUpScene

        @PostConstruct
        private final void setUpScene()
      • createPolygonShape

        private javafx.scene.shape.Polygon createPolygonShape​(java.lang.String polygonName)
        Create the polygon using the polygon loader.
        Parameters:
        polygonName - name of the polygon
        Returns:
        Polygon definition
      • getHistoryText

        private Text getHistoryText()
        Retrieve the history text.
        Returns:
        Text component for the localized history text.
      • heightChange

        public void heightChange​(double oldHeight,
                                 double newHeigth)
        Description copied from class: OpenPatricianScene
        Method that is called when the height of the scene changes. Subclasses that need to be aware of size changes should override this method.
        Overrides:
        heightChange in class OpenPatricianScene
        Parameters:
        oldHeight - old height of the scene
        newHeigth - new height of the scene
      • widthChange

        public void widthChange​(double oldWidth,
                                double newWidth)
        Description copied from class: OpenPatricianScene
        Method that is called when the width of the scene changes. Subclasses that need to be aware of size changes should override this method.
        Overrides:
        widthChange in class OpenPatricianScene
        Parameters:
        oldWidth - old width of the scene
        newWidth - new width of the scene