Class SellJFXProxyAction
- java.lang.Object
-
- ch.sahits.game.openpatrician.display.javafx.action.SellJFXProxyAction
-
- All Implemented Interfaces:
java.lang.Runnable
public class SellJFXProxyAction extends java.lang.Object implements java.lang.Runnable
This proxy handles the execution of the sell action based on the current type of the dialog.- Author:
- Andi Hotz, (c) Sahits GmbH, 2011 Created on Dec 18, 2011
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<EDialogType,java.lang.Runnable>
actionMap
private ITransferableJFX
dialog
-
Constructor Summary
Constructors Constructor Description SellJFXProxyAction(IWare ware, ITransferableJFX dialog, UserActions actionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Delegate to the run method of the action associated with the dialog type
-
-
-
Field Detail
-
dialog
private final ITransferableJFX dialog
-
actionMap
private final java.util.HashMap<EDialogType,java.lang.Runnable> actionMap
-
-
Constructor Detail
-
SellJFXProxyAction
public SellJFXProxyAction(IWare ware, ITransferableJFX dialog, UserActions actionFactory)
-
-