Class ViewChangeActionRunnable

  • All Implemented Interfaces:
    java.lang.Runnable
    Direct Known Subclasses:
    TavernDialogTalkToSideroomPersonAction

    class ViewChangeActionRunnable
    extends java.lang.Object
    implements java.lang.Runnable
    Runnable implementation of a view change action, that can be used in a JavaFX event handler. Handling the clicks on the notice for the market booth.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2014 Created on Feb 17, 2014
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private com.google.common.eventbus.AsyncEventBus clientEventBus  
      private EDialogType selected
      Indicate the item that is selected
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

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

      • clientEventBus

        @Autowired
        @Qualifier("clientEventBus")
        private com.google.common.eventbus.AsyncEventBus clientEventBus
      • selected

        private final EDialogType selected
        Indicate the item that is selected
    • Constructor Detail

      • ViewChangeActionRunnable

        public ViewChangeActionRunnable​(EDialogType selected)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable