Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
A
a
- Variable in class jfreerails.world.train.
ConstAcc
A_REGEX
- Static variable in class jfreerails.client.common.
ImageManagerImpl
Matches anying but a string beginning with a "/"*.
abandonSearch()
- Method in interface jfreerails.controller.
IncrementalPathFinder
abandonSearch()
- Method in class jfreerails.controller.
PathOnTrackFinder
abandonSearch()
- Method in class jfreerails.controller.
SimpleAStarPathFinder
abandonSearch()
- Method in class jfreerails.controller.
TrackPathFinder
about
- Variable in class jfreerails.client.view.
DialogueBoxController
absolute2relativeTime(double)
- Method in interface jfreerails.world.common.
ActivityIterator
Converts an absolute time value to a time value relative to the start of the current activity.
AbstractEchoGameServerTestCase
- Class in
jfreerails.network
Test cases that use EchoGameServer should extend this class.
AbstractEchoGameServerTestCase()
- Constructor for class jfreerails.network.
AbstractEchoGameServerTestCase
AbstractFreerailsServerTestCase
- Class in
jfreerails.network
Test cases that use FreerailsGameServer
and
connect over the Internet should extend this class .
AbstractFreerailsServerTestCase()
- Constructor for class jfreerails.network.
AbstractFreerailsServerTestCase
AbstractInetConnection
- Class in
jfreerails.network
This class has the code that is shared by the client and server versions of InetConnection.
AbstractInetConnection(Socket)
- Constructor for class jfreerails.network.
AbstractInetConnection
AbstractInetConnection(String, int)
- Constructor for class jfreerails.network.
AbstractInetConnection
AbstractMoveTestCase
- Class in
jfreerails.move
All TestCases for moves should extend this class.
AbstractMoveTestCase()
- Constructor for class jfreerails.move.
AbstractMoveTestCase
AbstractMoveTestCase(String)
- Constructor for class jfreerails.move.
AbstractMoveTestCase
AbstractTileRenderer
- Class in
jfreerails.client.renderer
This class encapsulates the visible properties of a tile.
AbstractTileRenderer(TerrainType, int[])
- Constructor for class jfreerails.client.renderer.
AbstractTileRenderer
acceleration(int)
- Method in class jfreerails.controller.
MoveTrainPreMove
acceleration
- Variable in class jfreerails.world.train.
SpeedTimeAndStatus
acceleration
- Variable in class jfreerails.world.train.
TrainPositionOnMap
accept(File, String)
- Method in class jfreerails.server.
SavFileFilter
accepted(int)
- Static method in class jfreerails.network.
LogOnResponse
acceptedConnections
- Variable in class jfreerails.network.
FreerailsGameServer
act
- Variable in class jfreerails.world.top.
WorldImpl.ActivityAndTime
ActionAdapter
- Class in
jfreerails.client.common
Provides a mapping from a set of ButtonModels or a ComboBoxModel to a set of Actions.
ActionAdapter(Action[])
- Constructor for class jfreerails.client.common.
ActionAdapter
An array of the actions to be used.
ActionAdapter(Action[], int)
- Constructor for class jfreerails.client.common.
ActionAdapter
ActionAdapter.MappedButtonModel
- Class in
jfreerails.client.common
ActionAdapter.MappedButtonModel(Action)
- Constructor for class jfreerails.client.common.
ActionAdapter.MappedButtonModel
actionId
- Variable in class jfreerails.client.view.
StationBuildModel.StationChooseAction
actionName
- Variable in class jfreerails.client.common.
ActionAdapter.MappedButtonModel
The NAME of the Action to which this ButtonModel is mapped.
actionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
ActionRoot.BuildTrainDialogAction
actionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
ServerControlModel.LoadGameAction
actionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
ServerControlModel.NewGameAction
actionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
ServerControlModel.SaveGameAction
actionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
ServerControlModel.SetTargetTicksPerSecondAction
actionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
StationBuildModel.StationBuildAction
actionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
StationBuildModel.StationCancelAction
actionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
StationBuildModel.StationChooseAction
actionRoot
- Variable in class jfreerails.client.top.
GUIComponentFactoryImpl
actionRoot
- Variable in class jfreerails.client.top.
UserInputOnMapController
actionRoot
- Variable in class jfreerails.client.top.
UserMessageGenerator
ActionRoot
- Class in
jfreerails.client.view
Provides access to Actions change the game state and the GUI.
ActionRoot(ModelRootImpl)
- Constructor for class jfreerails.client.view.
ActionRoot
actionRoot
- Variable in class jfreerails.launcher.
GUIClient
ActionRoot.BuildTrainDialogAction
- Class in
jfreerails.client.view
ActionRoot.BuildTrainDialogAction()
- Constructor for class jfreerails.client.view.
ActionRoot.BuildTrainDialogAction
actions
- Variable in class jfreerails.client.common.
ActionAdapter
The set of actions which each button / menu item correspond to.
activelyRendereredComponents
- Static variable in class jfreerails.client.common.
RepaintManagerForActiveRendering
The JFrame(s) that are being actively rendered in the game loop(s).
ActiveView
- Interface in
jfreerails.client.view
Defines a standard method to initiate GUI components that need access to the ModelRoot
and
the ActionRoot.
activity
- Variable in class jfreerails.move.
AddActiveEntityMove
activity
- Variable in class jfreerails.move.
NextActivityMove
Activity
<
E
extends
FreerailsSerializable
> - Interface in
jfreerails.world.common
activity
- Variable in class jfreerails.world.train.
SpeedTimeAndStatus
activity
- Variable in class jfreerails.world.train.
TrainMotion
activity
- Variable in class jfreerails.world.train.
TrainPositionOnMap
ActivityIterator
- Interface in
jfreerails.world.common
activityLists
- Variable in class jfreerails.world.top.
WorldImpl
A 3D list: D1 is player, D2 is train id, D3 is train position.
add(String)
- Method in class experimental.
GenerateDependenciesXmlAndHtml
add(String[])
- Method in class experimental.
GenerateDependenciesXmlAndHtml
add(int, int)
- Method in class jfreerails.controller.
OpenList
add(int)
- Method in class jfreerails.util.
IntArray
Add a value to the array, appending it after the current values.
add(int, int)
- Method in class jfreerails.util.
IntArray
Add a value at a specified index in the array.
add(T)
- Method in interface jfreerails.util.
List1D
add(T)
- Method in class jfreerails.util.
List1DDiff
add(T)
- Method in class jfreerails.util.
List1DImpl
add(FreerailsPrincipal, int, Activity)
- Method in interface jfreerails.world.top.
World
add(FreerailsPrincipal, KEY, FreerailsSerializable)
- Method in interface jfreerails.world.top.
World
Appends the specified element to the end of the specifed list and returns the index that can be used to retrieve it.
add(SKEY, FreerailsSerializable)
- Method in interface jfreerails.world.top.
World
Appends the specified element to the end of the specifed list and returns the index that can be used to retrieve it.
add(FreerailsPrincipal, int, Activity)
- Method in class jfreerails.world.top.
WorldImpl
add(FreerailsPrincipal, KEY, FreerailsSerializable)
- Method in class jfreerails.world.top.
WorldImpl
add(SKEY, FreerailsSerializable)
- Method in class jfreerails.world.top.
WorldImpl
add(FlatTrackTemplate, FlatTrackTemplate)
- Static method in class jfreerails.world.track.
TrackConfiguration
add2Array(int[], int)
- Static method in class jfreerails.util.
ListXDDiffs
addActiveEntity(FreerailsPrincipal, Activity)
- Method in interface jfreerails.world.top.
World
addActiveEntity(FreerailsPrincipal, Activity)
- Method in class jfreerails.world.top.
WorldImpl
AddActiveEntityMove
- Class in
jfreerails.move
A move that adds an active entity.
AddActiveEntityMove(Activity, int, FreerailsPrincipal)
- Constructor for class jfreerails.move.
AddActiveEntityMove
addBtoHeadOfA(TrainPositionOnMap, TrainPositionOnMap)
- Method in class jfreerails.world.train.
TrainPositionOnMap
addCargo(CargoBatch, int)
- Method in class jfreerails.world.cargo.
MutableCargoBundle
AddCargoBundleMove
- Class in
jfreerails.move
This Move adds a cargo bundle to the cargo bundle list.
AddCargoBundleMove(int, ImmutableCargoBundle, FreerailsPrincipal)
- Constructor for class jfreerails.move.
AddCargoBundleMove
addClip(String)
- Method in class jfreerails.client.common.
SoundManager
addCompleteMoveReceiver(MoveReceiver)
- Method in class jfreerails.client.common.
ModelRootImpl
addCompleteMoveReceiver(MoveReceiver)
- Method in class jfreerails.network.
MoveChainFork
addConnection(Connection2Client)
- Method in class jfreerails.network.
EchoGameServer
addConnection(Connection2Client)
- Method in class jfreerails.network.
FreerailsGameServer
addConnection(Connection2Client)
- Method in interface jfreerails.network.
GameServer
addD1()
- Method in interface jfreerails.util.
List2D
addD1()
- Method in class jfreerails.util.
List2DDiff
addD1()
- Method in class jfreerails.util.
List2DImpl
addD1()
- Method in interface jfreerails.util.
List3D
addD1()
- Method in class jfreerails.util.
List3DDiff
addD1()
- Method in class jfreerails.util.
List3DImpl
addD2(int, T)
- Method in interface jfreerails.util.
List2D
addD2(int, T)
- Method in class jfreerails.util.
List2DDiff
addD2(int, T)
- Method in class jfreerails.util.
List2DImpl
addD2(int)
- Method in interface jfreerails.util.
List3D
addD2(int)
- Method in class jfreerails.util.
List3DDiff
addD2(int)
- Method in class jfreerails.util.
List3DImpl
addD3(int, int, T)
- Method in interface jfreerails.util.
List3D
addD3(int, int, T)
- Method in class jfreerails.util.
List3DDiff
addD3(int, int, T)
- Method in class jfreerails.util.
List3DImpl
addDimension(int...)
- Method in class jfreerails.util.
ListXDDiffs
addDirtyRegion(JComponent, int, int, int, int)
- Method in class jfreerails.client.common.
RepaintManagerForActiveRendering
addElement(T, int...)
- Method in class jfreerails.util.
ListXDDiffs
addIndustryTile(CityEconomicModel)
- Method in class jfreerails.server.
CityTilePositioner
addInvalidComponent(JComponent)
- Method in class jfreerails.client.common.
RepaintManagerForActiveRendering
AddItemToListMove
- Class in
jfreerails.move
All moves that add an item to a list should extend this class.
AddItemToListMove(KEY, int, FreerailsSerializable, FreerailsPrincipal)
- Constructor for class jfreerails.move.
AddItemToListMove
AddItemToSharedListMove
- Class in
jfreerails.move
All moves that add an item to a shared list should extend this class.
AddItemToSharedListMove(SKEY, int, FreerailsSerializable)
- Constructor for class jfreerails.move.
AddItemToSharedListMove
AddItemTransaction
- Class in
jfreerails.world.accounts
This Transaction represents the charge/credit for buying/selling an item.
AddItemTransaction(Transaction.Category, int, int, Money)
- Constructor for class jfreerails.world.accounts.
AddItemTransaction
addJFrame(JFrame)
- Static method in class jfreerails.client.common.
RepaintManagerForActiveRendering
addListDataListener(ListDataListener)
- Method in class jfreerails.client.view.
DisplayModesComboBoxModels
addListDataListener(ListDataListener)
- Method in class jfreerails.client.view.
World2ListModelAdapter
addListListener(WorldListListener)
- Method in class jfreerails.client.common.
ModelRootImpl
addListListener(WorldListListener)
- Method in class jfreerails.network.
MoveChainFork
addMainMapAndOverviewMapMediatorIfNecessary()
- Method in class experimental.
SimpleComponentFactoryImpl2
addMainmapzoomMenuItem(JMenu, float)
- Method in class experimental.
SimpleComponentFactoryImpl2
addMapListener(WorldMapListener)
- Method in class jfreerails.client.common.
ModelRootImpl
addMapListener(WorldMapListener)
- Method in class jfreerails.network.
MoveChainFork
addNoBridgesButton()
- Method in class jfreerails.client.view.
BuildTrackJPanel
addNoTunnelsButton()
- Method in class jfreerails.client.view.
BuildTrackJPanel
addOrder(int, TrainOrdersModel)
- Method in class jfreerails.world.train.
MutableSchedule
Inserts an order at the specified position.
addOrder(TrainOrdersModel)
- Method in class jfreerails.world.train.
MutableSchedule
addOverviewmapzoomMenuItem(JMenu, float)
- Method in class experimental.
SimpleComponentFactoryImpl2
addPlayer(Player)
- Method in interface jfreerails.world.top.
World
addPlayer(Player)
- Method in class jfreerails.world.top.
WorldImpl
AddPlayerMove
- Class in
jfreerails.move
Adds a player to the world.
AddPlayerMove(Player)
- Constructor for class jfreerails.move.
AddPlayerMove
addPropertyChangeListener(ModelRootListener)
- Method in class jfreerails.client.common.
ModelRootImpl
addPropertyChangeListener(PropertyChangeListener)
- Method in class jfreerails.network.
FreerailsGameServer
addResourceTile(CityEconomicModel)
- Method in class jfreerails.server.
CityTilePositioner
addSkipPrefix(String)
- Method in class jfreerails.util.
ClassLocater
Adds a prefix for classes (and packages) to completely ignore, based on their package + class name.
addSplitMoveReceiver(MoveReceiver)
- Method in class jfreerails.client.common.
ModelRootImpl
addSplitMoveReceiver(MoveReceiver)
- Method in class jfreerails.network.
MoveChainFork
addStation
- Variable in class jfreerails.client.view.
BuildTrackJPanel
addStationActionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
BuildTrackJPanel
addStationJButton
- Variable in class jfreerails.client.view.
TrainScheduleJPanel
addStationJButtonActionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
TrainScheduleJPanel
AddStationMove
- Class in
jfreerails.move
This
CompositeMove
adds a station to the station list and adds a cargo bundle (to store the cargo waiting at the station) to the cargo bundle list.
AddStationMove(Move[])
- Constructor for class jfreerails.move.
AddStationMove
AddStationPreMove
- Class in
jfreerails.controller
Generates a move that adds or upgrades a station.
AddStationPreMove(ImPoint, int, FreerailsPrincipal)
- Constructor for class jfreerails.controller.
AddStationPreMove
addSteps(Step...)
- Method in class jfreerails.world.train.
PathOnTiles
addSupplyAndDemand(CompositeMove, ReadOnlyWorld)
- Method in class jfreerails.controller.
AddStationPreMove
addTerrainTileTypesList(World)
- Method in interface jfreerails.server.common.
TileSetFactory
addTerrainTileTypesList(World)
- Method in class jfreerails.server.
TileSetFactoryImpl
addTile(TerrainType)
- Method in class jfreerails.server.
CityEconomicModel
addToHead(TrainPositionOnMap)
- Method in class jfreerails.world.train.
TrainPositionOnMap
addToTail(TrainPositionOnMap)
- Method in class jfreerails.world.train.
TrainPositionOnMap
addTrack
- Variable in class jfreerails.client.view.
BuildTrackJPanel
addTrackActionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
BuildTrackJPanel
addTrackRules(World)
- Method in class jfreerails.server.parser.
Track_TilesHandlerImpl
AddTrainPreMove
- Class in
jfreerails.controller
AddTrainPreMove(int, ImInts, ImPoint, FreerailsPrincipal, ImmutableSchedule)
- Constructor for class jfreerails.controller.
AddTrainPreMove
addTransaction(FreerailsPrincipal, Transaction)
- Method in interface jfreerails.world.top.
World
Adds the specified transaction to the specified principal's bank account.
addTransaction(FreerailsPrincipal, Transaction)
- Method in class jfreerails.world.top.
WorldImpl
AddTransactionMove
- Class in
jfreerails.move
This
Move
adds a
Transaction
to a players bank account on the
World
object.
AddTransactionMove(FreerailsPrincipal, Transaction)
- Constructor for class jfreerails.move.
AddTransactionMove
AddTransactionMove(FreerailsPrincipal, Transaction, boolean)
- Constructor for class jfreerails.move.
AddTransactionMove
addTransactions(Move)
- Method in class jfreerails.move.
TrackMoveTransactionsGenerator
addTypesToWorld(World)
- Method in class jfreerails.world.top.
WagonAndEngineTypesFactory
addUrbanTile(CityEconomicModel)
- Method in class jfreerails.server.
CityTilePositioner
addwagon()
- Method in class jfreerails.client.view.
SelectWagonsJPanel
addWagon(int)
- Method in class jfreerails.client.view.
TrainScheduleJPanel
addWagonJMenu
- Variable in class jfreerails.client.view.
TrainScheduleJPanel
affineTransform
- Variable in class jfreerails.client.renderer.
ZoomedOutMapRenderer
after
- Variable in class jfreerails.move.
ChangeItemInListMove
after
- Variable in class jfreerails.move.
ChangeProductionAtEngineShopMove
after
- Variable in class jfreerails.move.
ChangeTileMove
after
- Variable in class jfreerails.move.
WorldDiffMove.MapDiff
aHeadEqualsBTail(TrainPositionOnMap, TrainPositionOnMap)
- Static method in class jfreerails.world.train.
TrainPositionOnMap
alreadyInUse
- Static variable in class jfreerails.client.top.
SynchronizedEventQueue
amount
- Variable in class jfreerails.world.accounts.
AddItemTransaction
amount
- Variable in class jfreerails.world.accounts.
Bill
amount
- Variable in class jfreerails.world.accounts.
Receipt
amount
- Variable in class jfreerails.world.common.
Money
amounts
- Variable in class jfreerails.world.cargo.
ImmutableCargoBundle
AnimationExpt
- Class in
experimental
This class tests that the game loop and screen handler are working correctly.
AnimationExpt()
- Constructor for class experimental.
AnimationExpt
ANY_VALUE
- Static variable in class jfreerails.world.top.
ItemsTransactionAggregator
anyKeyToContinueJLabel
- Variable in class jfreerails.client.view.
NewsPaperJPanel
append(int...)
- Method in class jfreerails.world.common.
ImInts
appendBuildProps(StringBuffer)
- Static method in class jfreerails.controller.
ReportBugTextGenerator
apply()
- Method in class jfreerails.controller.
ScreenHandler
ArrayBase
- Class in
jfreerails.util
Base class for type-specific growable array classes with any type of values (including primitive types).
ArrayBase(int, int, Class)
- Constructor for class jfreerails.util.
ArrayBase
Constructor with full specification.
ArrayBase(int, Class)
- Constructor for class jfreerails.util.
ArrayBase
Constructor with partial specification.
ArrayBase(ArrayBase)
- Constructor for class jfreerails.util.
ArrayBase
Copy (clone) constructor.
arrivesAtPoint(int, int)
- Method in class jfreerails.controller.
TrainStopsHandler
assertDoMoveFails(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertDoMoveIsOk(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertDoThenUndoLeavesWorldUnchanged(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertOkAndRepeatable(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertOkButNotRepeatable(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
Generally moves should not be repeatable.
assertSetupHasBeenCalled()
- Method in class jfreerails.move.
AbstractMoveTestCase
assertSurvivesSerialisation(FreerailsSerializable)
- Method in class jfreerails.move.
AbstractMoveTestCase
This method asserts that if we serialise then deserialise the specified move, the specified move is equal to the deserialised move.
assertTrackHere(int, int)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertTrackHere(PathOnTiles)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertTryMoveFails(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertTryMoveIsOk(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertTryUndoMoveFails(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertTryUndoMoveIsOk(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertUndoMoveFails(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
assertUndoMoveIsOk(Move)
- Method in class jfreerails.move.
AbstractMoveTestCase
audio
- Variable in class jfreerails.client.common.
SoundManager.Sample
AUTHORITATIVE
- Static variable in class jfreerails.world.player.
Player
This Principal can be granted all permissions.
autoConsist
- Variable in class jfreerails.controller.
DropOffAndPickupCargoMoveGenerator
autoConsist()
- Method in class jfreerails.world.train.
ImmutableSchedule
autoConsist()
- Method in class jfreerails.world.train.
MutableSchedule
autoConsist()
- Method in interface jfreerails.world.train.
Schedule
Returns the value for the autoconsist flag at the next scheduled stop.
autoConsist
- Variable in class jfreerails.world.train.
TrainOrdersModel
autoConsistJMenuItem
- Variable in class jfreerails.client.view.
TrainScheduleJPanel
autoConsistJMenuItemActionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
TrainScheduleJPanel
available()
- Method in class jfreerails.util.
CompressedInputStream
B
backgoundColor
- Variable in class jfreerails.client.view.
TrainListCellRenderer
backgoundColor
- Variable in class jfreerails.client.view.
TrainOrderJPanel
backgoundColor
- Variable in class jfreerails.client.view.
TrainSummaryJPanel
background
- Variable in class jfreerails.client.view.
DetailMapRenderer
backgroundBuffer
- Variable in class jfreerails.client.renderer.
BufferedTiledBackgroundRenderer
An offscreen image storing the background of a region of the map.
backwardsIterator(List<Point>)
- Static method in class jfreerails.world.common.
FreerailsPathIteratorImpl
BalanceSheetGenerator
- Class in
jfreerails.controller
Generates the balance sheet - note, its fields are read using reflection so don't change their names.
BalanceSheetGenerator(ReadOnlyWorld, FreerailsPrincipal)
- Constructor for class jfreerails.controller.
BalanceSheetGenerator
BalanceSheetGenerator.Stats
- Class in
jfreerails.controller
BalanceSheetGenerator.Stats(ReadOnlyWorld, FreerailsPrincipal, GameTime[])
- Constructor for class jfreerails.controller.
BalanceSheetGenerator.Stats
BalanceSheetHtmlJPanel
- Class in
jfreerails.client.view
A HtmlJPanel that displays the balance sheet.
BalanceSheetHtmlJPanel()
- Constructor for class jfreerails.client.view.
BalanceSheetHtmlJPanel
bankAccounts
- Variable in class jfreerails.world.top.
WorldImpl
A 2D list: D1 is player, D2 is transaction.
baseArray
- Variable in class jfreerails.util.
IntArray
The underlying array used for storing the data.
baseInterestRate
- Variable in class jfreerails.world.accounts.
EconomicClimate
batches
- Variable in class jfreerails.world.cargo.
ImmutableCargoBundle
before
- Variable in class jfreerails.move.
ChangeItemInListMove
before
- Variable in class jfreerails.move.
ChangeProductionAtEngineShopMove
before
- Variable in class jfreerails.move.
ChangeTileMove
before
- Variable in class jfreerails.move.
WorldDiffMove.MapDiff
BEFORE_FIRST
- Static variable in interface jfreerails.world.top.
WorldIterator
beforeEqualsAfter()
- Method in class jfreerails.move.
ChangeItemInListMove
beforeFirst
- Variable in class jfreerails.controller.
BuildTrackExplorer
beforeFirst
- Variable in class jfreerails.controller.
FlatTrackExplorer
beforeFirst
- Variable in class jfreerails.world.train.
PathWalkerImpl
BEST_DISPLAY_MODES
- Static variable in class jfreerails.controller.
ScreenHandler
bestPath
- Variable in class jfreerails.controller.
SimpleAStarPathFinder
bestPathF
- Variable in class jfreerails.controller.
SimpleAStarPathFinder
bg
- Variable in class jfreerails.client.renderer.
BufferedTiledBackgroundRenderer
Used to draw on the backbuffer.
bgColor
- Variable in class jfreerails.client.renderer.
StationBoxRenderer
bgColor
- Variable in class jfreerails.client.renderer.
StationNamesRenderer
bgColor
- Variable in class jfreerails.client.top.
FPScounter
bHeadEqualsATail(TrainPositionOnMap, TrainPositionOnMap)
- Static method in class jfreerails.world.train.
TrainPositionOnMap
BIG_BANG
- Static variable in class jfreerails.world.common.
GameTime
The first possible time.
BIG_DOT_WIDTH
- Static variable in class jfreerails.client.renderer.
BuildTrackRenderer
Bill
- Class in
jfreerails.world.accounts
For example, the cost of buying a trains.
Bill(Money, Transaction.Category)
- Constructor for class jfreerails.world.accounts.
Bill
BinaryNumberFormatter
- Class in
jfreerails.client.common
Used to generate filenames for track and terrain images.
BinaryNumberFormatter()
- Constructor for class jfreerails.client.common.
BinaryNumberFormatter
BITS_FOR_COORINATE
- Static variable in class jfreerails.world.common.
PositionOnTrack
BITS_FOR_DIRECTION
- Static variable in class jfreerails.world.common.
PositionOnTrack
BlankMapRenderer
- Class in
jfreerails.client.renderer
Used for testing the Map view components without setting up any map data.
BlankMapRenderer(float)
- Constructor for class jfreerails.client.renderer.
BlankMapRenderer
blocked
- Variable in class jfreerails.network.
MovePrecommitter
Whether the first move on the uncommitted list failed to go through on the last try.
BOND_VALUE_ISSUE
- Static variable in class jfreerails.world.accounts.
BondTransaction
BOND_VALUE_REPAY
- Static variable in class jfreerails.world.accounts.
BondTransaction
bondInterestRates()
- Method in class jfreerails.controller.
FinancialDataGatherer
bonds
- Variable in class jfreerails.client.view.
BrokerJFrame
bonds
- Variable in class jfreerails.controller.
FinancialDataGatherer
BondTransaction
- Class in
jfreerails.world.accounts
A Transaction that adds or removes a Bond.
BondTransaction(Transaction.Category, int, int, Money)
- Constructor for class jfreerails.world.accounts.
BondTransaction
BOOM
- Static variable in class jfreerails.world.accounts.
EconomicClimate
borderColor
- Variable in class jfreerails.client.renderer.
StationRadiusRenderer
Colour of the highlighted border.
boundsContain(int, int)
- Method in interface jfreerails.world.top.
ReadOnlyWorld
boundsContain(FreerailsPrincipal, KEY, int)
- Method in interface jfreerails.world.top.
ReadOnlyWorld
boundsContain(SKEY, int)
- Method in interface jfreerails.world.top.
ReadOnlyWorld
boundsContain(FreerailsPrincipal, KEY, int)
- Method in class jfreerails.world.top.
WorldImpl
boundsContain(int, int)
- Method in class jfreerails.world.top.
WorldImpl
boundsContain(SKEY, int)
- Method in class jfreerails.world.top.
WorldImpl
bridgeButtonGroup
- Variable in class jfreerails.client.view.
BuildTrackJPanel
bridgesJPanel
- Variable in class jfreerails.client.view.
BuildTrackJPanel
BrokerJFrame
- Class in
jfreerails.client.view
BrokerJFrame()
- Constructor for class jfreerails.client.view.
BrokerJFrame
Creates new form BrokerJFrame
BrokerJFrame(URL)
- Constructor for class jfreerails.client.view.
BrokerJFrame
BrokerJFrame(URL, HashMap)
- Constructor for class jfreerails.client.view.
BrokerJFrame
BrokerJFrame(String)
- Constructor for class jfreerails.client.view.
BrokerJFrame
brokerMenu
- Variable in class jfreerails.client.top.
GUIComponentFactoryImpl
brokerMenu
- Variable in class jfreerails.client.top.
GUIComponentFactoryTestImpl
brokerMenu
- Variable in class jfreerails.client.view.
BrokerJFrame
BrokerMenu1
- Variable in class jfreerails.client.top.
ClientJFrame
BrokerScreenGenerator
- Class in
jfreerails.client.view
BrokerScreenGenerator(ReadOnlyWorld, FreerailsPrincipal)
- Constructor for class jfreerails.client.view.
BrokerScreenGenerator
Creates a new instance of BrokerScreenGenerator
brokerScreenGenerator
- Static variable in class jfreerails.client.view.
BrokerScreenHtmlJFrame
BrokerScreenHtmlJFrame
- Class in
jfreerails.client.view
BrokerScreenHtmlJFrame()
- Constructor for class jfreerails.client.view.
BrokerScreenHtmlJFrame
Creates a new instance of BrokerScreenHtmlJPanel
buffer
- Variable in class jfreerails.server.parser.
CargoAndTerrainParser
buffer
- Variable in class jfreerails.server.parser.
Track_TilesParser
buffer
- Variable in class jfreerails.util.
CompressedInputStream
buffer
- Variable in class jfreerails.util.
CompressedOutputStream
BufferedTiledBackgroundRenderer
- Class in
jfreerails.client.renderer
This abstract class stores a buffer of the background of the current visible rectangle of the map.
BufferedTiledBackgroundRenderer()
- Constructor for class jfreerails.client.renderer.
BufferedTiledBackgroundRenderer
bufferRect
- Variable in class jfreerails.client.renderer.
BufferedTiledBackgroundRenderer
The bounds and location of the map region that is stored in the offscreen Image backgraoundBuffer.
bufferStrategy
- Variable in class jfreerails.controller.
ScreenHandler
buildActionListener
- Variable in class jfreerails.client.view.
StationPlacementCursor
buildArray(Class, int, int)
- Method in class jfreerails.util.
ArrayBase
Constructs and returns a simple array containing the same data as held in a portion of this growable array.
buildArray(Class, int, int)
- Method in class jfreerails.util.
GrowableBase
Constructs and returns a simple array containing the same data as held in a portion of this growable array.
buildEnabled
- Variable in class jfreerails.client.view.
StationPlacementCursor
builder
- Variable in class jfreerails.move.
ChangeTrackPieceCompositeMove
BuildIndustryJPopupMenu
- Class in
jfreerails.client.top
A JPopupMenu that displays the list of industries that can be built.
BuildIndustryJPopupMenu()
- Constructor for class jfreerails.client.top.
BuildIndustryJPopupMenu
buildIndustryJPopupMenu
- Variable in class jfreerails.client.top.
UserInputOnMapController
BuildMenu
- Class in
jfreerails.client.top
The menu that lets you select a track type.
BuildMenu()
- Constructor for class jfreerails.client.top.
BuildMenu
buildMenu
- Variable in class jfreerails.client.top.
ClientJFrame
buildMenu
- Variable in class jfreerails.client.top.
GUIComponentFactoryImpl
buildMenu
- Variable in class jfreerails.client.top.
GUIComponentFactoryTestImpl
buildModeButtonGroup
- Variable in class jfreerails.client.view.
BuildTrackJPanel
buildModeJPanel
- Variable in class jfreerails.client.view.
BuildTrackJPanel
buildNewTrack
- Variable in class jfreerails.client.renderer.
BuildTrackController
buildStation(ImPoint)
- Method in class jfreerails.controller.
StationBuilder
buildTrack
- Variable in class jfreerails.client.top.
UserInputOnMapController
buildTrack
- Variable in class jfreerails.client.view.
FreerailsCursor
buildTrack(ImPoint, Step[])
- Method in class jfreerails.controller.
TrackMoveProducer
buildTrack(ImPoint, Step)
- Method in class jfreerails.controller.
TrackMoveProducer
BuildTrackController
- Class in
jfreerails.client.renderer
This class provides methods to change the proposed track and save it to the real world.
BuildTrackController(ReadOnlyWorld, ModelRoot)
- Constructor for class jfreerails.client.renderer.
BuildTrackController
BuildTrackRenderer
buildTrackController
- Variable in class jfreerails.client.view.
DetailMapRenderer
BuildTrackExplorer
- Class in
jfreerails.controller
GraphExplorer that explorers possible track placements, the ints it returns are encoded PositionOnTrack objects.
BuildTrackExplorer(ReadOnlyWorld, FreerailsPrincipal)
- Constructor for class jfreerails.controller.
BuildTrackExplorer
BuildTrackExplorer(ReadOnlyWorld, FreerailsPrincipal, ImPoint, ImPoint)
- Constructor for class jfreerails.controller.
BuildTrackExplorer
BuildTrackJPanel
- Class in
jfreerails.client.view
A JPanel that presents toggle buttons that let the player select the build mode (build track, upgrade track, build station, bulldoze, and info mode) and select the track/bridge/station type to use.
BuildTrackJPanel()
- Constructor for class jfreerails.client.view.
BuildTrackJPanel
Creates new form BuildTrackJPanel
buildTrackPanel
- Variable in class jfreerails.client.view.
RHSJTabPane
BuildTrackRenderer
- Class in
jfreerails.client.renderer
This class draws the track being build.
BuildTrackRenderer(RenderersRoot, ModelRoot)
- Constructor for class jfreerails.client.renderer.
BuildTrackRenderer
buildTrackRenderer
- Variable in class jfreerails.client.view.
DetailMapRenderer
buildTrackStrategy
- Variable in class jfreerails.controller.
BuildTrackExplorer
BuildTrackStrategy
- Class in
jfreerails.controller
A BuildTrackStrategy determines which track types to build (or upgrade to) on different terrains.
BuildTrackStrategy(int[])
- Constructor for class jfreerails.controller.
BuildTrackStrategy
Creates a new instance of BuildTrackStrategy
buildTrain(int, ImInts, ImPoint, FreerailsPrincipal, ReadOnlyWorld)
- Method in class jfreerails.server.
TrainUpdater
buildTrainDialogAction
- Variable in class jfreerails.client.view.
ActionRoot
buildTrains(ReadOnlyWorld)
- Method in class jfreerails.server.
TrainUpdater
Iterator over the stations and build trains at any that have their production field set.
builtTrack
- Variable in class jfreerails.client.renderer.
BuildTrackController
BULK_FREIGHT
- Static variable in class jfreerails.world.train.
WagonType
bulkFreightTotal
- Variable in class jfreerails.client.view.
IncomeStatementGenerator
bulkFreightYtd
- Variable in class jfreerails.client.view.
IncomeStatementGenerator
bulldoze
- Variable in class jfreerails.client.view.
BuildTrackJPanel
bulldozeActionPerformed(ActionEvent)
- Method in class jfreerails.client.view.
BuildTrackJPanel
buttonGroup1
- Variable in class jfreerails.launcher.
ClientOptionsJPanel
buttonGroup1
- Variable in class jfreerails.launcher.
LauncherPanel1
buttonModels
- Variable in class jfreerails.client.common.
ActionAdapter
The set of MappedButtonModels corresponding to the actions.
buttonModels
- Variable in class jfreerails.launcher.
LauncherPanel1
buyOrSellStock(int, int, Money)
- Static method in class jfreerails.world.accounts.
StockTransaction
buyPrice
- Variable in class jfreerails.controller.
StockPriceCalculator.StockPrice
buyStock
- Variable in class jfreerails.client.view.
BrokerScreenHtmlJFrame
byteReceived
- Variable in class jfreerails.util.
FlowRateInputStream
byteReceivedCumul
- Variable in class jfreerails.util.
FlowRateInputStream
byteSent
- Variable in class jfreerails.util.
FlowRateOutputStream
byteSentCumul
- Variable in class jfreerails.util.
FlowRateOutputStream
C
cal
- Variable in class jfreerails.client.view.
BrokerScreenGenerator
cal
- Variable in class jfreerails.client.view.
IncomeStatementGenerator
cal
- Variable in class jfreerails.controller.
BalanceSheetGenerator
calcA(double)
- Method in class jfreerails.world.train.
CompositeSpeedAgainstTime
calcA(double)
- Method in class jfreerails.world.train.
ConstAcc
calcA(double)
- Method in interface jfreerails.world.train.
SpeedAgainstTime
CalcCargoSupplyRateAtStation
- Class in
jfreerails.controller
This class probes the tiles adjacent to a station for what cargo they supply, demand, and convert and then returns a vector of these rates.
CalcCargoSupplyRateAtStation(ReadOnlyWorld, int, int, int)
- Constructor for class jfreerails.controller.
CalcCargoSupplyRateAtStation
Call this constructor if the station does not exist yet.
CalcCargoSupplyRateAtStation(ReadOnlyWorld, int, int)
- Constructor for class jfreerails.controller.
CalcCargoSupplyRateAtStation
Call this constructor if the station already exists.
CalcNearestCity
- Class in
jfreerails.controller
Class to find the nearest city and return that name, so that a station can be named appropriately.
CalcNearestCity(ReadOnlyWorld, int, int)
- Constructor for class jfreerails.controller.
CalcNearestCity
calcOffSet(double)
- Method in class jfreerails.world.train.
TrainMotion
calcS(double)
- Method in class jfreerails.world.train.
CompositeSpeedAgainstTime
calcS(double)
- Method in class jfreerails.world.train.
ConstAcc
calcS(double)
- Method in interface jfreerails.world.train.
SpeedAgainstTime
Returns the distance travelled at time t.
CalcSupplyAtStations
- Class in
jfreerails.server
This class loops through all of the known stations and recalculates the cargoes that they supply, demand, and convert.
CalcSupplyAtStations(World, MoveReceiver)
- Constructor for class jfreerails.server.
CalcSupplyAtStations
Constructor, currently called from GUIComponentFactory.
calcSupplyAtStations
- Variable in class jfreerails.server.
ServerGameModelImpl
calcT(double)
- Method in class jfreerails.world.train.
CompositeSpeedAgainstTime
calcT(double, double, double)
- Static method in class jfreerails.world.train.
ConstAcc
calcT(double)
- Method in class jfreerails.world.train.
ConstAcc
calcT(double)
- Method in interface jfreerails.world.train.
SpeedAgainstTime
Returns the time taken to travel distance s.
calculate()
- Method in class jfreerails.controller.
StockPriceCalculator
calculateAmountToAdd(int, int)
- Method in class jfreerails.server.
CargoAtStationsGenerator
calculateCarLoads(ImmutableCargoBundle, int)
- Method in class jfreerails.client.renderer.
StationBoxRenderer
The length of the returned array is the number of complete carloads of the specified cargo category in the specified bundle.
calculateQuantitiesAndValues()
- Method in class jfreerails.world.top.
ItemsTransactionAggregator
calculateQuantity()
- Method in class jfreerails.world.top.
ItemsTransactionAggregator
calculateValue()
- Method in class jfreerails.world.top.
TransactionAggregator
Returns the sum of the appropriate transactions.
calculateValues()
- Method in class jfreerails.world.top.
TransactionAggregator
Returns the sum of the appropriate transactions up to (inclusive) each of the specified times.
calculations(StationModel)
- Method in class jfreerails.controller.
CalcCargoSupplyRateAtStation
Process each existing station, updating what is supplied to it.
calcV(double)
- Method in class jfreerails.world.train.
CompositeSpeedAgainstTime
calcV(double)
- Method in class jfreerails.world.train.
ConstAcc
calcV(double)
- Method in interface jfreerails.world.train.
SpeedAgainstTime
CALENDAR
- Static variable in class jfreerails.world.top.
ITEM
callBack
- Variable in class jfreerails.client.view.
NewsPaperJPanel
callBrokerJMenuItem
- Variable in class jfreerails.client.top.
GUIComponentFactoryImpl
calProfit()
- Method in class jfreerails.controller.
BalanceSheetGenerator.Stats
calRevenue(String)
- Method in class jfreerails.client.view.
IncomeStatementGenerator
calStockPrice(long, long, int, int)
- Static method in class jfreerails.controller.
StockPriceCalculator
calTotal(Transaction.Category)
- Method in class jfreerails.client.view.
IncomeStatementGenerator
calTrackTotal(Transaction.Category, ReadOnlyWorld, FreerailsPrincipal, GameTime)
- Static method in class jfreerails.controller.
BalanceSheetGenerator
calTrainLength()
- Method in class jfreerails.controller.
AddTrainPreMove
calTrainRevenue(int)
- Method in class jfreerails.client.view.
IncomeStatementGenerator
calulateDistance()
- Method in class jfreerails.world.train.
TrainPositionOnMap
calulatePrice()
- Method in class jfreerails.controller.
SharePriceCalculator
cameFrom
- Variable in class jfreerails.world.common.
PositionOnTrack
The direction from which we entered the tile.
cameFrom()
- Method in class jfreerails.world.common.
PositionOnTrack
canAddOrder()
- Method in class jfreerails.world.train.
MutableSchedule
canAddToHead(TrainPositionOnMap)
- Method in class jfreerails.world.train.
TrainPositionOnMap
canAddToTail(TrainPositionOnMap)
- Method in class jfreerails.world.train.
TrainPositionOnMap
canAddWagon()
- Method in class jfreerails.world.train.
TrainModel
canBuildOnThisTerrain(TerrainType.Category)
- Method in class jfreerails.world.track.