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

java.lang.Object
  extended by net.sf.freecol.client.gui.panel.LabourData.UnitData
Enclosing class:
LabourData

public static class LabourData.UnitData
extends java.lang.Object


Field Summary
private  java.util.Map<Colony,LabourData.LocationData> details
          Map[Colony, colony details]]
private  boolean summary
           
private  LabourData.LocationData total
           
private  LabourData.LocationData unitsAtSea
           
private  LabourData.LocationData unitsInEurope
           
private  LabourData.LocationData unitsOnLand
           
private  UnitType unitType
           
 
Constructor Summary
LabourData.UnitData(UnitType unitType)
           
 
Method Summary
 java.util.Map<Colony,LabourData.LocationData> getDetails()
           
 GoodsType getExpertProduction()
           
private  LabourData.LocationData getLocationData(Colony colony)
          get labour data (create on demand)
 LabourData.LocationData getTotal()
           
 java.lang.String getUnitName()
           
 LabourData.LocationData getUnitsAtSea()
           
 LabourData.LocationData getUnitsInEurope()
           
 LabourData.LocationData getUnitsOnLand()
           
 int getUnitSummaryRowCount()
           
 UnitType getUnitType()
           
 boolean hasDetails()
           
 boolean isSummary()
           
 boolean showNetProduction()
           
 boolean showProduction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unitType

private UnitType unitType

summary

private boolean summary

details

private java.util.Map<Colony,LabourData.LocationData> details
Map[Colony, colony details]]


total

private LabourData.LocationData total

unitsAtSea

private LabourData.LocationData unitsAtSea

unitsOnLand

private LabourData.LocationData unitsOnLand

unitsInEurope

private LabourData.LocationData unitsInEurope
Constructor Detail

LabourData.UnitData

public LabourData.UnitData(UnitType unitType)
Method Detail

getLocationData

private LabourData.LocationData getLocationData(Colony colony)
get labour data (create on demand)

Parameters:
colony -
Returns:
labour data

getUnitName

public java.lang.String getUnitName()

hasDetails

public boolean hasDetails()

getUnitSummaryRowCount

public int getUnitSummaryRowCount()

getUnitType

public UnitType getUnitType()

getTotal

public LabourData.LocationData getTotal()

getUnitsAtSea

public LabourData.LocationData getUnitsAtSea()

getUnitsOnLand

public LabourData.LocationData getUnitsOnLand()

getUnitsInEurope

public LabourData.LocationData getUnitsInEurope()

getDetails

public java.util.Map<Colony,LabourData.LocationData> getDetails()

isSummary

public boolean isSummary()

showProduction

public boolean showProduction()

showNetProduction

public boolean showNetProduction()

getExpertProduction

public GoodsType getExpertProduction()