ch.sahits.game.graphic.display.dialog
Class SellProxyAction

java.lang.Object
  extended by ch.sahits.game.graphic.display.dialog.SellProxyAction
All Implemented Interfaces:
Runnable

 class SellProxyAction
extends Object
implements 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
private  HashMap<ETransferDialogType,Runnable> actionMap
           
private  ITransferable dialog
           
private static org.apache.log4j.Logger logger
           
 
Constructor Summary
SellProxyAction(IWare ware, ITransferable dialog)
           
 
Method Summary
 void run()
          Delegate to the run method of the action associated with the dialog type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final org.apache.log4j.Logger logger

dialog

private final ITransferable dialog

actionMap

private final HashMap<ETransferDialogType,Runnable> actionMap
Constructor Detail

SellProxyAction

public SellProxyAction(IWare ware,
                       ITransferable dialog)
Method Detail

run

public void run()
Delegate to the run method of the action associated with the dialog type

Specified by:
run in interface Runnable


Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.