net.sf.freecol.client.gui.panel
Class LabourData.LocationData
java.lang.Object
net.sf.freecol.client.gui.panel.LabourData.LocationData
- Enclosing class:
- LabourData
public static class LabourData.LocationData
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabourData.LocationData
public LabourData.LocationData(LabourData.UnitData unitData)
LabourData.LocationData
public LabourData.LocationData(LabourData.UnitData unitData,
boolean total)
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()