A B C D E F G H I L M N O P R S T U V W X Y

A

AbstractEditableSahitsComponent<T> - Class in ch.sahits.game.graphic.layout
Component that can hold a single value that can be edited.
AbstractEditableSahitsComponent() - Constructor for class ch.sahits.game.graphic.layout.AbstractEditableSahitsComponent
 
AbstractMultiselectableComponent<T> - Class in ch.sahits.game.graphic.layout
 
AbstractMultiselectableComponent() - Constructor for class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
AbstractSahitsComponent - Class in ch.sahits.game.graphic.layout
 
AbstractSahitsComponent() - Constructor for class ch.sahits.game.graphic.layout.AbstractSahitsComponent
 
AbstractSceneHandler - Class in ch.sahits.game.graphic.display.gameplay.internal
This abstract class provides base functionallyty for loading and initializing a scene as well as doing stuff on that scene
AbstractSceneHandler(Rectangle, IDataImageLoader, DisplayImageDIResolver, String) - Constructor for class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
 
AbstractSelectableComponent - Class in ch.sahits.game.graphic.layout
 
AbstractSelectableComponent(FontMetrics) - Constructor for class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
action - Variable in class ch.sahits.game.graphic.display.util.ClickablePolygon
 
action - Variable in class ch.sahits.game.graphic.layout.Button
 
actionMap - Variable in class ch.sahits.game.graphic.display.dialog.BuyProxyAction
 
actionMap - Variable in class ch.sahits.game.graphic.display.dialog.SellProxyAction
 
activateShip(IShip) - Method in class ch.sahits.game.graphic.display.model.CityPlayerProxy
Activate a ship.
activeShip - Variable in class ch.sahits.game.graphic.display.model.CityPlayerProxy
Reference the active ship of the player
add(ISahitsComponent, ISahitsLayoutConstraint) - Method in interface ch.sahits.game.graphic.display.ISahitsContainer
Add a component to the container with a specific constraint
add(ISahitsComponent, ISahitsLayoutConstraint) - Method in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
add(NamedPolygon, Runnable) - Method in class ch.sahits.game.graphic.display.util.ClickablePolygons
Add a new polygon to the list
add(T) - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
add(AbstractSelectableComponent) - Method in class ch.sahits.game.graphic.layout.SelectableGroup
Add a new selectable to the group
addButton(String) - Method in class ch.sahits.game.graphic.display.start.NewGameView
Create a button with the text label.
addChangeListeners(IIndexChangeListener) - Method in class ch.sahits.game.graphic.layout.Slider
 
addCompetitor(IPlayer) - Method in class ch.sahits.game.Client
 
