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

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

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


Nested Class Summary
static interface LabourData.LocationData.Getter
           
 
Constructor Summary
LabourData.LocationData(LabourData.UnitData unitData)
           
LabourData.LocationData(LabourData.UnitData unitData, boolean total)
           
 
Method Summary
 void addOtherStudent(java.lang.String name)
           
 int getNetProduction()
           
 int getNotWorking()
           
 int getOtherStudents()
           
 java.lang.String getOtherStudentsName()
           
 LabourData.ProductionData getOtherWorkingAmateurs()
           
 int getRowCount()
          in the summary for all unit types, some rows are skipped
 int getStudents()
           
 int getTeachers()
           
 int getTotalColonists()
           
 int getTotalProduction()
           
 LabourData.UnitData getUnitData()
           
 int getWorkingAmateurs()
           
 LabourData.ProductionData getWorkingProfessionals()
           
 boolean isTotal()
           
 boolean isTraining()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabourData.LocationData

public LabourData.LocationData(LabourData.UnitData unitData)

LabourData.LocationData

public LabourData.LocationData(LabourData.UnitData unitData,
                               boolean total)
Method Detail

getOtherStudents

public int getOtherStudents()

getOtherStudentsName

public java.lang.String getOtherStudentsName()

addOtherStudent

public void addOtherStudent(java.lang.String name)

getWorkingProfessionals

public LabourData.ProductionData getWorkingProfessionals()

getOtherWorkingAmateurs

public LabourData.ProductionData getOtherWorkingAmateurs()

getNetProduction

public int getNetProduction()

getTotalColonists

public int getTotalColonists()

getTotalProduction

public int getTotalProduction()

getRowCount

public int getRowCount()
in the summary for all unit types, some rows are skipped

Returns:
the rows to display the unit data

isTraining

public boolean isTraining()

getWorkingAmateurs

public int getWorkingAmateurs()

getTeachers

public int getTeachers()

getStudents

public int getStudents()

getNotWorking

public int getNotWorking()

getUnitData

public LabourData.UnitData getUnitData()

isTotal

public boolean isTotal()