Uses of Class
net.sf.freecol.common.model.Settlement

Packages that use Settlement
net.sf.freecol.client.gui Contains the GUI classes. 
net.sf.freecol.client.gui.panel Contains the panels and dialogs. 
net.sf.freecol.common.model Contains the game model. 
net.sf.freecol.common.networking Contains the common networking classes. 
net.sf.freecol.server The main package of the server package tree. 
net.sf.freecol.server.ai The main package of the ai package tree. 
net.sf.freecol.server.ai.mission Contains the missions an AIUnit can be assigned to. 
net.sf.freecol.server.control Contains the classes responsible for the control of the game. 
net.sf.freecol.server.model Contains model classes with server specific information. 
 

Uses of Settlement in net.sf.freecol.client.gui
 

Methods in net.sf.freecol.client.gui with parameters of type Settlement
 java.awt.Image ImageLibrary.getSettlementImage(Settlement settlement)
          Returns the graphics that will represent the given settlement.
 Canvas.TradeAction Canvas.showIndianSettlementTradeDialog(Settlement settlement, boolean showBuy, boolean showSell, boolean showGift)
          Displays the panel for trading with an IndianSettlement.
 DiplomaticTrade Canvas.showNegotiationDialog(Unit unit, Settlement settlement, DiplomaticTrade agreement)
          Displays the NegotiationDialog.
 

Uses of Settlement in net.sf.freecol.client.gui.panel
 

Constructors in net.sf.freecol.client.gui.panel with parameters of type Settlement
NegotiationDialog(Canvas parent, Unit unit, Settlement settlement)
          Creates a new NegotiationDialog instance.
NegotiationDialog(Canvas parent, Unit unit, Settlement settlement, DiplomaticTrade agreement)
          Creates a new NegotiationDialog instance.
PreCombatDialog(Unit attacker, Unit defender, Settlement settlement, Canvas parent)
           
 

Uses of Settlement in net.sf.freecol.common.model
 

Subclasses of Settlement in net.sf.freecol.common.model
 class Colony
          Represents a colony.
 class IndianSettlement
          Represents an Indian settlement.
 

Methods in net.sf.freecol.common.model that return Settlement
 Settlement Tile.getOwningSettlement()
          Gets the owner of this tile.
 Settlement Tile.getSettlement()
          Gets the Settlement located on this Tile.
 Settlement GoodsTradeItem.getSettlement()
          Get the Settlement value.
 Settlement Player.getSettlement(java.lang.String name)
          Find a Settlement by name.
 Settlement Game.getSettlement(java.lang.String name)
          Returns the first Settlement with the given name.
 

Methods in net.sf.freecol.common.model that return types with arguments of type Settlement
 java.util.List<Settlement> Player.getSettlements()
          Returns a list of all Settlements this player owns.
 

Methods in net.sf.freecol.common.model with parameters of type Settlement
 void Player.addSettlement(Settlement s)
          Adds the given Settlement to this Player's list of settlements.
 boolean Unit.canTradeWith(Settlement settlement)
          Returns true if this unit can enter a settlement in order to trade.
 void Tile.expendResource(GoodsType goodsType, UnitType unitType, Settlement settlement)
          This method is called only when a new turn is beginning.
 boolean Player.hasSettlement(Settlement s)
          Checks if this player owns the given Settlement.
 void Player.removeSettlement(Settlement s)
          Removes the given Settlement from this Player's list of settlements.
 void Tile.setOwningSettlement(Settlement owner)
          Sets the owner of this tile.
 void Tile.setSettlement(Settlement s)
          Puts a Settlement on this Tile.
 void GoodsTradeItem.setSettlement(Settlement newSettlement)
          Set the Settlement value.
 

Constructors in net.sf.freecol.common.model with parameters of type Settlement
GoodsTradeItem(Game game, Player source, Player destination, Goods goods, Settlement settlement)
          Creates a new GoodsTradeItem instance.
 

