Class UICommonConfiguration


  • @Configuration
    @Import({ch.sahits.game.graphic.image.ImageConfiguration.class,ch.sahits.game.openpatrician.sound.SoundConfiguration.class,ch.sahits.game.openpatrician.utilities.plugin.PluginConfiguration.class})
    @ComponentScan(basePackageClasses={UICommonConfiguration.class,ch.sahits.game.graphic.loaders.IImageLoaderComponents.class,ch.sahits.game.openpatrician.javafx.model.IOpenPatricianJAvaFXModelComponents.class,ch.sahits.game.openpatrician.javafx.service.IOpenPatricianJavaFXServiceComponents.class,IOpenPatricianDisplayEventHandlerComponents.class,IOpenPatricianDisplayTaskComponents.class,ch.sahits.game.openpatrician.javafx.service.IOpenPatricianJavaFXServiceComponents.class})
    public class UICommonConfiguration
    extends java.lang.Object
    Author:
    Andi Hotz, (c) Sahits GmbH, 2014 Created on Nov 29, 2014
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ch.sahits.game.openpatrician.javafx.control.CheatMenu cheatMenu​(ch.sahits.game.openpatrician.model.cheat.ICheatCommand command, javafx.beans.property.ReadOnlyDoubleProperty parentWidth)  
      ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX cityPlayerProxy​(ch.sahits.game.openpatrician.model.city.ICity city, ch.sahits.game.openpatrician.model.IHumanPlayer player, ch.sahits.game.openpatrician.model.ship.IShip ship)  
      ch.sahits.game.openpatrician.utilities.PausableAsyncEventBus clientEventBus()  
      java.util.concurrent.ExecutorService clientThreadPool()  
      ch.sahits.game.openpatrician.javafx.service.DecoratedTextFactory decoratedDialogTextFactory()  
      org.springframework.oxm.jaxb.Jaxb2Marshaller jaxb2MarshallerImage()  
      org.springframework.oxm.jaxb.Jaxb2Marshaller jaxb2MarshallerPolygon()  
      org.springframework.context.support.ReloadableResourceBundleMessageSource resourceReference()  
      ch.sahits.game.openpatrician.clientserverinterface.event.SubscriptionLoggingExceptionHandler subscriptionExceptionClientHandler()  
      ch.sahits.game.openpatrician.javafx.control.TextSizingUtility textSizingUtility()  
      UIFactory uiFactory()  
      java.util.concurrent.ScheduledExecutorService uiTimer()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UICommonConfiguration

        public UICommonConfiguration()
    • Method Detail

      • decoratedDialogTextFactory

        @Bean
        public ch.sahits.game.openpatrician.javafx.service.DecoratedTextFactory decoratedDialogTextFactory()
      • jaxb2MarshallerImage

        @Bean
        public org.springframework.oxm.jaxb.Jaxb2Marshaller jaxb2MarshallerImage()
      • jaxb2MarshallerPolygon

        @Bean
        public org.springframework.oxm.jaxb.Jaxb2Marshaller jaxb2MarshallerPolygon()
      • clientThreadPool

        @Bean
        public java.util.concurrent.ExecutorService clientThreadPool()
      • subscriptionExceptionClientHandler

        @Bean
        public ch.sahits.game.openpatrician.clientserverinterface.event.SubscriptionLoggingExceptionHandler subscriptionExceptionClientHandler()
      • clientEventBus

        @Bean
        public ch.sahits.game.openpatrician.utilities.PausableAsyncEventBus clientEventBus()
      • resourceReference

        @Bean
        public org.springframework.context.support.ReloadableResourceBundleMessageSource resourceReference()
      • uiFactory

        @Bean
        public UIFactory uiFactory()
      • uiTimer

        @Bean
        public java.util.concurrent.ScheduledExecutorService uiTimer()
      • textSizingUtility

        @Bean
        @Lazy
        public ch.sahits.game.openpatrician.javafx.control.TextSizingUtility textSizingUtility()
      • cityPlayerProxy

        @Bean
        @Scope("prototype")
        public ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX cityPlayerProxy​(ch.sahits.game.openpatrician.model.city.ICity city,
                                                                                                             ch.sahits.game.openpatrician.model.IHumanPlayer player,
                                                                                                             ch.sahits.game.openpatrician.model.ship.IShip ship)
      • cheatMenu

        @Bean
        @Scope("prototype")
        public ch.sahits.game.openpatrician.javafx.control.CheatMenu cheatMenu​(ch.sahits.game.openpatrician.model.cheat.ICheatCommand command,
                                                                               javafx.beans.property.ReadOnlyDoubleProperty parentWidth)