net.sf.freecol.client.gui.panel
Class LabourData

java.lang.Object
  extended by net.sf.freecol.client.gui.panel.LabourData

public class LabourData
extends java.lang.Object

holds labour statistics for the labour report


Nested Class Summary
static class LabourData.LocationData
           
static class LabourData.ProductionData
           
static class LabourData.UnitData
           
 
Constructor Summary
LabourData(FreeColClient client)
           
 
Method Summary
static java.util.List<UnitType> getLabourTypes(Player player)
           
 LabourData.UnitData getSummary()
           
 LabourData.UnitData getUnitData(UnitType unitType)
          get profession data (create on demand)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabourData

public LabourData(FreeColClient client)
Method Detail

getLabourTypes

public static java.util.List<UnitType> getLabourTypes(Player player)

getUnitData

public LabourData.UnitData getUnitData(UnitType unitType)
get profession data (create on demand)

Parameters:
unitType - goods unitType
Returns:
profession data

getSummary

public LabourData.UnitData getSummary()