ch.sahits.game.graphic.display.notice
Class TradeDialogMetaData

java.lang.Object
  extended by ch.sahits.game.graphic.display.notice.CityNoticeMetaData
      extended by ch.sahits.game.graphic.display.notice.TradeDialogMetaData
All Implemented Interfaces:
ICityNoticeMetaData, INoticeMetaData

 class TradeDialogMetaData
extends CityNoticeMetaData

Represent the meta data for the notice corresponding to the trade dialog.

Author:
Andi Hotz, (c) Sahits GmbH, 2011 Created on Dec 21, 2011

Field Summary
(package private)  EStringSelectionState city2office
          State of the String linking to the trade dialog city<->office
(package private)  EStringSelectionState city2ship
          State of the string linking to the trade dialog city<->ship
(package private)  EStringSelectionState office2ship
          State of the string linking to the trade dialog office<->ship
(package private)  EStringSelectionState weapons
          State of the String linking to the weapons trade dialog
 
Constructor Summary
TradeDialogMetaData(EStringSelectionState city2ship, EStringSelectionState office2ship, EStringSelectionState city2office, EStringSelectionState weapons, ICityPlayerProxy proxy)
           
 
Method Summary
 void inactivateAllNotDisabled()
          Set all states to inactivate if they are not disabled to begin with
 String toString()
           
 
Methods inherited from class ch.sahits.game.graphic.display.notice.CityNoticeMetaData
getCityProxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

city2ship

EStringSelectionState city2ship
State of the string linking to the trade dialog city<->ship


office2ship

EStringSelectionState office2ship
State of the string linking to the trade dialog office<->ship


city2office

EStringSelectionState city2office
State of the String linking to the trade dialog city<->office


weapons

EStringSelectionState weapons
State of the String linking to the weapons trade dialog

Constructor Detail

TradeDialogMetaData

public TradeDialogMetaData(EStringSelectionState city2ship,
                           EStringSelectionState office2ship,
                           EStringSelectionState city2office,
                           EStringSelectionState weapons,
                           ICityPlayerProxy proxy)
Method Detail

inactivateAllNotDisabled

public void inactivateAllNotDisabled()
Set all states to inactivate if they are not disabled to begin with


toString

public String toString()
Overrides:
toString in class Object


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