addInput(String) - Method in class ch.sahits.game.graphic.display.start.NewGameView
Create a TextInput field with an optional preset text
addLabel(String) - Method in class ch.sahits.game.graphic.display.start.NewGameView
Creating a label.
addLayoutComponent(ISahitsComponent, ISahitsLayoutConstraint) - Method in interface ch.sahits.game.graphic.display.ISahitsLayoutManager
Add a component with a constraint.
addLayoutComponent(String, Component) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Has no effect, since this layout manager does not use a per-component string.
addLayoutComponent(Component, Object) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Adding a component with a MaximalGridLayoutConstraints
addLayoutComponent(ISahitsComponent, ISahitsLayoutConstraint) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Adding a ISahitsComponent with a MaximalGridLayoutConstraints
addOffsetPolygon(Rectangle, GlyphVector, int, int, String, Runnable) - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Add a named polygon to the offset polygon list.
addRadioButton(String, boolean, SelectableGroup) - Method in class ch.sahits.game.graphic.display.start.NewGameView
Add a RadioButton to the view.
addSlider(List<String>) - Method in class ch.sahits.game.graphic.display.start.NewGameView
Add a slider control to the component.
addSpinner(List<String>) - Method in class ch.sahits.game.graphic.display.start.NewGameView
Add a spinner control to the component.
addUpColumnWidth(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Adding up the column width of a container.
addUpColumnWidth(ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Adding up the column width of a ISahitsContainer.
addUpRowHeight(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Adding up the row height of a container.
addUpRowHeight(ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Adding up the row height of a ISahitsContainer.
anchor - Variable in class ch.sahits.game.graphic.layout.MaximalGridLayoutConstraints
 
area - Variable in class ch.sahits.game.graphic.display.util.ClickablePolygons
 
arrive(IShip) - Method in class ch.sahits.game.graphic.display.model.CityPlayerProxy
A ship arrives in the city

B

background - Variable in class ch.sahits.game.graphic.display.MainGameView
Cached background image
balance - Variable in class ch.sahits.game.graphic.display.notice.TradingOfficeDialogMataData
State of the string linking to the balance sheet
BORDER_SPACING - Static variable in class ch.sahits.game.graphic.display.MainGameView
Width/height of the border
bounds - Variable in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
Top left corner of the frame
bounds - Variable in class ch.sahits.game.graphic.layout.AbstractSahitsComponent
 
Button - Class in ch.sahits.game.graphic.layout
 
Button(FontMetrics) - Constructor for class ch.sahits.game.graphic.layout.Button
 
BuyProxyAction - Class in ch.sahits.game.graphic.display.dialog
This proxy handles the execution of the buy action based on the current type of the dialog.
BuyProxyAction(IWare, ITransferable) - Constructor for class ch.sahits.game.graphic.display.dialog.BuyProxyAction
 

C

cache - Static variable in class ch.sahits.game.graphic.display.gameplay.internal.SceneHandlerFactory
Cache for the scene loaders
calcSizes() - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
Compute the size of the drawable rectangle with respect to the frame.
canDelegateToSceneHandler(Event, Object) - Method in class ch.sahits.game.graphic.display.gameplay.MainView
Check if the event can be delegated to the scene handler.
cash - Variable in class ch.sahits.game.graphic.display.gameplay.GameStatus
 
castValue() - Method in class ch.sahits.game.graphic.layout.Slider
Cast the selected index into a percentage
castValue(double) - Method in class ch.sahits.game.graphic.layout.Slider
Cast the value into a persentage
ch.sahits.game - package ch.sahits.game
 
ch.sahits.game.graphic.display - package ch.sahits.game.graphic.display
 
ch.sahits.game.graphic.display.dialog - package ch.sahits.game.graphic.display.dialog
Dialog package
ch.sahits.game.graphic.display.gameplay - package ch.sahits.game.graphic.display.gameplay
 
ch.sahits.game.graphic.display.gameplay.internal - package ch.sahits.game.graphic.display.gameplay.internal
ch.sahits.game.graphic.display.gameplay.internal
ch.sahits.game.graphic.display.model - package ch.sahits.game.graphic.display.model
 
ch.sahits.game.graphic.display.notice - package ch.sahits.game.graphic.display.notice
ch.sahits.game.graphic.display.notice Package
ch.sahits.game.graphic.display.start - package ch.sahits.game.graphic.display.start
 
ch.sahits.game.graphic.display.util - package ch.sahits.game.graphic.display.util
 
ch.sahits.game.graphic.image - package ch.sahits.game.graphic.image
 
ch.sahits.game.graphic.layout - package ch.sahits.game.graphic.layout
 
changeIndex(int) - Method in interface ch.sahits.game.graphic.display.IIndexChangeListener
Change event of the index
changeListener - Variable in class ch.sahits.game.graphic.layout.Slider
 
checkHeight(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
check if the size of the children add up to more than the parents size
checkHeight(ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
check if the size of the children add up to more than the parents size
checkWidth(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
check if the size of the children add up to more than the parents size
checkWidth(ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
check if the size of the children add up to more than the parents size
city - Variable in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
Reference to the city view model
city - Variable in class ch.sahits.game.graphic.display.gameplay.MainView
Model of the city currently displayed.
city - Variable in class ch.sahits.game.graphic.display.model.CityPlayerProxy
 
city2office - Variable in class ch.sahits.game.graphic.display.notice.TradeDialogMetaData
State of the String linking to the trade dialog city<->office
city2ship - Variable in class ch.sahits.game.graphic.display.notice.TradeDialogMetaData
State of the string linking to the trade dialog city<->ship
City2ShipAction - Class in ch.sahits.game.graphic.display.dialog
Action of buying stuff from the city onto the ship
City2ShipAction(IWare, ITransferable) - Constructor for class ch.sahits.game.graphic.display.dialog.City2ShipAction
 
City2StorageAction - Class in ch.sahits.game.graphic.display.dialog
This action handles the buying of wares from the city and storing them in the storage
City2StorageAction(IWare, ITransferable) - Constructor for class ch.sahits.game.graphic.display.dialog.City2StorageAction
 
cityName - Variable in class ch.sahits.game.graphic.display.gameplay.ViewStatus
 
CityNoticeMetaData - Class in ch.sahits.game.graphic.display.notice
Base implementation of the ICityNoticeMetaData
CityNoticeMetaData(ICityPlayerProxy) - Constructor for class ch.sahits.game.graphic.display.notice.CityNoticeMetaData
 
CityPlayerProxy - Class in ch.sahits.game.graphic.display.model
The CityView is a view model of a city.
CityPlayerProxy(ICity, IPlayer) - Constructor for class ch.sahits.game.graphic.display.model.CityPlayerProxy
Constructor initializing the city and the player
CityPlayerProxy(ICity, IPlayer, IShip) - Constructor for class ch.sahits.game.graphic.display.model.CityPlayerProxy
Constructor initializing the city and the player with one ship in port.
ClickableOffsetPolygons - Class in ch.sahits.game.graphic.display.util
This specialisation of the ClickablePolygons class provides a test method for a given Y-Offset.
ClickableOffsetPolygons() - Constructor for class ch.sahits.game.graphic.display.util.ClickableOffsetPolygons
 
ClickablePolygon - Class in ch.sahits.game.graphic.display.util
 
ClickablePolygon(NamedPolygon, Runnable) - Constructor for class ch.sahits.game.graphic.display.util.ClickablePolygon
 
ClickablePolygons - Class in ch.sahits.game.graphic.display.util
This class represents an ordered list of poligons.
ClickablePolygons() - Constructor for class ch.sahits.game.graphic.display.util.ClickablePolygons
 
Client - Class in ch.sahits.game
Client representation of the game
Client(IPlayer) - Constructor for class ch.sahits.game.Client
 
client - Variable in class ch.sahits.game.graphic.display.gameplay.GameStatus
 
client - Variable in class ch.sahits.game.graphic.display.GameView
 
client - Variable in class ch.sahits.game.graphic.display.OpenPatricianFrame
Client data representation
closeWindow() - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
 
ColorProvider - Class in ch.sahits.game.graphic.display.notice
This utility class provides the color for Strings in different states as well as other colors used in the notice view.
ColorProvider() - Constructor for class ch.sahits.game.graphic.display.notice.ColorProvider
 
competitor - Variable in class ch.sahits.game.Client
 
components - Variable in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
compTable - Variable in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
compTable - Variable in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
 
computeCitizenConsumtion(DisplayImageDIResolver, ICity, EWare) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Compute the amount that all the citizens consume
computeColumnIndex(int) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Compute the column based on the index of the component
computeColumnIndex(int) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Compute the column based on the index of the ISahitsComponent
computeHeight(int, Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Compute the height of the highest component in the specified row.
computeHeight(int, ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Compute the height of the highest ISahitsComponent in the specified row.
computeHeightScale(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Compute the scale factor that is needed on the components to resize them to the heigth of the container
computeHeightScale(ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Compute the scale factor that is needed on the ISahitsComponents to resize them to the heigth of the ISahitsContainer
computeRowIndex(int) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Compute the row based on the index of the component
computeRowIndex(int) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Compute the row based on the index of the ISahitsComponent
computeWidth(int, Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Compute the width of the widest component in the specified column.
computeWidth(int, ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Compute the width of the widest ISahitsComponent in the specified column.
computeWidthScale(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Compute the scale factor that is needed on the components to resize them to the width of the container
computeWidthScale(ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Compute the scale factor that is needed on the ISahitsComponents to resize them to the width of the ISahitsContainer
computeXPadding(int, int, MaximalGridLayoutConstraints) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Compute the horizontal padding within a cell based upon the alignment of the component
computeXPadding(int, int, MaximalGridLayoutConstraints) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Compute the horizontal padding within a cell based upon the alignment of the ISahitsComponent
computeYPadding(int, int, MaximalGridLayoutConstraints) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Compute the vertical padding within a cell based upon the alignment of the component
computeYPadding(int, int, MaximalGridLayoutConstraints) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Compute the vertical padding within a cell based upon the alignment of the ISahitsComponent
consCiticens - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog.DialogPositions
 
consTotal - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog.DialogPositions
 
consumtionProduction - Variable in class ch.sahits.game.graphic.display.notice.MarketBoothDialogMetaData
State of the string linking to the stat displaying consumtion and production
consumtionProduction - Variable in class ch.sahits.game.graphic.display.notice.TradingOfficeDialogMataData
State of the string linking to the statistic displaying consumption and production
ConsumtionProductionStockDialog - Class in ch.sahits.game.graphic.display.dialog
This is a statistical dialog displaying the socked wares in the city and their prices.
ConsumtionProductionStockDialog(Point, double, CityPlayerProxy) - Constructor for class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
ConsumtionProductionStockDialog.DialogPositions - Class in ch.sahits.game.graphic.display.dialog
This class holds the positions where different elements are placed on the dialog.
ConsumtionProductionStockDialog.DialogPositions(double, int, int, int, int, int, int, int, int) - Constructor for class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog.DialogPositions
 
consWorkshops - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog.DialogPositions
 
contains(IWare[], IWare) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
check if the array contains the item
contains(String) - Method in class ch.sahits.game.graphic.display.start.StartupView
check if an image is already contained.
createBackground(DisplayImageDIResolver) - Method in class ch.sahits.game.graphic.display.MainGameView
Create the background image
createComponents() - Method in class ch.sahits.game.graphic.display.start.NewGameView
Create the form element to specify the start settings of the new game
createGameView() - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
 
createMarketBoothNotice(ViewChangeCityPlayerProxy) - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Initialize the full notice with the market boot notice
createNewView() - Method in class ch.sahits.game.graphic.display.GameView
 
createOrUpdateTradeNotice() - Method in class ch.sahits.game.graphic.display.notice.NoticeView
 
createOrUpdateTradingOfficeNotice() - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Create or update the trading office notice based on the meta data object
createStandaloneServer(OpenPatricianFrame) - Static method in class ch.sahits.game.OpenPatrician
Create the server instance for a standalone game.
createStartButtonClickAction() - Method in class ch.sahits.game.graphic.display.start.NewGameView
Action to be called when the start button is hit.
createStartupView() - Method in class ch.sahits.game.graphic.display.GameView
 
createTradeNotice(ICityPlayerProxy) - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Initialize the full notice with the trade notice
createTradingOfficeNotice(ViewChangeCityPlayerProxy) - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Initialize the full notice with the trading office
createVisualBounds(String) - Method in class ch.sahits.game.graphic.layout.AbstractSahitsComponent
Create the visual bounds for the string using the set font
creatOrUpdateMarketBoothNotice() - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Create or update the market booth notice based on the meta data object

D

date - Variable in class ch.sahits.game.graphic.display.gameplay.GameStatus
 
decSelection() - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
deepCopy(BufferedImage) - Static method in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
Create a copy of an image
dialog - Variable in class ch.sahits.game.graphic.display.dialog.BuyProxyAction
 
dialog - Variable in class ch.sahits.game.graphic.display.dialog.City2ShipAction
 
dialog - Variable in class ch.sahits.game.graphic.display.dialog.City2StorageAction
 
dialog - Variable in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog.CloseAction
 
dialog - Variable in class ch.sahits.game.graphic.display.dialog.SellProxyAction
 
dialog - Variable in class ch.sahits.game.graphic.display.dialog.Ship2CityAction
 
dialog - Variable in class ch.sahits.game.graphic.display.dialog.Ship2StorageAction
 
dialog - Variable in class ch.sahits.game.graphic.display.dialog.Storage2CityAction
 
dialog - Variable in class ch.sahits.game.graphic.display.dialog.Storage2ShipAction
 
dialog - Variable in class ch.sahits.game.graphic.display.gameplay.MainView
 
dialogType - Variable in class ch.sahits.game.graphic.display.notice.NoticeView.TradeDialogeChangeAction
dialog type to change into
difficulity - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
difficulty - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
displayConsumtionProductionDialog(CityPlayerProxy, IUpdatableDialog) - Method in class ch.sahits.game.graphic.display.gameplay.internal.MarketPlaceScenehandler
Display the consumption and production dialog
displayConsumtionProductionDialog(CityPlayerProxy, IUpdatableDialog) - Method in class ch.sahits.game.graphic.display.gameplay.internal.PortSceneHandler
Display the consumption and production dialog
DisplayImageDIResolver - Class in ch.sahits.game.graphic.image
 
DisplayImageDIResolver() - Constructor for class ch.sahits.game.graphic.image.DisplayImageDIResolver
Make the constructor portected to ensure it only can be called from super classes implementing the singleton pattern
displayTradingOfficeBalanceDialog(CityPlayerProxy, IUpdatableDialog) - Method in class ch.sahits.game.graphic.display.gameplay.internal.PortSceneHandler
Display the balance dialog for the trading office
displayTradingOfficePersonaldialog(CityPlayerProxy, IUpdatableDialog) - Method in class ch.sahits.game.graphic.display.gameplay.internal.PortSceneHandler
Display ther personal dialog for the trading office
displayTradingStockdialog(CityPlayerProxy, IUpdatableDialog) - Method in class ch.sahits.game.graphic.display.gameplay.internal.MarketPlaceScenehandler
Display the trading stock dialog
displayWareStorageDialog(CityPlayerProxy, IUpdatableDialog) - Method in class ch.sahits.game.graphic.display.gameplay.internal.PortSceneHandler
Display the ware storage dialog
displayWeaponStorageDialog(CityPlayerProxy, IUpdatableDialog) - Method in class ch.sahits.game.graphic.display.gameplay.internal.PortSceneHandler
Display the weapon storage dialog
downSpinner - Variable in class ch.sahits.game.graphic.layout.Spinner
 
drawAvailableAmount(Graphics2D, ICity, IWare, BufferedImage, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Draw the available amount (second column).
drawAvailableAmount(Graphics2D, ICity, ITradingOffice, IWare, BufferedImage, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
Draw the available amount (second column).
drawAvailableAmount(Graphics2D, ICity, IWare, BufferedImage, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
Draw the available amount (second column).
drawAVGPrice(Graphics2D, IWare, IShip, ITradingOffice, int) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
Draw the average price of the wares stored
drawBalanceRow(Graphics2D, int, int, int, int, String) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
drawBalanceRow(Graphics2D, BufferedImage, int, int, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Draw the balance line with the last weeks values and the forcast values
drawBalanceSum(Graphics2D, ITradingOffice, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Draw the balance line summing up
drawBuyFromCityPrice(Graphics2D, int, IWare, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
Draw the text on the wax seal corresponding to the buy button
drawBuyIconText(Graphics2D, int, IWare, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
Draw the text on the wax seal corresponding to the buy button
drawCarret - Variable in class ch.sahits.game.graphic.layout.TextInput
 
drawChandlerConsumption(Graphics2D, DisplayImageDIResolver, ICity, EWare, BufferedImage, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Draw the amount the workshops consume of a ware
drawChandlerProduction(Graphics2D, DisplayImageDIResolver, ICity, EWare, BufferedImage, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Draw the amount all the chandlers produce
drawCitizensConsumtion(Graphics2D, DisplayImageDIResolver, ICity, EWare, BufferedImage, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Draw the amount the citizens consume
drawCityProduction(Graphics2D, DisplayImageDIResolver, ICity, EWare, BufferedImage, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Draw the amount the city produces per week
drawNotice(Graphics) - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Draw the visible part of the notice image
drawOfficeTradeing(Graphics2D, ITradingOffice, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Draw the balance line for the office traiding
drawOtherCosts(Graphics2D, ITradingOffice, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Draw the balance line for other costs
drawPropertyTax(Graphics2D, ITradingOffice, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Draw the balance line for the property taxes
drawRentalIncome(Graphics2D, ITradingOffice, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Draw the balance line for the rental income
drawRow(Graphics2D, int, int, String) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Draw a text string at a defined position.
drawRow(Graphics2D, int, int, String) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
Draw a text string at a defined position.
drawRow(Graphics2D, int, int, String) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
Draw a text string at a defined position.
drawRow(Graphics2D, int, int, String) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
Draw a text string at a defined position.
drawScrollBar(Graphics) - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Draw the scrollbar only if needed
drawSellIconText(Graphics2D, int, IWare, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
Draw the text on the wax seal corresponding to the sell button
drawSellIconText(Graphics2D, int, IWare, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
Draw the text on the wax seal corresponding to the sell button
drawStewardCosts(Graphics2D, ITradingOffice, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Draw the balance line for the steward costs
drawStoredAmount(Graphics2D, IWare, IShip, ITradingOffice, int) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
Draw the stored amount (second last column).
drawSubTitle(Graphics2D, int, BufferedImage, int, ICity, IShip, ITradingOffice) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
Draw the sub title appropriate for the current dialog type onto the graphics context
drawTableHeader(Graphics2D, int) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Draw the table header
drawTableHeader(Graphics2D, int) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
Draw the table header
drawTableHeader(Graphics2D, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Draw the table header
drawTableHeader(Graphics2D, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
Draw the table header
drawTableHeader(Graphics2D, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
Draw the table header
drawTotalConsumtion(Graphics2D, DisplayImageDIResolver, ICity, EWare, BufferedImage, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Draw the total amount that is consumed of the ware
drawWageCosts(Graphics2D, ITradingOffice, BufferedImage, int) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Draw the balance line for the wage costs
drawWareAmount(Graphics2D, EWare, BufferedImage, BufferedImage, int, int, int) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Optionally draw the amoount of wares (if positive) together with the correct icon

E

ECellPosition - Enum in ch.sahits.game.graphic.layout
Enumeration of the positions an element can take inside a cell in a MaximalGridLayout.
ECellPosition(float, float) - Constructor for enum ch.sahits.game.graphic.layout.ECellPosition
Constructor converts the enumeration values into the values needed by the methods getLayoutAlignmentX and getLayoutAlignmentY of LayoutManager2
enabled - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
enabled - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
enabled - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
enabled - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
 
enabled - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
enabled - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
enabled - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
enabled - Variable in class ch.sahits.game.graphic.display.GameView
 
ENoticeItem - Enum in ch.sahits.game.graphic.display.notice
Enumeration of notice items that are not widely used outside this package.
ENoticeItem() - Constructor for enum ch.sahits.game.graphic.display.notice.ENoticeItem
 
EScene - Enum in ch.sahits.game.graphic.display.gameplay.internal
Enumeration oof the scenes, that can be displayed in the MainView
EScene() - Constructor for enum ch.sahits.game.graphic.display.gameplay.internal.EScene
 
EStringSelectionState - Enum in ch.sahits.game.graphic.display.notice
This enumaration defines the state in which a string can be displayed
EStringSelectionState() - Constructor for enum ch.sahits.game.graphic.display.notice.EStringSelectionState
 
ETransferAmount - Enum in ch.sahits.game.graphic.display.dialog
Enumeration over the transferable amount
ETransferAmount() - Constructor for enum ch.sahits.game.graphic.display.dialog.ETransferAmount
 
ETransferDialogType - Enum in ch.sahits.game.graphic.display.dialog
Indicating the type of the trading dialog type.
ETransferDialogType() - Constructor for enum ch.sahits.game.graphic.display.dialog.ETransferDialogType
 
execute() - Method in class ch.sahits.game.graphic.display.util.ClickablePolygon
Execute the action associated with the polygon

F

factory - Variable in class ch.sahits.game.graphic.image.DisplayImageDIResolver
 
female - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
fifthColumn - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog.DialogPositions
 
findPolygon(int, int) - Method in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
Find the polygon name that contains the coordinates.
findPolygon(int, int) - Method in class ch.sahits.game.graphic.display.start.StartupView
Find the polygon name that contains the coordinates.
findPolygon(Point) - Method in class ch.sahits.game.graphic.display.util.ClickablePolygons
Find the first polygon that has the point inside it.
firstColumn - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog.DialogPositions
 
firstNameLoader - Static variable in class ch.sahits.game.graphic.display.start.NewGameView
 
font - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
font - Variable in class ch.sahits.game.graphic.layout.AbstractEditableSahitsComponent
 
font - Variable in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
font - Variable in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
font - Variable in class ch.sahits.game.graphic.layout.Button
 
font - Variable in class ch.sahits.game.graphic.layout.Label
 
font18Height - Variable in class ch.sahits.game.graphic.display.notice.NoticeView
height of the font in size 18
fontLoader - Variable in class ch.sahits.game.graphic.display.gameplay.ViewStatus
 
fontLoader - Variable in class ch.sahits.game.graphic.display.GameView
 
fontLoader - Variable in class ch.sahits.game.graphic.display.notice.NoticeView
 
footerPolygons - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
footerPolygons - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
footerPolygons - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
footerPolygons - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
 
footerPolygons - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
footerPolygons - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
footerPolygons - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
forecast - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog.DialogPositions
 
forthColumn - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog.DialogPositions
 
fullNotice - Variable in class ch.sahits.game.graphic.display.notice.NoticeView
Full notice, not all may be visible

G

game - Variable in class ch.sahits.game.Client
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.gameplay.GameStatus
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.gameplay.MainMenu
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.gameplay.MainView
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.gameplay.MapView
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.gameplay.SubMenu
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.gameplay.ViewStatus
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.GameView
 
gameRender(Graphics) - Method in interface ch.sahits.game.graphic.display.IUpdatableComponent
Force the panel to render itself.
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.MainGameView
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.notice.NoticeView
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.display.start.StartupView
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.layout.Button
 
gameRender(Graphics) - Method in class ch.sahits.game.graphic.layout.TextInput
 
GameStatus - Class in ch.sahits.game.graphic.display.gameplay
This view represents the game status such as date and money.
GameStatus(Rectangle, IClient) - Constructor for class ch.sahits.game.graphic.display.gameplay.GameStatus
 
gameStatus - Variable in class ch.sahits.game.graphic.display.MainGameView
View status holding money and time
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.gameplay.GameStatus
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.gameplay.MainMenu
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.gameplay.MainView
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.gameplay.MapView
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.gameplay.SubMenu
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.gameplay.ViewStatus
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.GameView
 
gameUpdate() - Method in interface ch.sahits.game.graphic.display.IUpdatableComponent
Force the panel to update its state.
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.MainGameView
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.model.CityPlayerProxy
Handle all the events that are generated from outside (not by the player).
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.notice.NoticeView
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
gameUpdate() - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.graphic.display.start.StartupView
 
gameUpdate() - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
gameUpdate() - Method in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
gameUpdate() - Method in class ch.sahits.game.graphic.layout.Button
 
gameUpdate() - Method in class ch.sahits.game.graphic.layout.Slider
 
gameUpdate() - Method in class ch.sahits.game.graphic.layout.TextInput
 
GameView - Class in ch.sahits.game.graphic.display
This View represents the main game view
GameView(Rectangle, OpenPatricianFrame) - Constructor for class ch.sahits.game.graphic.display.GameView
 
gap - Variable in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
gap - Variable in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
 
get(int) - Method in interface ch.sahits.game.graphic.display.ISahitsContainer
Retrieve a component from internal storage at position i.
get(int) - Method in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
getActiveMainView() - Method in class ch.sahits.game.graphic.display.GameView
Retrieve the main game view that is currently active
getActiveShip() - Method in class ch.sahits.game.graphic.display.model.CityPlayerProxy
 
getActiveShip() - Method in interface ch.sahits.game.graphic.display.model.ICityPlayerProxy
Retrieve the players active ship
getActiveShip() - Method in class ch.sahits.game.graphic.display.model.ViewChangeCityPlayerProxy
 
getAmount(int) - Method in interface ch.sahits.game.graphic.display.dialog.ITransferable
Retrieve the amount that is to be transferred.
getAmount(int) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
getAnchor() - Method in class ch.sahits.game.graphic.layout.MaximalGridLayoutConstraints
 
getBounds() - Method in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
 
getBounds() - Method in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
 
getBounds() - Method in interface ch.sahits.game.graphic.display.ISahitsComponent
Retrieve the bounds of the component
getBounds() - Method in interface ch.sahits.game.graphic.display.ISahitsContainer
Retrieve the bounds of the container
getBounds() - Method in class ch.sahits.game.graphic.layout.AbstractSahitsComponent
Retrieve the bounds
getCity() - Method in class ch.sahits.game.graphic.display.model.CityPlayerProxy
 
getCity() - Method in interface ch.sahits.game.graphic.display.model.ICityPlayerProxy
Retrieve the city reference
getCity() - Method in class ch.sahits.game.graphic.display.model.ViewChangeCityPlayerProxy
 
getCityPlayerProxy() - Method in interface ch.sahits.game.graphic.display.dialog.ITransferable
Retrieve the proxy object to access the city and the player
getCityPlayerProxy() - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
getCityProxy() - Method in class ch.sahits.game.graphic.display.notice.CityNoticeMetaData
 
getCityProxy() - Method in interface ch.sahits.game.graphic.display.notice.ICityNoticeMetaData
Retrieve the object that represents the proxy to the city and the player
getClient() - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
 
getColumnStart(int, Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Compute the x position where the column with the given index starts
getColumnStart(int, ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Compute the x position where the column with the given index starts
getComponentCount() - Method in interface ch.sahits.game.graphic.display.ISahitsContainer
Retrieve the total number of components contained in this container
getComponentCount() - Method in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
getConstraints(Component) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Gets the constraints for the specified component.
getConstraints(ISahitsComponent) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Gets the constraints for the specified ISahitsComponent.
getDialogFringe() - Method in interface ch.sahits.game.graphic.display.gameplay.IUpdatableDialog
Retrieve the fringe of the dialog
getDialogFringe() - Method in class ch.sahits.game.graphic.display.gameplay.MainView
 
getDialogType() - Method in interface ch.sahits.game.graphic.display.dialog.ITransferable
Retrieve the dialog type of this transfer
getDialogType() - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
getDificutlyList() - Method in class ch.sahits.game.graphic.display.start.NewGameView
Compile a list of the difficulty levels
getFont() - Method in interface ch.sahits.game.graphic.display.ISahitsComponent
Retrieve the font
getFont() - Method in class ch.sahits.game.graphic.layout.AbstractEditableSahitsComponent
 
getFont() - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
getFont() - Method in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
getFont() - Method in class ch.sahits.game.graphic.layout.Button
 
getFont() - Method in class ch.sahits.game.graphic.layout.Label
Retrieve the font
getFontMetrics() - Method in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
getGame() - Method in class ch.sahits.game.Client
 
getGameMap() - Method in class ch.sahits.game.Client
 
getGameSpeedList() - Method in class ch.sahits.game.graphic.display.start.NewGameView
Compile a list of game speeds
getHeight() - Method in interface ch.sahits.game.graphic.display.ISahitsContainer
Retrieve the actual height of the container
getHeight() - Method in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
getHomeTowns4Map() - Method in class ch.sahits.game.graphic.display.start.NewGameView
Create a list of town names that are available on the selected map as home towns.
getImage() - Method in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
Retrieve the image that is cached with this handler
getImage() - Method in interface ch.sahits.game.graphic.display.gameplay.internal.ISceneHandler
Retrieve the image that is cached with this handler
getImageName(StartupView.MouseState) - Method in class ch.sahits.game.graphic.display.start.StartupView
 
getInset() - Method in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
Retrieve the insets of the dialog border
getInsets() - Method in interface ch.sahits.game.graphic.display.ISahitsContainer
Retrieve the insets of the container
getInsets() - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Insets for the notice board
getInsets() - Method in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
getInsets() - Method in class ch.sahits.game.graphic.layout.AbstractSahitsComponent
Retrieve the insets
getInstance() - Static method in class ch.sahits.game.graphic.image.DisplayImageDIResolver
 
getItem(int) - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
getItemCount() - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
getLanguageStartupScreanLoader(Locale) - Method in class ch.sahits.game.graphic.image.DisplayImageDIResolver
Retrieve a language aware image loader for the start screen images
getLayoutAlignmentX(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
If there is a constraint defined by the target, the position is used for the alignment
getLayoutAlignmentY(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
If there is a constraint defined by the target, the position is used for the alignment
getMainScreenLoader() - Method in class ch.sahits.game.graphic.image.DisplayImageDIResolver
Retrieve the image loader for the main sceen images
getMapList() - Method in class ch.sahits.game.graphic.display.start.NewGameView
Retrieve the list of the available maps
getMovableAmount() - Method in interface ch.sahits.game.graphic.display.dialog.ITransferable
Retrieve the amount size that is to be transfer in one chunk.
getMovableAmount() - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
getObjectiveList() - Method in class ch.sahits.game.graphic.display.start.NewGameView
Create a list of objectives to select from
getPlayer() - Method in class ch.sahits.game.Client
 
getPlayer() - Method in class ch.sahits.game.graphic.display.model.CityPlayerProxy
 
getPlayer() - Method in interface ch.sahits.game.graphic.display.model.ICityPlayerProxy
retrieve the player reference
getPlayer() - Method in class ch.sahits.game.graphic.display.model.ViewChangeCityPlayerProxy
 
getPlayersShips() - Method in class ch.sahits.game.graphic.display.model.CityPlayerProxy
 
getPlayersShips() - Method in interface ch.sahits.game.graphic.display.model.ICityPlayerProxy
Retrieve the list of all ships of the player currently in the port.
getPlayersShips() - Method in class ch.sahits.game.graphic.display.model.ViewChangeCityPlayerProxy
 
getPolygon() - Method in class ch.sahits.game.graphic.display.util.ClickablePolygon
 
getPositionX() - Method in enum ch.sahits.game.graphic.layout.ECellPosition
 
getPositionY() - Method in enum ch.sahits.game.graphic.layout.ECellPosition
 
getPreferredSize() - Method in interface ch.sahits.game.graphic.display.ISahitsComponent
Retrieve the preferred size of the component.
getPreferredSize() - Method in class ch.sahits.game.graphic.layout.Button
 
getPreferredSize() - Method in class ch.sahits.game.graphic.layout.Label
 
getPreferredSize() - Method in class ch.sahits.game.graphic.layout.RadioButton
 
getPreferredSize() - Method in class ch.sahits.game.graphic.layout.Slider
 
getPreferredSize() - Method in class ch.sahits.game.graphic.layout.Spinner
 
getPreferredSize() - Method in class ch.sahits.game.graphic.layout.TextInput
 
getRandomFirstName() - Static method in class ch.sahits.game.graphic.display.start.NewGameView
 
getRandomLastName() - Static method in class ch.sahits.game.graphic.display.start.NewGameView
 
getRowStart(int, Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Compute the y position where the row with the given index starts
getRowStart(int, ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Compute the y position where the row with the given index starts
getSceneLoader(EScene, Rectangle, IDataImageLoader, DisplayImageDIResolver) - Static method in class ch.sahits.game.graphic.display.gameplay.internal.SceneHandlerFactory
 
getSelected() - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
getSelectedIndex() - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
getStartScreenLoader() - Method in class ch.sahits.game.graphic.image.DisplayImageDIResolver
Retrieve the image loader for the start sceen images
getStartYears() - Method in class ch.sahits.game.graphic.display.start.NewGameView
Initialize the list of start years from 1300 to 1400
getStoredAmount(IWare, IShip, ITradingOffice) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
Retrieve the amountable object for the ware that is stored.
getStringColor(EStringSelectionState) - Static method in class ch.sahits.game.graphic.display.notice.ColorProvider
Retrieve the color by the state
getStringColorActive() - Static method in class ch.sahits.game.graphic.display.notice.ColorProvider
Provide the color of the String that represents the active selection
getStringColorDisabled() - Static method in class ch.sahits.game.graphic.display.notice.ColorProvider
Provide the color of a String that is currently disabled
getStringColorInactive() - Static method in class ch.sahits.game.graphic.display.notice.ColorProvider
Provide the color of a String that represents an inactive selection
getText() - Method in class ch.sahits.game.graphic.layout.Button
 
getValue() - Method in class ch.sahits.game.graphic.layout.AbstractEditableSahitsComponent
 
getViewChangeEvent() - Method in class ch.sahits.game.graphic.display.model.ViewChangeCityPlayerProxy
 
getWidth() - Method in interface ch.sahits.game.graphic.display.ISahitsContainer
Retrieve the actual width of the container
getWidth() - Method in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
getXMLImageLoader() - Method in class ch.sahits.game.graphic.image.DisplayImageDIResolver
Retrieve the XML image loader for the main screen
group - Variable in class ch.sahits.game.graphic.layout.RadioButton
 
guardNumberChange - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog.GuardNumberChange
 

H

H_BORDER - Variable in class ch.sahits.game.graphic.layout.Button
 
handle - Variable in class ch.sahits.game.graphic.layout.Slider
 
handleDialogChange(ENoticeItem) - Method in class ch.sahits.game.graphic.display.gameplay.MainView
Update the dialog according to the indicated selection
handleViewChange(EScene) - Method in class ch.sahits.game.graphic.display.gameplay.MainView
Hanlde method for changing the main view image
hasFocus - Variable in class ch.sahits.game.graphic.layout.TextInput
 
historyIndex - Variable in class ch.sahits.game.graphic.display.start.StartupView
 
historySize - Variable in class ch.sahits.game.graphic.display.start.StartupView
 
home - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
HORIZONTAL_DECO_HEIGHT - Static variable in class ch.sahits.game.graphic.display.MainGameView
Height of the horizontal fries

I

ICityNoticeMetaData - Interface in ch.sahits.game.graphic.display.notice
These meta data specializes on notice that are city releated and therefore provide data about the city.
ICityPlayerProxy - Interface in ch.sahits.game.graphic.display.model
 
IIndexChangeListener - Interface in ch.sahits.game.graphic.display
Listener interface for index changes
imageNames - Static variable in class ch.sahits.game.graphic.display.gameplay.MainView
 
images - Variable in class ch.sahits.game.graphic.display.start.StartupView
 
imageUtils - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
reference to the utilities for image manipulation
imageUtils - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog
reference to the utilities for image manipulation
imageUtils - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
reference to the utilities for image manipulation
imageUtils - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
reference to the utilities for image manipulation
imageUtils - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
reference to the utilities for image manipulation
imageUtils - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
reference to the utilities for image manipulation
imageUtils - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
reference to the utilities for image manipulation
imageUtils - Variable in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
 
imageUtils - Variable in class ch.sahits.game.graphic.display.gameplay.MainView
 
img - Variable in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
Frame that is rendered
img - Variable in class ch.sahits.game.graphic.display.gameplay.MainView
This image holds the background of the currently rendered View
imsLoader - Variable in class ch.sahits.game.graphic.display.start.StartupView
 
inactivateAll() - Method in class ch.sahits.game.graphic.display.notice.TradingOfficeDialogMataData
Inactivate all links that are not disabled
inactivateAllNotDisabled() - Method in class ch.sahits.game.graphic.display.notice.TradeDialogMetaData
Set all states to inactivate if they are not disabled to begin with
incSelection() - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
init() - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
init() - Method in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
Initialize class specific stuff which might be need later in the initialisation
init() - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
init() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
init() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
 
init() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
init() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
init() - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
init(DisplayImageDIResolver) - Method in interface ch.sahits.game.graphic.display.gameplay.internal.ISceneHandler
Initialize the images and polygons of the scene
init(DisplayImageDIResolver) - Method in class ch.sahits.game.graphic.display.gameplay.internal.MarketPlaceScenehandler
 
init(DisplayImageDIResolver) - Method in class ch.sahits.game.graphic.display.gameplay.internal.PortSceneHandler
 
init() - Method in class ch.sahits.game.graphic.image.DisplayImageDIResolver
 
initBackgroundImage(IImageLoader, Point) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
initBackgroundImage(IImageLoader, Point) - Method in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
Initialize the background image that is stored as a reference.
initBackgroundImage(IImageLoader, Point) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
initBackgroundImage(IImageLoader, Point) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
initBackgroundImage(IImageLoader, Point) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
 
initBackgroundImage(IImageLoader, Point) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
initBackgroundImage(IImageLoader, Point) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
initBackgroundImage(IImageLoader, Point) - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
initGame(IGame) - Method in class ch.sahits.game.Client
 
initiatePolygons() - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
initiatePolygons() - Method in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
Instanciate the any polygon member variables.
initiatePolygons() - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
initiatePolygons() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
initiatePolygons() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
 
initiatePolygons() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
initiatePolygons() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
initiatePolygons() - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
initImages() - Method in class ch.sahits.game.graphic.display.start.StartupView
load and initialize the images, and build their 'hot-spots'
initInsets(double) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Compute the insets as a factor of the scaling
initInsets(double) - Method in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
Compute the insets as a factor of the scaling
initInsets(double) - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
Compute the insets as a factor of the scaling
initMouseState() - Method in class ch.sahits.game.graphic.display.start.StartupView
 
initOffsets() - Method in class ch.sahits.game.graphic.display.start.StartupView
Compute the offsets for the images to be drawn onto the panel
initPolygons(DisplayImageDIResolver, ImageData, ImageScaleState, Point) - Method in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
Setting the positions of the polygons on the screen
initPolygons() - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Initialize common polygons
initStartPolygons() - Method in class ch.sahits.game.graphic.display.start.StartupView
Setting the positions of the polygons on the screen
INoticeMetaData - Interface in ch.sahits.game.graphic.display.notice
This interface is a marker interface for objects that hold meta data for the currently displayed notice.
insertFirst(String) - Method in class ch.sahits.game.graphic.display.start.StartupView
 
insertImageBefore(String, String) - Method in class ch.sahits.game.graphic.display.start.StartupView
Insert the image before another image.
insertImageLast(String) - Method in class ch.sahits.game.graphic.display.start.StartupView
Inserts an image at the last position
insertImageLast(NamedBufferedImage) - Method in class ch.sahits.game.graphic.display.start.StartupView
 
inset - Variable in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
 
insets - Variable in class ch.sahits.game.graphic.layout.AbstractSahitsComponent
 
INSTANCE - Static variable in class ch.sahits.game.graphic.image.DisplayImageDIResolver
 
invalidateLayout(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
ISahitsComponent - Interface in ch.sahits.game.graphic.display
The ISahitsComponent is a renderable form element whithin a ISahitsContainer.
ISahitsContainer - Interface in ch.sahits.game.graphic.display
This container component is used to hold ISahistsComponents that are rendered within this container.
ISahitsLabel - Interface in ch.sahits.game.graphic.layout
Representing a label
ISahitsLayoutConstraint - Interface in ch.sahits.game.graphic.display
This marker interface defines a constraint that is used in the layouting of a ISahitsComponent within a ISahitsContainer.
ISahitsLayoutManager - Interface in ch.sahits.game.graphic.display
This interfaces defines the layout manager that is to be used for placing the ISahitsComponents in a ISahitsComponent.
ISceneHandler - Interface in ch.sahits.game.graphic.display.gameplay.internal
this interface defines the methods of a scene handler that are accessible from outside this package
isDialogChange(Event, Object) - Method in class ch.sahits.game.graphic.display.gameplay.MainView
Check if this as a view change due to selecting something on the notice board
isEnabled() - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
isEnabled() - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
isEnabled() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
isEnabled() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
 
isEnabled() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
isEnabled() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
isEnabled() - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
isEnabled() - Method in class ch.sahits.game.graphic.display.GameView
 
isInside(Point) - Method in class ch.sahits.game.graphic.display.util.ClickablePolygon
check if the point is inside the polygon
isScrolledToBottom() - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Check if the bottom of the notice is shown
isScrolledToTop() - Method in class ch.sahits.game.graphic.display.notice.NoticeView
check if the top of the notice is shown
isSelected() - Method in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
ITransferable - Interface in ch.sahits.game.graphic.display.dialog
This interfaces defines methods that are accessed by the Transfer actions
IUpdatableComponent - Interface in ch.sahits.game.graphic.display
Interface defines a updatable component.
IUpdatableDialog - Interface in ch.sahits.game.graphic.display.gameplay
Interface that is used as an inner class to update a dialog instance

L

Label - Class in ch.sahits.game.graphic.layout
 
Label(FontMetrics) - Constructor for class ch.sahits.game.graphic.layout.Label
 
lastName - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
lastNameLoader - Static variable in class ch.sahits.game.graphic.display.start.NewGameView
 
lastWeek - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog.DialogPositions
 
layoutContainer(ISahitsContainer) - Method in interface ch.sahits.game.graphic.display.ISahitsLayoutManager
Compute the layout of the all the children in the parent container.
layoutContainer(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
layoutContainer(ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
 
layoutManager - Variable in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
leave(IShip) - Method in class ch.sahits.game.graphic.display.model.CityPlayerProxy
Ship leave the city
LEFT_PANEL_WIDTH - Static variable in class ch.sahits.game.graphic.display.MainGameView
Width og the left panels inclusive borders
LEFT_STATUS_PANEL_WIDTH - Static variable in class ch.sahits.game.graphic.display.MainGameView
Width of the left panels (without borders)
lineHeight - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog.DialogPositions
 
lineHeight - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog.DialogPositions
 
lineHeight - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog.DialogPositions
 
lineHeight - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog.DialogPositions
 
lineHeight - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog.DialogPositions
 
lineHeight - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog.DialogPositions
 
lineHeight - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog.DialogPositions
 
loader - Variable in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
 
loader - Variable in class ch.sahits.game.graphic.display.gameplay.MainView
 
loader - Variable in class ch.sahits.game.graphic.display.MainGameView
Image loader to retrieve the images
loader - Variable in class ch.sahits.game.graphic.layout.Spinner
 
lock - Static variable in class ch.sahits.game.OpenPatrician
 
logEnvironment() - Static method in class ch.sahits.game.OpenPatrician
 
logger - Static variable in class ch.sahits.game.graphic.display.dialog.BuyProxyAction
 
logger - Static variable in class ch.sahits.game.graphic.display.dialog.SellProxyAction
 
logger - Static variable in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
logger - Static variable in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
 
logger - Static variable in class ch.sahits.game.graphic.display.gameplay.internal.MarketPlaceScenehandler
 
logger - Static variable in class ch.sahits.game.graphic.display.gameplay.internal.PortSceneHandler
 
logger - Static variable in class ch.sahits.game.graphic.display.gameplay.MainView
 
logger - Static variable in class ch.sahits.game.graphic.display.GameView
 
logger - Static variable in class ch.sahits.game.graphic.display.notice.NoticeView
 
logger - Static variable in class ch.sahits.game.graphic.display.OpenPatricianFrame
 
logger - Static variable in class ch.sahits.game.graphic.display.start.NewGameView
 
logger - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
logger - Static variable in class ch.sahits.game.OpenPatrician
 

M

main(String[]) - Static method in class ch.sahits.game.OpenPatrician
 
MainGameView - Class in ch.sahits.game.graphic.display
This is the main in game view.
MainGameView(Rectangle, IClient) - Constructor for class ch.sahits.game.graphic.display.MainGameView
 
MainMenu - Class in ch.sahits.game.graphic.display.gameplay
This represents the view showing the main menu
MainMenu(Rectangle) - Constructor for class ch.sahits.game.graphic.display.gameplay.MainMenu
 
mainMenu - Variable in class ch.sahits.game.graphic.display.MainGameView
View holding the main menu
MainView - Class in ch.sahits.game.graphic.display.gameplay
This represents the main game screen
MainView(Rectangle, IImageLoader, IClient) - Constructor for class ch.sahits.game.graphic.display.gameplay.MainView
Instantiate the main view with the port scene of the players home town
mainView - Variable in class ch.sahits.game.graphic.display.MainGameView
Main view of the map or the city
male - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
map - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
MAP_OVERVIEW_HEIGHT - Static variable in class ch.sahits.game.graphic.display.MainGameView
Height of the map overview
mapOverview - Variable in class ch.sahits.game.graphic.display.MainGameView
View holding the sea or city overview map
MapView - Class in ch.sahits.game.graphic.display.gameplay
View holding an overview of the map
MapView(Rectangle) - Constructor for class ch.sahits.game.graphic.display.gameplay.MapView
 
MarketBoothDialogMetaData - Class in ch.sahits.game.graphic.display.notice
Retpresents the meta data responsible for the market boot statistics
MarketBoothDialogMetaData(ICityPlayerProxy, EStringSelectionState, EStringSelectionState) - Constructor for class ch.sahits.game.graphic.display.notice.MarketBoothDialogMetaData
 
MarketPlaceScenehandler - Class in ch.sahits.game.graphic.display.gameplay.internal
Scene handler that handles the market place related scenes
MarketPlaceScenehandler(Rectangle, IDataImageLoader, DisplayImageDIResolver) - Constructor for class ch.sahits.game.graphic.display.gameplay.internal.MarketPlaceScenehandler
 
maxHight - Variable in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
maxHight - Variable in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
 
MaximalGridLayout - Class in ch.sahits.game.graphic.layout
Grid layout that sizes the cells according the the biggest sized component in the same row/column.
MaximalGridLayout(int, int) - Constructor for class ch.sahits.game.graphic.layout.MaximalGridLayout
Initialize the layout with the number of columns and rows
MaximalGridLayout(int, int, int, ECellPosition) - Constructor for class ch.sahits.game.graphic.layout.MaximalGridLayout
Initialize the layout with the number of columns and rows and the gaping between them as well as the positioning of the whole if there is any space.
MaximalGridLayout() - Constructor for class ch.sahits.game.graphic.layout.MaximalGridLayout
Default constructor initializing a grid of size 1x1.
MaximalGridLayoutConstraints - Class in ch.sahits.game.graphic.layout
Container to hold the constraints.
MaximalGridLayoutConstraints() - Constructor for class ch.sahits.game.graphic.layout.MaximalGridLayoutConstraints
Default constraint with centered positioning
MaximalGridLayoutConstraints(ECellPosition) - Constructor for class ch.sahits.game.graphic.layout.MaximalGridLayoutConstraints
Layout with custom positioning
maximumLayoutSize(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
maxWidth - Variable in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
maxWidth - Variable in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
 
MENU_HEIGHT - Static variable in class ch.sahits.game.graphic.display.MainGameView
Height of the menu bar
metaData - Variable in class ch.sahits.game.graphic.display.notice.NoticeView
Data object that corresponds to the rendered data in NoticeView.fullNotice.
metic - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
metric - Variable in class ch.sahits.game.graphic.layout.Button
 
metric - Variable in class ch.sahits.game.graphic.layout.Label
 
metric - Variable in class ch.sahits.game.graphic.layout.Slider
 
metric - Variable in class ch.sahits.game.graphic.layout.Spinner
 
metric - Variable in class ch.sahits.game.graphic.layout.TextInput
 
metrics - Variable in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
minimumLayoutSize(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
MINMIMAL_DISPLAY_HEIGHT - Static variable in class ch.sahits.game.graphic.display.MainGameView
The minimal height the display must have
movableAmount - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog
The amount that is moved with one click

N

name - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
names - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
nbCols - Variable in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
nbCols - Variable in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
 
nbRows - Variable in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
nbRows - Variable in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
 
needsScrollBar() - Method in class ch.sahits.game.graphic.display.notice.NoticeView
check if the notice is to large to be displayed without scrolling
NewGameView - Class in ch.sahits.game.graphic.display.start
Rendering view to create a new single player game.
NewGameView(Rectangle, FontMetrics) - Constructor for class ch.sahits.game.graphic.display.start.NewGameView
Construct the view with the specified dimensions and the font metrics
NOTICE_HEIGHT - Static variable in class ch.sahits.game.graphic.display.MainGameView
Height of the notice view
noticeOffset - Variable in class ch.sahits.game.graphic.display.notice.NoticeView
Offset indicating how far the fullNotice is scrolled down.
noticeView - Variable in class ch.sahits.game.graphic.display.MainGameView
View holding notices and state information
NoticeView - Class in ch.sahits.game.graphic.display.notice
This represents the notice view
NoticeView(Rectangle, IImageLoader) - Constructor for class ch.sahits.game.graphic.display.notice.NoticeView
 
NoticeView.MarketBoothChangeAction - Class in ch.sahits.game.graphic.display.notice
Inner class handling the clicks on the notice for the market booth
NoticeView.MarketBoothChangeAction(ENoticeItem) - Constructor for class ch.sahits.game.graphic.display.notice.NoticeView.MarketBoothChangeAction
 
NoticeView.ScrollDownAction - Class in ch.sahits.game.graphic.display.notice
Action for the scrolling down
NoticeView.ScrollDownAction() - Constructor for class ch.sahits.game.graphic.display.notice.NoticeView.ScrollDownAction
 
NoticeView.ScrollUpAction - Class in ch.sahits.game.graphic.display.notice
Action for the scrolling up
NoticeView.ScrollUpAction() - Constructor for class ch.sahits.game.graphic.display.notice.NoticeView.ScrollUpAction
 
NoticeView.TradeDialogeChangeAction - Class in ch.sahits.game.graphic.display.notice
 
NoticeView.TradeDialogeChangeAction(ETransferDialogType) - Constructor for class ch.sahits.game.graphic.display.notice.NoticeView.TradeDialogeChangeAction
 
NoticeView.TradingOfficeChangeAction - Class in ch.sahits.game.graphic.display.notice
Inner class handling the clicks on the notice for the trading office
NoticeView.TradingOfficeChangeAction(ENoticeItem) - Constructor for class ch.sahits.game.graphic.display.notice.NoticeView.TradingOfficeChangeAction
 

O

objective - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
office2ship - Variable in class ch.sahits.game.graphic.display.notice.TradeDialogMetaData
State of the string linking to the trade dialog office<->ship
offsetPolys - Variable in class ch.sahits.game.graphic.display.notice.NoticeView
Polygons in the fullNotice image
offsets - Variable in class ch.sahits.game.graphic.display.start.StartupView
Storage of the offsets for each image.
offsetter - Variable in class ch.sahits.game.graphic.display.start.StartupView
 
OpenPatrician - Class in ch.sahits.game
Main class for starting the OpenPatrician game.
OpenPatrician() - Constructor for class ch.sahits.game.OpenPatrician
 
OpenPatricianBackgroundView - Class in ch.sahits.game.graphic.display
This RenderablePart implementation is a base implementation for brick walled background on which form elements can be placed.
OpenPatricianBackgroundView(Rectangle, ISahitsLayoutManager) - Constructor for class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
OpenPatricianFrame - Class in ch.sahits.game.graphic.display
This is the GUI frame for the OpenPatrician game
OpenPatricianFrame() - Constructor for class ch.sahits.game.graphic.display.OpenPatricianFrame
 
OpenPatricianGameDialog - Class in ch.sahits.game.graphic.display.dialog
This is a dialog that renderes a wooden frame with an inlaid parchment at a given position.
OpenPatricianGameDialog(Point, IImageLoader, double, CityPlayerProxy) - Constructor for class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog
 
OpenPatricianGameDialog.CloseAction - Class in ch.sahits.game.graphic.display.dialog
 
OpenPatricianGameDialog.CloseAction(IEventListener) - Constructor for class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog.CloseAction
 
opPainter - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
opPainter - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
opPainter - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
opPainter - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
 
opPainter - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
opPainter - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
opPainter - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
opPainter - Variable in class ch.sahits.game.graphic.display.gameplay.GameStatus
 
opPainter - Variable in class ch.sahits.game.graphic.display.gameplay.ViewStatus
 
opPainter - Variable in class ch.sahits.game.graphic.display.notice.NoticeView
 
opPainter - Variable in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 

P

pageState - Variable in class ch.sahits.game.graphic.display.start.StartupView
 
paint(Graphics) - Method in interface ch.sahits.game.graphic.display.ISahitsComponent
Draw the component with the appropriate graphic context.
paint(Graphics) - Method in class ch.sahits.game.graphic.layout.Button
 
paint(Graphics) - Method in class ch.sahits.game.graphic.layout.Label
 
paint(Graphics) - Method in class ch.sahits.game.graphic.layout.RadioButton
 
paint(Graphics) - Method in class ch.sahits.game.graphic.layout.Slider
 
paint(Graphics) - Method in class ch.sahits.game.graphic.layout.Spinner
 
paint(Graphics) - Method in class ch.sahits.game.graphic.layout.TextInput
 
paintCurrentLabel(Graphics, int) - Method in class ch.sahits.game.graphic.layout.Slider
Paint the label of the closest labeled value over the handle.
painter - Static variable in class ch.sahits.game.graphic.layout.AbstractSahitsComponent
 
paintHorizontalLabel(Graphics, int) - Method in class ch.sahits.game.graphic.layout.Slider
Paint the label over the center of the tracker handle (commonly known as thumb)
paintLabelAt(Graphics, Label, Rectangle) - Method in class ch.sahits.game.graphic.layout.Slider
Paint a label a specific position
paintLabels - Variable in class ch.sahits.game.graphic.layout.Slider
 
paintLabels() - Method in class ch.sahits.game.graphic.layout.Slider
Check if the labels are to be painted
paintLabels(Graphics) - Method in class ch.sahits.game.graphic.layout.Slider
Print all the labels
personal - Variable in class ch.sahits.game.graphic.display.notice.TradingOfficeDialogMataData
State of the string linking to the personal data overview
player - Variable in class ch.sahits.game.Client
 
player - Variable in class ch.sahits.game.graphic.display.model.CityPlayerProxy
 
playerShips - Variable in class ch.sahits.game.graphic.display.model.CityPlayerProxy
List holding all ships owned by the player currently present in the city
polygon - Variable in class ch.sahits.game.graphic.display.util.ClickablePolygon
 
polygons - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
polygons - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
polygons - Variable in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
Store the polygons for checking against clicking them Using a TreeMap so it may be possible do define polygons that cover the same are but in a different z-order.
polygons - Variable in class ch.sahits.game.graphic.display.notice.NoticeView
Polygons of the scrollbar
polygons - Variable in class ch.sahits.game.graphic.display.start.StartupView
Store the polygons for checking against clicking them Using a TreeMap so it may be possible do define polygons that cover the same are but in a different z-order.
polygons - Variable in class ch.sahits.game.graphic.display.util.ClickablePolygons
 
polyNames - Static variable in class ch.sahits.game.graphic.display.gameplay.internal.MarketPlaceScenehandler
 
polyNames - Static variable in class ch.sahits.game.graphic.display.gameplay.internal.PortSceneHandler
 
PortSceneHandler - Class in ch.sahits.game.graphic.display.gameplay.internal
This scene handler handles the port scene related events
PortSceneHandler(Rectangle, IDataImageLoader, DisplayImageDIResolver) - Constructor for class ch.sahits.game.graphic.display.gameplay.internal.PortSceneHandler
 
position - Variable in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
position - Variable in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
 
positions - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
Hold all the positioning information, initialized in initBackgroundImage
positions - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog
Hold all the positioning information, initialized in initBackgroundImage
positions - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
Hold all the positioning information, initialized in initBackgroundImage
positions - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
Hold all the positioning information, initialized in initBackgroundImage
positions - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
Hold all the positioning information, initialized in initBackgroundImage
positions - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
Hold all the positioning information, initialized in initBackgroundImage
positions - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
Hold all the positioning information, initialized in initBackgroundImage
positionX - Variable in enum ch.sahits.game.graphic.layout.ECellPosition
 
positionY - Variable in enum ch.sahits.game.graphic.layout.ECellPosition
 
preferredLayoutSize(Container) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Computing the prefered size by adding the sizes of the columns and rows together with the insets
preferredLayoutSize(ISahitsContainer) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Computing the prefered size by adding the sizes of the columns and rows together with the insets
prodChandler - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog.DialogPositions
 
prodCity - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog.DialogPositions
 
proxy - Variable in class ch.sahits.game.graphic.display.model.ViewChangeCityPlayerProxy
 
proxy - Variable in class ch.sahits.game.graphic.display.notice.CityNoticeMetaData
 

R

RadioButton - Class in ch.sahits.game.graphic.layout
Implementable selecteable Radio button.
RadioButton(SelectableGroup, JPanel, Font) - Constructor for class ch.sahits.game.graphic.layout.RadioButton
 
RadioButton(SelectableGroup, FontMetrics, Font) - Constructor for class ch.sahits.game.graphic.layout.RadioButton
 
rect - Variable in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
 
remove(AbstractSelectableComponent) - Method in class ch.sahits.game.graphic.layout.SelectableGroup
Remove a selectable.
removeImage(String) - Method in class ch.sahits.game.graphic.display.start.StartupView
Remove the image with the name.
removeLayoutComponent(Component) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Remove the component from the stored data.
replaceImage(String, Dimension) - Method in class ch.sahits.game.graphic.display.gameplay.MainView
Scale an image down to target dimension and replace it in the loader cache
resetDialog() - Method in class ch.sahits.game.graphic.display.gameplay.MainView
Scale the dialog so it has the correct proportions
resetNoticeView() - Method in class ch.sahits.game.graphic.display.notice.NoticeView
Reset the notice view and other affiliated members
resetSizeCache() - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
 
resetSizeCache() - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
 
resolver - Variable in class ch.sahits.game.graphic.display.start.StartupView
 
returnBackToStartFromHistory() - Method in class ch.sahits.game.graphic.display.start.StartupView
 
run() - Method in class ch.sahits.game.graphic.display.dialog.BuyProxyAction
Delegate to the run method of the action associated with the dialog type
run() - Method in class ch.sahits.game.graphic.display.dialog.City2ShipAction
 
run() - Method in class ch.sahits.game.graphic.display.dialog.City2StorageAction
 
run() - Method in class ch.sahits.game.graphic.display.dialog.OpenPatricianGameDialog.CloseAction
 
run() - Method in class ch.sahits.game.graphic.display.dialog.SellProxyAction
Delegate to the run method of the action associated with the dialog type
run() - Method in class ch.sahits.game.graphic.display.dialog.Ship2CityAction
 
run() - Method in class ch.sahits.game.graphic.display.dialog.Ship2StorageAction
 
run() - Method in class ch.sahits.game.graphic.display.dialog.Storage2CityAction
 
run() - Method in class ch.sahits.game.graphic.display.dialog.Storage2ShipAction
 
run() - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog.TransferAmountChangeAction
 
run() - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog.GuardNumberChange
 
run() - Method in class ch.sahits.game.graphic.display.notice.NoticeView.MarketBoothChangeAction
 
run() - Method in class ch.sahits.game.graphic.display.notice.NoticeView.ScrollDownAction
 
run() - Method in class ch.sahits.game.graphic.display.notice.NoticeView.ScrollUpAction
 
run() - Method in class ch.sahits.game.graphic.display.notice.NoticeView.TradeDialogeChangeAction
 
run() - Method in class ch.sahits.game.graphic.display.notice.NoticeView.TradingOfficeChangeAction
 

S

SahitsMaximalGridLayout - Class in ch.sahits.game.graphic.layout
Grid layout that sizes the cells according the the biggest sized ISahitsComponent in the same row/column.
SahitsMaximalGridLayout(int, int) - Constructor for class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Initialize the layout with the number of columns and rows
SahitsMaximalGridLayout(int, int, int, ECellPosition) - Constructor for class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Initialize the layout with the number of columns and rows and the gaping between them as well as the positioning of the whole if there is any space.
SahitsMaximalGridLayout() - Constructor for class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Default constructor initializing a grid of size 1x1.
scaleMap - Variable in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
This map holds the scaling factor for the different images
SCENE_IMAGE_NAME - Variable in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
Name of the image for this scene
SceneHandlerFactory - Class in ch.sahits.game.graphic.display.gameplay.internal
Factory class for the different scene loaders.
SceneHandlerFactory() - Constructor for class ch.sahits.game.graphic.display.gameplay.internal.SceneHandlerFactory
 
SCROLL_OFFSET - Static variable in class ch.sahits.game.graphic.display.notice.NoticeView
Offset that is scrolled with one click on the scroll bar
scrollDown - Variable in class ch.sahits.game.graphic.display.notice.NoticeView
 
scrollUp - Variable in class ch.sahits.game.graphic.display.notice.NoticeView
 
secondcolumn - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog.DialogPositions
 
secondcolumn - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog.DialogPositions
 
SelectableGroup - Class in ch.sahits.game.graphic.layout
Group of components that are selectable
SelectableGroup() - Constructor for class ch.sahits.game.graphic.layout.SelectableGroup
 
selectables - Variable in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
selectables - Variable in class ch.sahits.game.graphic.layout.SelectableGroup
 
selected - Variable in class ch.sahits.game.graphic.display.notice.NoticeView.MarketBoothChangeAction
Indicate the item that is selected
selected - Variable in class ch.sahits.game.graphic.display.notice.NoticeView.TradingOfficeChangeAction
Indicate the item that is selected
selected - Variable in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
selectedIndex - Variable in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
SellProxyAction - Class in ch.sahits.game.graphic.display.dialog
This proxy handles the execution of the sell action based on the current type of the dialog.
SellProxyAction(IWare, ITransferable) - Constructor for class ch.sahits.game.graphic.display.dialog.SellProxyAction
 
serialVersionUID - Static variable in class ch.sahits.game.graphic.display.OpenPatricianFrame
 
setAction(Runnable) - Method in class ch.sahits.game.graphic.layout.Button
 
setBounds(int, int, int, int) - Method in interface ch.sahits.game.graphic.display.ISahitsComponent
Define the measurements of the component
setBounds(int, int, int, int) - Method in class ch.sahits.game.graphic.layout.AbstractSahitsComponent
 
setBounds(int, int, int, int) - Method in class ch.sahits.game.graphic.layout.Slider
 
setClient(IClient) - Method in class ch.sahits.game.graphic.display.GameView
 
setConstraints(Component, MaximalGridLayoutConstraints) - Method in class ch.sahits.game.graphic.layout.MaximalGridLayout
Sets the constraints for the specified component in this layout.
setConstraints(ISahitsComponent, MaximalGridLayoutConstraints) - Method in class ch.sahits.game.graphic.layout.SahitsMaximalGridLayout
Sets the constraints for the specified ISahitsComponent in this layout.
setDialogType(ETransferDialogType) - Method in interface ch.sahits.game.graphic.display.dialog.ITransferable
set the transfer dialog type
setDialogType(ETransferDialogType) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
setDifficulity(Difficulty) - Method in class ch.sahits.game.graphic.display.start.NewGameView
Set the difficulty
setEnabled(boolean) - Method in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog
 
setEnabled(boolean) - Method in class ch.sahits.game.graphic.display.dialog.TradeDialog
 
setEnabled(boolean) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
setEnabled(boolean) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
 
setEnabled(boolean) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
setEnabled(boolean) - Method in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
setEnabled(boolean) - Method in class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
setEnabled(boolean) - Method in class ch.sahits.game.graphic.display.GameView
 
setFont(Font) - Method in interface ch.sahits.game.graphic.display.ISahitsComponent
Set the font
setFont(ISahitsComponent) - Method in class ch.sahits.game.graphic.display.start.NewGameView
Set the font on the component
setFont(Font) - Method in class ch.sahits.game.graphic.layout.AbstractEditableSahitsComponent
 
setFont(Font) - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
setFont(Font) - Method in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
setFont(Font) - Method in class ch.sahits.game.graphic.layout.Button
 
setFont(Font) - Method in interface ch.sahits.game.graphic.layout.ISahitsLabel
Set the font of the label
setFont(Font) - Method in class ch.sahits.game.graphic.layout.Label
 
setInsets(int, int, int, int) - Method in interface ch.sahits.game.graphic.display.ISahitsComponent
Define the insets of the component
setInsets(int, int, int, int) - Method in class ch.sahits.game.graphic.layout.AbstractSahitsComponent
 
setPaintLabels(boolean) - Method in class ch.sahits.game.graphic.layout.Slider
Set the flag to paint the label
setSelected(int) - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
setSelected(boolean) - Method in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
 
setSelected(int) - Method in class ch.sahits.game.graphic.layout.Slider
set the selected index to specified value.
setSize(int) - Method in class ch.sahits.game.graphic.layout.TextInput
 
setText(String) - Method in class ch.sahits.game.graphic.layout.Button
 
setText(String) - Method in interface ch.sahits.game.graphic.layout.ISahitsLabel
Set the text of the label
setText(String) - Method in class ch.sahits.game.graphic.layout.Label
 
setText(String) - Method in class ch.sahits.game.graphic.layout.RadioButton
 
setValue(T) - Method in class ch.sahits.game.graphic.layout.AbstractEditableSahitsComponent
 
Ship2CityAction - Class in ch.sahits.game.graphic.display.dialog
Action of selling stuff to the city from the ship
Ship2CityAction(IWare, ITransferable) - Constructor for class ch.sahits.game.graphic.display.dialog.Ship2CityAction
 
Ship2StorageAction - Class in ch.sahits.game.graphic.display.dialog
This action handles the case of transfering wares from the ship into the storage
Ship2StorageAction(IWare, ITransferable) - Constructor for class ch.sahits.game.graphic.display.dialog.Ship2StorageAction
 
shipList - Variable in class ch.sahits.game.graphic.display.model.CityPlayerProxy
List holding all ships currently present in the city
size - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog.TransferAmountChangeAction
 
size - Variable in class ch.sahits.game.graphic.display.start.StartupView
 
size - Variable in class ch.sahits.game.graphic.layout.TextInput
 
Slider - Class in ch.sahits.game.graphic.layout
A slider component.
Slider(FontMetrics) - Constructor for class ch.sahits.game.graphic.layout.Slider
 
speed - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
Spinner - Class in ch.sahits.game.graphic.layout
 
Spinner(FontMetrics) - Constructor for class ch.sahits.game.graphic.layout.Spinner
 
startedServer - Static variable in class ch.sahits.game.OpenPatrician
 
StartupView - Class in ch.sahits.game.graphic.display.start
This startup view represent the first screen allowing to start up a game
StartupView(Rectangle) - Constructor for class ch.sahits.game.graphic.display.start.StartupView
 
StartupView.MouseState - Enum in ch.sahits.game.graphic.display.start
 
StartupView.MouseState() - Constructor for enum ch.sahits.game.graphic.display.start.StartupView.MouseState
 
StartupView.PageState - Enum in ch.sahits.game.graphic.display.start
 
StartupView.PageState() - Constructor for enum ch.sahits.game.graphic.display.start.StartupView.PageState
 
startYear - Variable in class ch.sahits.game.graphic.display.start.NewGameView
 
state - Variable in class ch.sahits.game.graphic.display.start.StartupView
 
stockPrices - Variable in class ch.sahits.game.graphic.display.notice.MarketBoothDialogMetaData
State of the string linking to the stat displaing available wares and their prices
Storage2CityAction - Class in ch.sahits.game.graphic.display.dialog
This action handles the selling of wares from the storage to the city.
Storage2CityAction(IWare, ITransferable) - Constructor for class ch.sahits.game.graphic.display.dialog.Storage2CityAction
 
Storage2ShipAction - Class in ch.sahits.game.graphic.display.dialog
This action handles the transfer of wares from the storage to the ship.
Storage2ShipAction(IWare, ITransferable) - Constructor for class ch.sahits.game.graphic.display.dialog.Storage2ShipAction
 
storageManager - Variable in class ch.sahits.game.graphic.display.notice.TradingOfficeDialogMataData
State of the string linking to the storage manager
SubMenu - Class in ch.sahits.game.graphic.display.gameplay
This view represents the sub menu view
SubMenu(Rectangle) - Constructor for class ch.sahits.game.graphic.display.gameplay.SubMenu
 
subMenu - Variable in class ch.sahits.game.graphic.display.MainGameView
View holding the sub menu (ship or city) menu

T

testAndExecute(Point, int) - Method in class ch.sahits.game.graphic.display.util.ClickableOffsetPolygons
Find the polygon that contains the point and if such a polygon exists execute its action
testAndExecute(Point) - Method in class ch.sahits.game.graphic.display.util.ClickablePolygons
Find the polygon that contains the point and if such a polygon exists execute its action
testClick(Point) - Method in interface ch.sahits.game.graphic.display.IUpdatableComponent
Test if there was a mouse click on the component
testClick(Point) - Method in class ch.sahits.game.graphic.layout.Button
 
testClick(MouseEvent) - Method in class ch.sahits.game.graphic.layout.RadioButton
 
testClick(Point) - Method in class ch.sahits.game.graphic.layout.RadioButton
 
testClick(MouseEvent) - Method in class ch.sahits.game.graphic.layout.Slider
 
testClick(Point) - Method in class ch.sahits.game.graphic.layout.Slider
 
testClick(MouseEvent) - Method in class ch.sahits.game.graphic.layout.Spinner
 
testClick(Point) - Method in class ch.sahits.game.graphic.layout.Spinner
 
testClick(Point) - Method in class ch.sahits.game.graphic.layout.TextInput
 
testKey(KeyEvent) - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
Handle key presses
testKeyPress(KeyEvent) - Method in interface ch.sahits.game.graphic.display.IUpdatableComponent
Check the updatable components if the key press was in one of them
testKeyPress(KeyEvent) - Method in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
Do not handle key presses
testKeyPress(KeyEvent) - Method in class ch.sahits.game.graphic.layout.AbstractSelectableComponent
Key events are not handled
testKeyPress(KeyEvent) - Method in class ch.sahits.game.graphic.layout.Button
 
testKeyPress(KeyEvent) - Method in class ch.sahits.game.graphic.layout.TextInput
 
testMove(int, int) - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
Handle the mouse movement (e.g.
testPress(int, int) - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
Check the mouse clicks
text - Variable in class ch.sahits.game.graphic.layout.Button
 
text - Variable in class ch.sahits.game.graphic.layout.Label
 
text - Variable in class ch.sahits.game.graphic.layout.RadioButton
 
TEXT_BACK_NEXT - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
TEXT_CREDITS - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
TEXT_FOCUS_BACK - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
TEXT_FOCUS_CREDITS - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
TEXT_FOCUS_HISTORY - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
TEXT_FOCUS_LOAD - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
TEXT_FOCUS_NEW - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
TEXT_FOCUS_NEXT - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
TEXT_FOCUS_OPTIONS - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
TEXT_HISTORY - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
TEXT_INSET - Variable in class ch.sahits.game.graphic.layout.TextInput
 
TEXT_UNFOCUSED - Static variable in class ch.sahits.game.graphic.display.start.StartupView
 
textImageIndex - Variable in class ch.sahits.game.graphic.display.start.StartupView
Index of the text image in the StartupView.images List
TextInput - Class in ch.sahits.game.graphic.layout
 
TextInput(FontMetrics) - Constructor for class ch.sahits.game.graphic.layout.TextInput
 
thirdColumn - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog.DialogPositions
 
titleHeigth - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog.DialogPositions
 
titleHeigth - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog.DialogPositions
 
titleHeigth - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog.DialogPositions
 
titleHeigth - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog.DialogPositions
 
titleHeigth - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog.DialogPositions
 
titleHeigth - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog.DialogPositions
 
TOP_STATUS_HEIGHT - Static variable in class ch.sahits.game.graphic.display.MainGameView
Height of the top status bar
toString() - Method in class ch.sahits.game.graphic.display.notice.MarketBoothDialogMetaData
 
toString() - Method in class ch.sahits.game.graphic.display.notice.TradeDialogMetaData
 
toString() - Method in class ch.sahits.game.graphic.display.notice.TradingOfficeDialogMataData
 
toString() - Method in class ch.sahits.game.graphic.display.util.ClickablePolygon
 
toString() - Method in class ch.sahits.game.graphic.display.util.ClickablePolygons
 
toString() - Method in class ch.sahits.game.graphic.layout.RadioButton
 
TradeDialog - Class in ch.sahits.game.graphic.display.dialog
Trade dialog for buying/selling from/to the city involving either a ship or the branch office.
TradeDialog(Point, double, CityPlayerProxy, ETransferDialogType) - Constructor for class ch.sahits.game.graphic.display.dialog.TradeDialog
 
TradeDialog.DialogPositions - Class in ch.sahits.game.graphic.display.dialog
This class holds the positions where different elements are placed on the dialog.
TradeDialog.DialogPositions(double, int, int, int, int, int, int, int, int) - Constructor for class ch.sahits.game.graphic.display.dialog.TradeDialog.DialogPositions
 
TradeDialog.TransferAmountChangeAction - Class in ch.sahits.game.graphic.display.dialog
Action to change the chunck size that is to be moved.
TradeDialog.TransferAmountChangeAction(ETransferAmount) - Constructor for class ch.sahits.game.graphic.display.dialog.TradeDialog.TransferAmountChangeAction
 
TradeDialogMetaData - Class in ch.sahits.game.graphic.display.notice
Represent the meta data for the notice corresponding to the trade dialog.
TradeDialogMetaData(EStringSelectionState, EStringSelectionState, EStringSelectionState, EStringSelectionState, ICityPlayerProxy) - Constructor for class ch.sahits.game.graphic.display.notice.TradeDialogMetaData
 
TradingOfficeBalanceDialog - Class in ch.sahits.game.graphic.display.dialog
 
TradingOfficeBalanceDialog(Point, double, CityPlayerProxy) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog
 
TradingOfficeBalanceDialog.DialogPositions - Class in ch.sahits.game.graphic.display.dialog
This class holds the positions where different elements are placed on the dialog.
TradingOfficeBalanceDialog.DialogPositions(double, int, int, int, int, int, int, int) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingOfficeBalanceDialog.DialogPositions
 
TradingOfficeDialogMataData - Class in ch.sahits.game.graphic.display.notice
Meta data for the trading office
TradingOfficeDialogMataData(ICityPlayerProxy, EStringSelectionState, EStringSelectionState, EStringSelectionState, EStringSelectionState, EStringSelectionState, EStringSelectionState) - Constructor for class ch.sahits.game.graphic.display.notice.TradingOfficeDialogMataData
 
TradingOfficePersonalDialog - Class in ch.sahits.game.graphic.display.dialog
 
TradingOfficePersonalDialog(Point, double, CityPlayerProxy) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog
 
TradingOfficePersonalDialog.DialogPositions - Class in ch.sahits.game.graphic.display.dialog
This class holds the positions where different elements are placed on the dialog.
TradingOfficePersonalDialog.DialogPositions(int, int, int) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog.DialogPositions
 
TradingOfficeWareStorageDialog - Class in ch.sahits.game.graphic.display.dialog
Overview of the weapons stored in the trading office
TradingOfficeWareStorageDialog(Point, double, CityPlayerProxy) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog
 
TradingOfficeWareStorageDialog.DialogPositions - Class in ch.sahits.game.graphic.display.dialog
This class holds the positions where different elements are placed on the dialog.
TradingOfficeWareStorageDialog.DialogPositions(double, int, int) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog.DialogPositions
 
TradingOfficeWareStorageDialog.GuardNumberChange - Class in ch.sahits.game.graphic.display.dialog
 
TradingOfficeWareStorageDialog.GuardNumberChange(int) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog.GuardNumberChange
 
TradingOfficeWeaponStorageDialog - Class in ch.sahits.game.graphic.display.dialog
Overview of the weapons stored in the trading office
TradingOfficeWeaponStorageDialog(Point, double, CityPlayerProxy) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog
 
TradingOfficeWeaponStorageDialog.DialogPositions - Class in ch.sahits.game.graphic.display.dialog
This class holds the positions where different elements are placed on the dialog.
TradingOfficeWeaponStorageDialog.DialogPositions(double, int, int, int) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingOfficeWeaponStorageDialog.DialogPositions
 
TradingStockDialog - Class in ch.sahits.game.graphic.display.dialog
This is a statistical dialog displaying the socked wares in the city and their prices.
TradingStockDialog(Point, double, CityPlayerProxy) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingStockDialog
 
TradingStockDialog.DialogPositions - Class in ch.sahits.game.graphic.display.dialog
This class holds the positions where different elements are placed on the dialog.
TradingStockDialog.DialogPositions(double, int, int, int, int, int, int) - Constructor for class ch.sahits.game.graphic.display.dialog.TradingStockDialog.DialogPositions
 
type - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog
 

U

unselectOthers(AbstractSelectableComponent) - Method in class ch.sahits.game.graphic.layout.SelectableGroup
Unselect all other selectables than the the passed
updatables - Variable in class ch.sahits.game.graphic.display.OpenPatricianBackgroundView
 
update - Variable in class ch.sahits.game.graphic.layout.AbstractMultiselectableComponent
 
updateArea(Polygon) - Method in class ch.sahits.game.graphic.display.util.ClickablePolygons
 
updateCouter - Variable in class ch.sahits.game.graphic.layout.TextInput
 
updateDialog(OpenPatricianGameDialog) - Method in interface ch.sahits.game.graphic.display.gameplay.IUpdatableDialog
Pass the dialog with that should be updated
updateDialog(OpenPatricianGameDialog) - Method in class ch.sahits.game.graphic.display.gameplay.MainView
Pass the dialog with that should be updated
updateMouseState(String) - Method in class ch.sahits.game.graphic.display.start.StartupView
 
updateScene(Event, Object, CityPlayerProxy, IUpdatableDialog) - Method in interface ch.sahits.game.graphic.display.gameplay.internal.ISceneHandler
Update the scene based on an event.
updateScene(Event, Object, CityPlayerProxy, IUpdatableDialog) - Method in class ch.sahits.game.graphic.display.gameplay.internal.MarketPlaceScenehandler
 
updateScene(Event, Object, CityPlayerProxy, IUpdatableDialog) - Method in class ch.sahits.game.graphic.display.gameplay.internal.PortSceneHandler
 
updateSelected(boolean) - Method in class ch.sahits.game.graphic.layout.RadioButton
Update the selected state
updateValue(String) - Method in class ch.sahits.game.graphic.layout.TextInput
 
upSpinner - Variable in class ch.sahits.game.graphic.layout.Spinner
 

V

V_BORDER - Variable in class ch.sahits.game.graphic.layout.Button
 
validInput() - Method in class ch.sahits.game.graphic.display.start.NewGameView
check if the input is valid and one may proceed.
value - Variable in class ch.sahits.game.graphic.layout.AbstractEditableSahitsComponent
 
valueOf(String) - Static method in enum ch.sahits.game.graphic.display.dialog.ETransferAmount
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.graphic.display.dialog.ETransferDialogType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.graphic.display.gameplay.internal.EScene
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.graphic.display.notice.ENoticeItem
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.graphic.display.notice.EStringSelectionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.graphic.display.start.StartupView.MouseState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.graphic.display.start.StartupView.PageState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.graphic.layout.ECellPosition
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.sahits.game.graphic.display.dialog.ETransferAmount
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.graphic.display.dialog.ETransferDialogType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.graphic.display.gameplay.internal.EScene
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.graphic.display.notice.ENoticeItem
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.graphic.display.notice.EStringSelectionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.graphic.display.start.StartupView.MouseState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.graphic.display.start.StartupView.PageState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.graphic.layout.ECellPosition
Returns an array containing the constants of this enum type, in the order they are declared.
view - Variable in class ch.sahits.game.graphic.display.OpenPatricianFrame
 
viewchange - Variable in class ch.sahits.game.graphic.display.model.ViewChangeCityPlayerProxy
 
ViewChangeCityPlayerProxy - Class in ch.sahits.game.graphic.display.model
Proxy object for city player for view changes.
ViewChangeCityPlayerProxy(ICityPlayerProxy, EViewChangeEvent) - Constructor for class ch.sahits.game.graphic.display.model.ViewChangeCityPlayerProxy
Constructor by making a copy of the passed proxy
viewChanged - Variable in class ch.sahits.game.graphic.display.start.StartupView
 
viewState - Variable in class ch.sahits.game.graphic.display.gameplay.MainView
Use low level byte to indicate what is displayed instead of an enum.
ViewStatus - Class in ch.sahits.game.graphic.display.gameplay
This view represents the status view of the main view
ViewStatus(Rectangle, IClient) - Constructor for class ch.sahits.game.graphic.display.gameplay.ViewStatus
 
viewStatus - Variable in class ch.sahits.game.graphic.display.MainGameView
Status view of the fleet or city

W

ware - Variable in class ch.sahits.game.graphic.display.dialog.City2ShipAction
 
ware - Variable in class ch.sahits.game.graphic.display.dialog.City2StorageAction
 
ware - Variable in class ch.sahits.game.graphic.display.dialog.Ship2CityAction
 
ware - Variable in class ch.sahits.game.graphic.display.dialog.Ship2StorageAction
 
ware - Variable in class ch.sahits.game.graphic.display.dialog.Storage2CityAction
 
ware - Variable in class ch.sahits.game.graphic.display.dialog.Storage2ShipAction
 
warehouses - Variable in class ch.sahits.game.graphic.display.notice.TradingOfficeDialogMataData
State of the string linking to the warehouse overview
weapons - Variable in class ch.sahits.game.graphic.display.notice.TradeDialogMetaData
State of the String linking to the weapons trade dialog
weapons - Variable in class ch.sahits.game.graphic.display.notice.TradingOfficeDialogMataData
State of the string linking to the weapons storage
windowClosed(WindowEvent) - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
 
windowClosing(WindowEvent) - Method in class ch.sahits.game.graphic.display.OpenPatricianFrame
 

X

xBuy - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog.DialogPositions
 
xBuy - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog.DialogPositions
 
xCity - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog.DialogPositions
 
xCity - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog.DialogPositions
 
xCity - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog.DialogPositions
 
xmlLoader - Variable in class ch.sahits.game.graphic.display.gameplay.internal.AbstractSceneHandler
Loader for data from the XML
xmlLoader - Variable in class ch.sahits.game.graphic.display.gameplay.MainView
 
xNumbers - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficeWareStorageDialog.DialogPositions
 
xPortrait - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog.DialogPositions
 
xPrice - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog.DialogPositions
 
xSell - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog.DialogPositions
 
xSell - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog.DialogPositions
 
xShip - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog.DialogPositions
 
xWare - Variable in class ch.sahits.game.graphic.display.dialog.ConsumtionProductionStockDialog.DialogPositions
 
xWare - Variable in class ch.sahits.game.graphic.display.dialog.TradeDialog.DialogPositions
 
xWare - Variable in class ch.sahits.game.graphic.display.dialog.TradingStockDialog.DialogPositions
 

Y

yPortrait - Variable in class ch.sahits.game.graphic.display.dialog.TradingOfficePersonalDialog.DialogPositions
 

A B C D E F G H I L M N O P R S T U V W X Y

Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.