Uses of Settlement in net.sf.freecol.common.networking
 

Methods in net.sf.freecol.common.networking that return Settlement
 Settlement DiplomacyMessage.getSettlement()
          Get the Settlement at which a diplomatic exchange happens.
 Settlement DeliverGiftMessage.getSettlement()
          Get the Settlement which is receiving the gift.
 

Constructors in net.sf.freecol.common.networking with parameters of type Settlement
BuyMessage(Unit unit, Settlement settlement, Goods goods, int gold)
          Create a new BuyMessage.
BuyPropositionMessage(Unit unit, Settlement settlement, Goods goods, int gold)
          Create a new BuyPropositionMessage.
ClaimLandMessage(Tile tile, Settlement settlement, int price)
          Create a new ClaimLandMessage.
CloseTransactionMessage(Unit unit, Settlement settlement)
          Create a new CloseTransactionMessage with the supplied unit and settlement.
DeliverGiftMessage(Unit unit, Settlement settlement, Goods goods)
          Create a new DeliverGiftMessage.
GetTransactionMessage(Unit unit, Settlement settlement)
          Create a new GetTransactionMessage with the supplied unit and settlement.
GoodsForSaleMessage(Unit unit, Settlement settlement)
          Create a new GoodsForSaleMessage with the supplied name.
SellMessage(Unit unit, Settlement settlement, Goods goods, int gold)
          Create a new SellMessage.
SellPropositionMessage(Unit unit, Settlement settlement, Goods goods, int gold)
          Create a new SellPropositionMessage.
 

Uses of Settlement in net.sf.freecol.server
 

Methods in net.sf.freecol.server that return Settlement
 Settlement FreeColServer.getAdjacentSettlementSafely(java.lang.String settlementId, Unit unit)
          Get a settlement by ID, validating the ID as much as possible.
 

Uses of Settlement in net.sf.freecol.server.ai
 

Methods in net.sf.freecol.server.ai with parameters of type Settlement
 int StandardAIPlayer.tradeProposition(Unit unit, Settlement settlement, Goods goods, int gold)
          Called when another Player proposes a trade.
 int IndianAIPlayer.tradeProposition(Unit unit, Settlement settlement, Goods goods, int gold)
          Deprecated. Called when another Player proposes a trade.
 int EuropeanAIPlayer.tradeProposition(Unit unit, Settlement settlement, Goods goods, int gold)
          Deprecated. Called when another Player proposes a trade.
 int ColonialAIPlayer.tradeProposition(Unit unit, Settlement settlement, Goods goods, int gold)
          Called when another Player proposes a trade.
abstract  int AIPlayer.tradeProposition(Unit unit, Settlement settlement, Goods goods, int gold)
          Called when another Player proposes a trade.
 

Uses of Settlement in net.sf.freecol.server.ai.mission
 

Methods in net.sf.freecol.server.ai.mission that return Settlement
 Settlement DefendSettlementMission.getSettlement()
          Gets the settlement.
 

Constructors in net.sf.freecol.server.ai.mission with parameters of type Settlement
DefendSettlementMission(AIMain aiMain, AIUnit aiUnit, Settlement settlement)
          Creates a mission for the given AIUnit.
 

Uses of Settlement in net.sf.freecol.server.control
 

Methods in net.sf.freecol.server.control with parameters of type Settlement
 void InGameController.closeTransactionSession(Unit unit, Settlement settlement)
           
 java.util.Map<java.lang.String,java.lang.Object> InGameController.getTransactionSession(Unit unit, Settlement settlement)
           
 boolean InGameController.isTransactionSessionOpen(Unit unit, Settlement settlement)
           
 

Uses of Settlement in net.sf.freecol.server.model
 

Methods in net.sf.freecol.server.model with parameters of type Settlement
 void ServerPlayer.claimLand(Tile tile, Settlement settlement, int price)
          Claim the given land.