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

A

AbortAction - Static variable in interface gecco.communication.messages.MessageType
 
abortAction(long) - Method in interface gecco.client.Server
Abort an action that has previously been asked to be executed.
abortAction(long) - Method in class gecco.communication.client.ServerAmbassador
Called by the client when it wants a unit to abort an action
abortAction(String, int) - Method in class gecco.server.actionprocessor.ActionProcessor
Aborts an ongoing action for a unit.
abortAction(String, long) - Method in class gecco.server.core.ServerImpl
Aborts the given action.
abortAction(String, long) - Method in interface gecco.server.core.Server
Aborts the given action.
AbortActionMessage - class gecco.communication.messages.AbortActionMessage.
This class is put in the send queue, on the clients side of the communication, when the client calls abortAction()
AbortActionMessage(long) - Constructor for class gecco.communication.messages.AbortActionMessage
Constructor for the AbortActionMessage object
abortAllExecutingActions() - Method in class gecco.client.Piece
Removes all executing actions of this piece (both queued and currenlty executing).
abortButton - Variable in class gecco.client.infopanels.ActionDisplay
Description of the Field
abortExecutingAction(Piece) - Method in class gecco.client.Game
Aborts the currently executing action of the given piece.
abortExecutingAction(Piece, boolean) - Method in class gecco.client.Game
Aborts the currently executing action of the given piece.
AbortGame - Static variable in interface gecco.communication.messages.MessageType
 
abortGame() - Method in class gecco.communication.server.DataOutputExchangeHandler
called when the client says it wants to abort the game or disconnect
abortGame() - Method in class gecco.communication.server.DataInputExchangeHandler
called when the client says it wants to abort the game or disconnect
AbortGameMessage - class gecco.communication.messages.AbortGameMessage.
This message is put in the send queue in the client part of the communication, when the client calls abortGame()
AbortGameMessage() - Constructor for class gecco.communication.messages.AbortGameMessage
 
abortQueuedAction(Action) - Method in class gecco.client.Piece
Description of the Method
About - class gecco.client.dialogs.About.
This class supplies a modal dialog that displays info about the game.
AcceptConnection - Static variable in interface gecco.communication.messages.MessageType
 
AcceptConnectionMessage - class gecco.communication.messages.AcceptConnectionMessage.
This message is sent to the client when it is accepted by the server.
AcceptConnectionMessage() - Constructor for class gecco.communication.messages.AcceptConnectionMessage
 
acceptRole(String) - Method in class gecco.communication.server.ClientAmbassador
Called by NewClientListener when it wants to check if the role a client wants to join as, is a legal role
Action - class gecco.client.Action.
An Action is a thing that a Piece can do.
Action - class gecco.server.core.Action.
This class represents an Action that a unit can execute, and every real action should be a subclass of this class.
Action() - Constructor for class gecco.server.core.Action
Constructor for the Action object
Action(Action) - Constructor for class gecco.client.Action
Constructor for the Action object
Action(Action, Object) - Constructor for class gecco.client.Action
Constructor for the Action object
Action(String, String, int, boolean) - Constructor for class gecco.client.Action
Constructor for the Action object
Action(String, String, int, boolean, Object) - Constructor for class gecco.client.Action
Constructor for the Action object
ActionBlocked - Static variable in interface gecco.communication.messages.MessageType
 
actionBlocked(Unit, ActionDefinition, boolean) - Method in interface gecco.server.visibility.VisibilityFilter
This method should be called whenever an action becomes blocked or unblocked.
actionBlocked(Unit, ActionDefinition, boolean) - Method in class gecco.server.visibility.VisibilityManager
This method should be called whenever an action becomes blocked or unblocked.
ActionBlockedMessage - class gecco.communication.messages.ActionBlockedMessage.
This message is put in the send queue on the server part of the communication, when the server calls unitActionBlocked
ActionBlockedMessage(int, String, String, int, boolean, boolean) - Constructor for class gecco.communication.messages.ActionBlockedMessage
Constructor for the ActionBlockedMessage object
ActionBlockedMessage(int, String, String, String, boolean) - Constructor for class gecco.communication.messages.ActionBlockedMessage
Constructor for the ActionBlockedMessage object
ActionCompleted - Static variable in interface gecco.communication.messages.MessageType
 
actionCompleted(Action, boolean) - Method in interface gecco.server.visibility.VisibilityFilter
This method is to be called whenever the execution of an action is finished.
actionCompleted(Action, boolean) - Method in class gecco.server.visibility.VisibilityManager
This method is to be called whenever the execution of an action is finished.
actionCompleted(String, int) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
actionCompleted(String, int) - Method in interface gecco.server.core.Client
Tells the clients that an action was successfully completed.
ActionCompletedMessage - class gecco.communication.messages.ActionCompletedMessage.
This message is put in the send queue on the server part of the communication, when the server calls actionCompleted
ActionCompletedMessage(long) - Constructor for class gecco.communication.messages.ActionCompletedMessage
Constructor for the ActionCompletedMessage object
ActionDefinition - class gecco.server.core.ActionDefinition.
Represents a definition of an Action, as defined in the configuration files.
ActionDefinition(String, Class, String, String) - Constructor for class gecco.server.core.ActionDefinition
Constructor for the ActionDefinition object
ActionDisplay - class gecco.client.infopanels.ActionDisplay.
This panel contains the action information of a piece.
ActionDisplay(Game) - Constructor for class gecco.client.infopanels.ActionDisplay
 
ActionFailed - Static variable in interface gecco.communication.messages.MessageType
 
actionFailed(String, int) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
actionFailed(String, int) - Method in interface gecco.server.core.Client
Tells the clients that an action has failed.
ActionFailedMessage - class gecco.communication.messages.ActionFailedMessage.
This message is put in the send queue on the server part of the communication, when the server calls actionFailed
ActionFailedMessage(long) - Constructor for class gecco.communication.messages.ActionFailedMessage
Constructor for the ActionFailedMessage object
actionInfo - Variable in class gecco.client.infopanels.ActionDisplay
Description of the Field
ActionMessage - class gecco.communication.messages.ActionMessage.
This is the superclass for all messages to be sent when the client calls doAction()
ActionMessage(long, int, String) - Constructor for class gecco.communication.messages.ActionMessage
Constructor for the ActionMessage object
ActionOnPosition - Static variable in interface gecco.communication.messages.MessageType
 
actionOnPosition(String, long, int, String, double, double) - Method in class gecco.server.core.ServerImpl
Orders an action that takes a position parameter.
actionOnPosition(String, long, int, String, double, double) - Method in interface gecco.server.core.Server
Orders an action that takes a position parameter.
ActionOnPositionMessage - class gecco.communication.messages.ActionOnPositionMessage.
this message is added to the send queue in the client part of the communication, when the client calls doAction, and the provided Action type is Action.POSITION
ActionOnPositionMessage(long, int, String, double, double) - Constructor for class gecco.communication.messages.ActionOnPositionMessage
Constructor for the ActionOnPositionMessage object
ActionOnUnit - Static variable in interface gecco.communication.messages.MessageType
 
actionOnUnit(String, long, int, String, int) - Method in class gecco.server.core.ServerImpl
Orders an action that takes a unit as a parameter.
actionOnUnit(String, long, int, String, int) - Method in interface gecco.server.core.Server
Orders an action that takes a unit as a parameter.
ActionOnUnitMessage - class gecco.communication.messages.ActionOnUnitMessage.
this message is added to the send queue in the client part of the communication, when the client calls doAction, and the provided Action type is Action.PIECE
ActionOnUnitMessage(long, int, String, int) - Constructor for class gecco.communication.messages.ActionOnUnitMessage
Constructor for the ActionOnUnitMessage object
ActionOnVoid - Static variable in interface gecco.communication.messages.MessageType
 
actionOnVoid(String, long, int, String) - Method in class gecco.server.core.ServerImpl
Orders an action that takes no parameters.
actionOnVoid(String, long, int, String) - Method in interface gecco.server.core.Server
Orders an action that takes no parameters.
ActionOnVoidMessage - class gecco.communication.messages.ActionOnVoidMessage.
this message is added to the send queue in the client part of the communication, when the client calls doAction, and the provided Action type is Action.VOID
ActionOnVoidMessage(long, int, String) - Constructor for class gecco.communication.messages.ActionOnVoidMessage
Constructor for the ActionOnVoidMessage object
actionPerformed(ActionEvent) - Method in class gecco.client.infopanels.ActionDisplay
Handles button clicks.
ActionProcessor - class gecco.server.actionprocessor.ActionProcessor.
The action processor handles the scheduling and execution of actions for the units in the ongoing game.
ActionProcessor() - Constructor for class gecco.server.actionprocessor.ActionProcessor
Constructor for the ActionProcessor object
ActionQueue - class gecco.client.ActionQueue.
This is a Queue (with methods get, peek, put, remove, empty and isEmpty) that contains actions.
ActionQueue() - Constructor for class gecco.client.ActionQueue
 
actionRejected(String, int) - Method in interface gecco.server.visibility.VisibilityFilter
This method is to be called when a role requests that an action be carried out, and that is for some reason impossible.
actionRejected(String, int) - Method in class gecco.server.visibility.VisibilityManager
This method is to be called when a role requests that an action be carried out, and that is for some reason impossible.
actionReply(long, boolean) - Method in interface gecco.client.Client
Call this to indicate that the executed action with the given id has been finished.
actionReply(long, boolean) - Method in class gecco.client.Game
Description of the Method
ActionReturn - class gecco.server.core.ActionReturn.
Base class of all types of returns from a routine that handles an Action.
ActionReturn() - Constructor for class gecco.server.core.ActionReturn
 
ActionReturnCompleted - class gecco.server.core.ActionReturnCompleted.
An instance of this class should be returned from action handlers to indicate that the action is finished with a positive result.
ActionReturnCompleted() - Constructor for class gecco.server.core.ActionReturnCompleted
Constructor for the ActionReturnCompleted object
ActionReturnCompleted(String) - Constructor for class gecco.server.core.ActionReturnCompleted
Constructor for the ActionReturnCompleted object
ActionReturnError - class gecco.server.core.ActionReturnError.
An instance of this class should be returned from action handlers to indicate that the action was aborted for some reason.
ActionReturnError() - Constructor for class gecco.server.core.ActionReturnError
Constructor for the ActionReturnError object
ActionReturnError(String) - Constructor for class gecco.server.core.ActionReturnError
Constructor for the ActionReturnError object
ActionReturnRequeue - class gecco.server.core.ActionReturnRequeue.
An instance of this class should be returned from action handlers to indicate that the action is not finished and that the handler should be called again after a specified amount of time.
ActionReturnRequeue(double) - Constructor for class gecco.server.core.ActionReturnRequeue
Constructor for the ActionReturnRequeue object
ActionReturnRequeue(double, String) - Constructor for class gecco.server.core.ActionReturnRequeue
Constructor for the ActionReturnRequeue object
actions() - Method in class gecco.client.ActionQueue
Returns a Vector with the actions that are currently in the queue.
activateUnit(String, Unit) - Method in class gecco.server.unitmanager.UnitManager
Mark a unit as active for a given role.
activeAction - Variable in class gecco.server.core.Unit
This is the action that the unit is currently executing.
activePiece - Variable in class gecco.client.infopanels.ActionDisplay
Description of the Field
activeUnits - Variable in class gecco.server.unitmanager.UnitManager
All active units for each role, hashed on the role name.
ActsOfGod - class gecco.server.actsofgod.ActsOfGod.
Description of the Class
ActsOfGod() - Constructor for class gecco.server.actsofgod.ActsOfGod
Constructor for the ActsOfGod object
ActsOfGodConf - class gecco.server.startup.ActsOfGodConf.
This class loads the settings stored in actsofgod.conf.
ActsOfGodConf() - Constructor for class gecco.server.startup.ActsOfGodConf
 
add(ClientConnection) - Method in class gecco.communication.server.RoleConnection
adds a new client to this role
add(Message) - Method in class gecco.communication.messages.MessageQueue
Description of the Method
add(String, int) - Method in class com.eteks.awt.PJAComponentPeer
 
addAct(String, int, double, double, double) - Method in class gecco.server.actsofgod.ActsOfGod
Adds a feature to the Act attribute of the ActsOfGod object
addAction(Action) - Method in class gecco.client.Piece
Adds the given actions to the list of available actions of this piece.
addAction(String, String, String, String) - Method in class gecco.server.core.UnitType
Adds an action to the unit type.
addBlockedAction(String) - Method in class gecco.server.core.Unit
Block an action.
addBoardMouseListener(MouseListener) - Method in class gecco.client.Board
Adds the given mouse listener the the area where the map and the pieces are painted.
addBoardMouseMotionListener(MouseMotionListener) - Method in class gecco.client.Board
Adds the given MouseMotionListener to the area of the board where the map and the pieces are painted.
addClient(ClientConnection) - Method in class gecco.communication.server.ClientAmbassador
Called by NewClientListener when it has received a legal join request from a client
addConsumer(ImageConsumer) - Method in class com.eteks.awt.image.GIFDecoder
ImageProducer implementation.
addEventToQueue(AutomatonEvent, int, int) - Method in class gecco.server.qmanager.QManager
Adds an event to the event queue
addFontData(PJAFontData) - Method in class com.eteks.awt.PJAFontPeer
 
addHelpMenu(Menu) - Method in class com.eteks.awt.PJAComponentPeer
 
addHelpMenu(Menu) - Method in class com.eteks.awt.PJAMenuComponentPeer
 
addItem(MenuItem) - Method in class com.eteks.awt.PJAComponentPeer
 
addItem(MenuItem) - Method in class com.eteks.awt.PJAMenuComponentPeer
 
addItem(String, int) - Method in class com.eteks.awt.PJAComponentPeer
 
addMenu(Menu) - Method in class com.eteks.awt.PJAComponentPeer
 
addMenu(Menu) - Method in class com.eteks.awt.PJAMenuComponentPeer
 
addMessage(String) - Method in class gecco.client.Piece
Adds a feature to the Message attribute of the Piece object
addMessageToQueue(Message) - Method in class gecco.communication.client.DataOutputExchangeHandler
Used by the ServerAmbassador to add messages to send
addMessageToQueue(Message) - Method in class gecco.communication.server.DataOutputExchangeHandler
Adds a feature to the MessageToQueue attribute of the DataOutputExchangeHandler object
addObserver(String) - Method in class gecco.server.core.Unit
Adds a new observer of the unit.
addPiece(int, String, Position, Set, Map, String) - Method in interface gecco.client.Client
Creates a new Piece and adds it to the game.
addPiece(int, String, Position, Set, Map, String) - Method in class gecco.client.Game
Adds the specified piece, as described in Client.java.
addPieceAction(int, Action) - Method in interface gecco.client.Client
Adds the given action to the list of actions that a piece can do.
addPieceAction(int, Action) - Method in class gecco.client.Game
Adds a feature to the PieceAction attribute of the Game object
addPieceSymbol(String, Image) - Static method in class gecco.client.Symbols
Adds a symbol for the given piece type.
addSeparator() - Method in class com.eteks.awt.PJAComponentPeer
 
addSeparator() - Method in class com.eteks.awt.PJAMenuComponentPeer
 
addUnitType(UnitType) - Method in class gecco.server.unitmanager.UnitManager
Adds a new unit type.
AnimatedPiece - class gecco.client.animation.AnimatedPiece.
This is a piece with animated symbol.
AnimatedPiece(int, Position, String, String, Image[], int, boolean, Animator) - Constructor for class gecco.client.animation.AnimatedPiece
 
animationDone(AnimatedPiece) - Method in class gecco.client.Game
Description of the Method
animationDone(AnimatedPiece) - Method in interface gecco.client.animation.Animator
The animated piece calls this method when the animation is done.
Animator - interface gecco.client.animation.Animator.
An Animator handles the animation of an AnimatedPiece.
areValidCoordinates(int, int) - Method in class gecco.server.automaton.AutomatonMap
Returns true if the given coordinates exist on the map.
atLeast(VersionNumber) - Method in class gecco.util.VersionNumber
Determines if this VersionNumber is greater than or equal to the other VersionNumber.
AttackAction - class gecco.game.testgame.AttackAction.
Description of the Class
AttackAction() - Constructor for class gecco.game.testgame.AttackAction
Constructor for the AttackAction object
AutoFlushWriter - class gecco.util.AutoFlushWriter.
Description of the Class
AutoFlushWriter(OutputStream) - Constructor for class gecco.util.AutoFlushWriter
Constructor for the AutoFlushWriter object
AutoFlushWriter(Writer) - Constructor for class gecco.util.AutoFlushWriter
Constructor for the AutoFlushWriter object
Automaton - class gecco.server.automaton.Automaton.
The superclass for the automaton used in a game.
Automaton() - Constructor for class gecco.server.automaton.Automaton
Constructor for the Automaton object
AutomatonEvent - class gecco.server.automaton.AutomatonEvent.
An AutomatonEvent is an event that affects an automaton.
AutomatonEvent(String, int) - Constructor for class gecco.server.automaton.AutomatonEvent
Constructor for the AutomatonEvent object
automatonHasState(String, int, int, int) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
automatonHasState(String, int, int, int) - Method in interface gecco.server.core.Client
Tells the clients that an automaton, which may or may not have been visible to them previously, is now visible and in a certain state.
AutomatonImpl - class gecco.game.firefighter.AutomatonImpl.
Description of the Class
AutomatonImpl - class gecco.game.oresund.AutomatonImpl.
Description of the Class
AutomatonImpl - class gecco.game.testgame.AutomatonImpl.
Description of the Class
AutomatonImpl() - Constructor for class gecco.game.firefighter.AutomatonImpl
 
AutomatonImpl() - Constructor for class gecco.game.oresund.AutomatonImpl
 
AutomatonImpl() - Constructor for class gecco.game.testgame.AutomatonImpl
 
automatonInvisible(String, int, int) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
automatonInvisible(String, int, int) - Method in interface gecco.server.core.Client
Tells the clients that an automaton, which was previously visible to them, is now invisible.
AutomatonMap - class gecco.server.automaton.AutomatonMap.
This class manages the map of automatons.
AutomatonMap(Class, int, int) - Constructor for class gecco.server.automaton.AutomatonMap
Constructor for the AutomatonMap object
AutomatonMap(Class, int, int, byte[], HashMap) - Constructor for class gecco.server.automaton.AutomatonMap
Constructor for the AutomatonMap object
AutomatonMap(Class, int, int, Image, HashMap) - Constructor for class gecco.server.automaton.AutomatonMap
Constructor for the AutomatonMap object
AutomatonMap(Class, int, int, Reader) - Constructor for class gecco.server.automaton.AutomatonMap
Constructor for the AutomatonMap object
AutomatonMap(Class, int, int, String, HashMap) - Constructor for class gecco.server.automaton.AutomatonMap
Constructor for the AutomatonMap object
AutomatonMap(Class, int, int, URL, HashMap) - Constructor for class gecco.server.automaton.AutomatonMap
Constructor for the AutomatonMap object
AutomatonReturn - class gecco.server.automaton.AutomatonReturn.
Description of the Class
AutomatonReturn() - Constructor for class gecco.server.automaton.AutomatonReturn
 
AutomatonReturnNoAction - class gecco.server.automaton.AutomatonReturnNoAction.
Description of the Class
AutomatonReturnNoAction() - Constructor for class gecco.server.automaton.AutomatonReturnNoAction
Constructor for the AutomatonReturnNoAction object
AutomatonReturnNoAction(UnitEvent) - Constructor for class gecco.server.automaton.AutomatonReturnNoAction
Constructor for the AutomatonReturnNoAction object
AutomatonReturnQueueNeighbours - class gecco.server.automaton.AutomatonReturnQueueNeighbours.
Description of the Class
AutomatonReturnQueueNeighbours(double) - Constructor for class gecco.server.automaton.AutomatonReturnQueueNeighbours
Constructor for the AutomatonReturnQueueNeighbours object
AutomatonReturnQueueNeighbours(double, UnitEvent) - Constructor for class gecco.server.automaton.AutomatonReturnQueueNeighbours
Constructor for the AutomatonReturnQueueNeighbours object
AutomatonReturnQueueSelective - class gecco.server.automaton.AutomatonReturnQueueSelective.
This class represents a return from an automaton update call, that indicates that certain neighbours of the automaton should be inserted into the queue.
AutomatonReturnQueueSelective(double[][]) - Constructor for class gecco.server.automaton.AutomatonReturnQueueSelective
Constructor for the AutomatonReturnQueueSelective object
AutomatonReturnQueueSelective(double[][], UnitEvent) - Constructor for class gecco.server.automaton.AutomatonReturnQueueSelective
Constructor for the AutomatonReturnQueueSelective object
AutomatonReturnQueueSelf - class gecco.server.automaton.AutomatonReturnQueueSelf.
Description of the Class
AutomatonReturnQueueSelf(double) - Constructor for class gecco.server.automaton.AutomatonReturnQueueSelf
Constructor for the AutomatonReturnQueueSelf object
AutomatonReturnQueueSelf(double, UnitEvent) - Constructor for class gecco.server.automaton.AutomatonReturnQueueSelf
Constructor for the AutomatonReturnQueueSelf object
AutomatonReturnQueueSelfAndNeighbours - class gecco.server.automaton.AutomatonReturnQueueSelfAndNeighbours.
Description of the Class
AutomatonReturnQueueSelfAndNeighbours(double, double) - Constructor for class gecco.server.automaton.AutomatonReturnQueueSelfAndNeighbours
Constructor for the AutomatonReturnQueueSelfAndNeighbours object
AutomatonReturnQueueSelfAndNeighbours(double, double, UnitEvent) - Constructor for class gecco.server.automaton.AutomatonReturnQueueSelfAndNeighbours
Constructor for the AutomatonReturnQueueSelfAndNeighbours object
automatonsHaveState(String, List, List) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
automatonsHaveState(String, List, List) - Method in interface gecco.server.core.Client
Description of the Method
automatonsInvisible(String, List) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
automatonsInvisible(String, List) - Method in interface gecco.server.core.Client
Description of the Method
AvailableRoles - Static variable in interface gecco.communication.messages.MessageType
 
AvailableRolesMessage - class gecco.communication.messages.AvailableRolesMessage.
This is a list of the currently available roles.
AvailableRolesMessage(Set) - Constructor for class gecco.communication.messages.AvailableRolesMessage
 

B

BaseStation - class gecco.game.oresund.BaseStation.
Description of the Class
BaseStation() - Constructor for class gecco.game.oresund.BaseStation
Constructor for the BaseStation object
BaseStationEventHandler - class gecco.game.oresund.BaseStationEventHandler.
Description of the Class
BaseStationEventHandler() - Constructor for class gecco.game.oresund.BaseStationEventHandler
Constructor for the BaseStationEventHandler object
beep() - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
beginValidate() - Method in class com.eteks.awt.PJAComponentPeer
 
blockedActions - Variable in class gecco.communication.messages.UnitVisibleMessage
Description of the Field
blockedActions - Variable in class gecco.server.core.Unit
Contains all Actions that have been blocked, that is, have been stopped during execution for some reason.
Board - class gecco.client.Board.
The board is what is displayed to the user of the game.
Board(Game) - Constructor for class gecco.client.Board
 
boardSize() - Method in class gecco.client.Board
Returns the size of the actual board, not counting the scroll bars and zoom buttons.

C

canSeeAutomaton(String, int, int, Unit) - Method in class gecco.server.visibility.VisibilityManager
Description of the Method
canSeeAutomaton(String, int, int, Unit) - Method in interface gecco.server.visibility.VisibilityInfo
Determines if at least one unit of which the given role is an observer can see the given automaton, not counting the given unit.
canSeeAutomatonAtPosition(int, int) - Method in class gecco.server.core.Unit
Determines if the unit can see a specific automaton, that is, if the given position is inside the units visibility range.
canSeePosition(double, double) - Method in class gecco.server.core.Action
Determines if the unit that executes the action can see a certain position, or rather if the units commander can.
canSeePosition(String, double, double) - Method in class gecco.server.visibility.VisibilityManager
Description of the Method
canSeePosition(String, double, double) - Method in interface gecco.server.visibility.VisibilityInfo
Determines if at least one unit of which the given role is an observer can see the given position.
canSeeUnit(String, Unit, Unit) - Method in class gecco.server.visibility.VisibilityManager
Description of the Method
canSeeUnit(String, Unit, Unit) - Method in interface gecco.server.visibility.VisibilityInfo
Determines if at least one unit of which the given role is an observer can see the given unit.
captureFont(String, int[], boolean, boolean, boolean, boolean, String, PJAFontCapture.CaptureFontListener) - Static method in class com.eteks.tools.fontcapture.PJAFontCapture
 
changes - Variable in class gecco.communication.messages.MapUpdatesMessage
Description of the Field
charsWidth(char[], int, int) - Method in class com.eteks.awt.PJAFontMetrics
java.awt.FontMetrics implementation.
charWidth(char) - Method in class com.eteks.awt.PJAFontMetrics
java.awt.FontMetrics implementation.
charWidth(int) - Method in class com.eteks.awt.PJAFontMetrics
java.awt.FontMetrics implementation.
check(ImageObserver) - Method in class com.eteks.awt.PJAImage
 
checkImage(Image, int, int, ImageObserver) - Method in class com.eteks.awt.PJAGraphicsManager
Checks the status of an image laoding.
checkImage(Image, int, int, ImageObserver) - Method in class com.eteks.awt.PJAComponentPeer
 
checkImage(Image, int, int, ImageObserver) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
checkImage(Image, int, int, ImageObserver) - Method in class com.eteks.java2d.PJAGraphicsManager2D
Checks the status of an image laoding.
checkPoint() - Method in class gecco.game.firefighter.Water
Description of the Method
checkPoint() - Method in class gecco.game.firefighter.SetOnFire
Description of the Method
checkPoint() - Method in class gecco.game.firefighter.Move
Description of the Method
checkPoint() - Method in class gecco.game.oresund.Transfer
Description of the Method
checkPoint() - Method in class gecco.game.oresund.Refuel
Description of the Method
checkPoint() - Method in class gecco.game.oresund.Move
Description of the Method
checkPoint() - Method in class gecco.game.oresund.Rescue
Description of the Method
checkPoint() - Method in class gecco.game.oresund.Fly
Description of the Method
checkPoint() - Method in class gecco.game.testgame.FlyAction
Description of the Method
checkPoint() - Method in class gecco.game.testgame.AttackAction
Description of the Method
checkPoint() - Method in class gecco.game.testgame.MoveAction
Description of the Method
checkPoint() - Method in class gecco.game.testgame.MoveFastAction
Description of the Method
checkPoint() - Method in class gecco.game.testgame.InstantAttackAction
Description of the Method
checkPoint() - Method in class gecco.server.core.Action
This method is called periodically by the game engine.
childResized(int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
clear() - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by removeAll().
clear() - Method in class gecco.client.Map
Clears the map.
clear() - Method in class gecco.server.core.TypedProperties
Removes all properties
clearMap() - Method in class gecco.client.Board
Description of the Method
clearRect(int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
clearSignal() - Static method in class gecco.util.SignalThread
This clears any pending signal for the current thread.
Client - interface gecco.client.Client.
This is the interface that represents the client from the server's point of view.
Client - interface gecco.server.core.Client.
Description of the Interface
ClientAmbassador - class gecco.communication.server.ClientAmbassador.
The class that implements gecco.server.core.Client, and the only part of the communication package that the server needs to know about
ClientAmbassador(Vector, Server, int) - Constructor for class gecco.communication.server.ClientAmbassador
Initiates the ServerAmbassador, and also starts a Thread that listens for incoming clients
ClientConnection - class gecco.communication.server.ClientConnection.
A class that keeps track of the 'physical' connection to a client
ClientConnection(Socket, String, int) - Constructor for class gecco.communication.server.ClientConnection
 
ClientConnectionHandler - class gecco.communication.server.ClientConnectionHandler.
A class that keep track of all the parts needed for a connection to a client
ClientConnectionHandler(ClientConnection, Server, RoleConnection) - Constructor for class gecco.communication.server.ClientConnectionHandler
Constructor for the ClientConnectionHandler object
clipRect(int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
Clock - class gecco.server.clock.Clock.
This is a virtual game clock.
Clock(double, double, double, boolean) - Constructor for class gecco.server.clock.Clock
Create a game clock.
clone() - Method in class gecco.client.Action
Description of the Method
close() - Method in class gecco.util.NullWriter
Description of the Method
coalescePaintEvent(PaintEvent) - Method in class com.eteks.awt.PJAComponentPeer
 
color - Variable in class gecco.communication.messages.MapUpdateMessage
Description of the Field
com.eteks.awt - package com.eteks.awt
 
com.eteks.awt.image - package com.eteks.awt.image
 
com.eteks.filter - package com.eteks.filter
 
com.eteks.java2d - package com.eteks.java2d
 
com.eteks.tools.awt - package com.eteks.tools.awt
 
com.eteks.tools.fontcapture - package com.eteks.tools.fontcapture
 
commander - Variable in class gecco.server.core.Unit
The name of the role that commands this unit, that is, the role that has the right to execute actions with the unit.
CommandLineProperties - class gecco.util.CommandLineProperties.
Description of the Class
CommandLineProperties() - Constructor for class gecco.util.CommandLineProperties
Constructor for the CommandLineProperties object
CommandLineProperties(String[]) - Constructor for class gecco.util.CommandLineProperties
Constructor for the CommandLineProperties object
CommandPrompt - class gecco.server.startup.CommandPrompt.
A rudimentary command prompt for the server.
CommandPrompt() - Constructor for class gecco.server.startup.CommandPrompt
 
compareTo(Object) - Method in class gecco.client.Property
Description of the Method
compareTo(Object) - Method in class gecco.server.actionprocessor.QueuedAction
Compares this object with the specified object for order.
compareTo(Object) - Method in class gecco.server.clock.SleepingThread
Compares this sleeping thread with another sleeping thread.
compareTo(Object) - Method in class gecco.server.core.Unit
Compares the unit to a given unit.
compareTo(Object) - Method in class gecco.server.qmanager.QueuedAutomaton
Compares this automaton with a given automaton.
compareTo(Object) - Method in class gecco.server.visibility.Point
Description of the Method
compareTo(Object) - Method in class gecco.util.VersionNumber
Compares this object with another object.
compareTo(VersionNumber) - Method in class gecco.util.VersionNumber
Compares this VersionNumber with another VersionNumber.
connect(String, int) - Method in interface gecco.client.Server
Try to connect to the given host and port.
connect(String, int) - Method in class gecco.communication.client.ServerAmbassador
tries to connect to the server returns false if failed to connect
ConnectionDialog - class gecco.client.dialogs.ConnectionDialog.
Creates a modal dialog for selecting the host and port to connect to.
connectionLost() - Method in interface gecco.client.Client
Called to indicate that the connection to the server has been lost.
connectionLost() - Method in class gecco.client.Game
Description of the Method
connectionLost() - Method in class gecco.communication.client.ServerAmbassador
Called whenever a communication error occurs.
connectionLost(String, int) - Method in class gecco.communication.server.ClientConnectionHandler
Description of the Method
connectionLost(String, int) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method z * @param role Description of Parameter
connectToServer(String, int) - Method in class gecco.communication.client.ServerConnection
Tries to connect to a server
containsKey(Object) - Method in class gecco.server.core.TypedProperties
Checks whether an Object is a key in a mapping, that is, if there is a property of that name.
containsValue(Object) - Method in class gecco.server.core.TypedProperties
Checks whether an Object is a value in a mapping, that is, if there is a property with that value.
copyArea(int, int, int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
create() - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
createButton(Button) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createCanvas(Canvas) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createCheckbox(Checkbox) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createCheckboxMenuItem(CheckboxMenuItem) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createChoice(Choice) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createCompatibleImage(int, int) - Method in class com.eteks.java2d.PJAGraphicsConfiguration
java.awt.GraphicsConfiguration implementation.
createCompatibleImage(int, int, int) - Method in class com.eteks.java2d.PJAGraphicsConfiguration
java.awt.GraphicsConfiguration implementation.
createComponent(Component) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createDialog(Dialog) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createDragSourceContextPeer(DragGestureEvent) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createFileDialog(FileDialog) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createFrame(Frame) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createGraphics() - Method in class com.eteks.java2d.PJABufferedImage
Returns an instance of Graphics2D to draw in the image.
createGraphics(BufferedImage) - Method in class com.eteks.java2d.PJAGraphicsEnvironment
Returns a Graphics2D instance or throws an AWTError exception.
createImage(byte[], int, int) - Method in class com.eteks.awt.PJAGraphicsManager
Creates an image from the imagedata array.
createImage(byte[], int, int) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createImage(ImageProducer) - Method in class com.eteks.awt.PJAGraphicsManager
Creates an image from the producer.
createImage(ImageProducer) - Method in class com.eteks.awt.PJAComponentPeer
 
createImage(ImageProducer) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createImage(ImageProducer) - Method in class com.eteks.java2d.PJAGraphicsManager2D
Creates an image from the producer.
createImage(int, int) - Method in class com.eteks.awt.PJAGraphicsManager
Creates an image of width x height pixels.
createImage(int, int) - Method in class com.eteks.awt.PJAComponentPeer
Creates an image of width x height pixels.
createImage(int, int) - Method in class com.eteks.java2d.PJAGraphicsManager2D
Creates an image of width x height pixels.
createImage(String) - Method in class com.eteks.awt.PJAGraphicsManager
Returns an image from the file filename.
createImage(String) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createImage(URL) - Method in class com.eteks.awt.PJAGraphicsManager
Returns an image from the URL url.
createImage(URL) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createLabel(Label) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createList(List) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createMenu(Menu) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createMenuBar(MenuBar) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createMenuItem(MenuItem) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createPanel(Panel) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createPopupMenu(PopupMenu) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createScrollbar(Scrollbar) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createScrollPane(ScrollPane) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createTextArea(TextArea) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createTextField(TextField) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
createUnit(String) - Method in class gecco.server.unitmanager.UnitManager
Creates a unit of a given unit type.
createWindow(Window) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
current() - Static method in class gecco.util.SignalThread
Returns the object representing the currently executing signal thread.
currentColor - Variable in class gecco.server.automaton.Automaton
The current color which is to be sent to the client in a given state.

D

DataInputExchangeHandler - class gecco.communication.client.DataInputExchangeHandler.
A class that listens for incoming messages from the server, and tells the client about them.
DataInputExchangeHandler - class gecco.communication.server.DataInputExchangeHandler.
a class that sends messages from the server, in the send queue
DataInputExchangeHandler(ClientConnection, Server, ClientConnectionHandler, DataOutputExchangeHandler) - Constructor for class gecco.communication.server.DataInputExchangeHandler
Constructor for the DataInputExchangeHandler object
DataInputExchangeHandler(ServerConnection, Client, ServerAmbassador, DataOutputExchangeHandler) - Constructor for class gecco.communication.client.DataInputExchangeHandler
 
DataOutputExchangeHandler - class gecco.communication.client.DataOutputExchangeHandler.
A class that sends messages to the server
DataOutputExchangeHandler - class gecco.communication.server.DataOutputExchangeHandler.
a class that listens for incoming messages from the client, receives them, and tells the server about them
DataOutputExchangeHandler(MessageQueue, ClientConnection, Server, ClientConnectionHandler) - Constructor for class gecco.communication.server.DataOutputExchangeHandler
Constructor for the DataOutputExchangeHandler object
DataOutputExchangeHandler(MessageQueue, ServerConnection, ServerAmbassador) - Constructor for class gecco.communication.client.DataOutputExchangeHandler
 
deactivateUnit(String, Unit) - Method in class gecco.server.unitmanager.UnitManager
Mark a unit as non-active for a given role.
debug - Static variable in class gecco.server.core.ReferenceHolder
Debug output
deepClone() - Method in class gecco.server.startup.DeepCloneHashMap
Description of the Method
deepClone() - Method in interface gecco.server.startup.DeepCloneable
Description of the Method
deepClone() - Method in class gecco.server.startup.PropertyTree
Description of the Method
deepClone() - Method in class gecco.server.startup.DeepCloneLinkedList
Description of the Method
DeepCloneable - interface gecco.server.startup.DeepCloneable.
Description of the Interface
DeepCloneHashMap - class gecco.server.startup.DeepCloneHashMap.
Description of the Class
DeepCloneLinkedList - class gecco.server.startup.DeepCloneLinkedList.
Description of the Class
deleteUnit(Unit, double, double) - Method in class gecco.server.unitmanager.UnitManager
Delete a unit from the game.
deleteUnit(Unit, double, double) - Method in interface gecco.server.visibility.VisibilityFilter
This method is to be called whenever a unit is permanently taken off the map (typically, when it is killed).
deleteUnit(Unit, double, double) - Method in class gecco.server.visibility.VisibilityManager
Description of the Method
delItem(int) - Method in class com.eteks.awt.PJAComponentPeer
 
delItem(int) - Method in class com.eteks.awt.PJAMenuComponentPeer
 
delItems(int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
delMenu(int) - Method in class com.eteks.awt.PJAComponentPeer
 
delMenu(int) - Method in class com.eteks.awt.PJAMenuComponentPeer
 
description - Variable in class gecco.communication.messages.ActionBlockedMessage
Description of the Field
deselect(int) - Method in class com.eteks.awt.PJAComponentPeer
 
destroyPiece(int) - Method in interface gecco.client.Client
This method is called to indicate that a piece has permanantly left the game.
destroyPiece(int) - Method in class gecco.client.Game
Description of the Method
disable() - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by setEnabled(boolean).
disable() - Method in class com.eteks.awt.PJAMenuComponentPeer
 
Disconnect - Static variable in interface gecco.communication.messages.MessageType
 
disconnect() - Method in interface gecco.client.Server
Disconnects from the server.
disconnect() - Method in class gecco.communication.client.ServerAmbassador
Called by the client when it wants to disconnect
DisconnectMessage - class gecco.communication.messages.DisconnectMessage.
This message is sent by a client when it wishes to leave the game.
DisconnectMessage() - Constructor for class gecco.communication.messages.DisconnectMessage
 
display(Frame) - Static method in class gecco.client.dialogs.About
Displays the game info dialog.
display(String, Frame) - Static method in class gecco.client.dialogs.LoadingInfo
Displays a new dialog with the given message.
display(String, Frame) - Static method in class gecco.client.dialogs.Error
Displays a modal alert dialog with the given message.
dispose() - Method in class com.eteks.awt.PJAComponentPeer
 
dispose() - Method in class com.eteks.awt.PJAMenuComponentPeer
 
dispose() - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
doAction(int, Action) - Method in interface gecco.client.Server
Execute the given Action and return a unique id of that executing action.
doAction(int, Action) - Method in class gecco.communication.client.ServerAmbassador
Called by the client when it wants a unit to perform an action.
draw3DRect(int, int, int, int, boolean) - Method in class com.eteks.awt.PJAGraphics
Same implementation as in the class java.awtGraphics except it doesn't use Color class.
drawArc(int, int, int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawImage(Image, int, int, Color, ImageObserver) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawImage(Image, int, int, ImageObserver) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawImage(Image, int, int, int, int, Color, ImageObserver) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawImage(Image, int, int, int, int, ImageObserver) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawLine(int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
 
drawOval(int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawPolygon(int[], int[], int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawPolyline(int[], int[], int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawRoundRect(int, int, int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawString(AttributedCharacterIterator, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
drawString(String, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.

E

empty() - Method in class gecco.client.ActionQueue
Description of the Method
enable() - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by setEnabled(boolean).
enable() - Method in class com.eteks.awt.PJAMenuComponentPeer
 
endValidate() - Method in class com.eteks.awt.PJAComponentPeer
 
entrySet() - Method in class gecco.server.core.TypedProperties
Returns the set of mappings.
equals(Object) - Method in class com.eteks.awt.PJAFontData
Returns true if this font peer and object have the same name, style and size.
equals(Object) - Method in class com.eteks.awt.PJAFontPeer
Returns true if this font peer and object have the same name and style.
equals(Object) - Method in class gecco.client.Action
Description of the Method
equals(Object) - Method in class gecco.client.Piece
Description of the Method
equals(Object) - Method in class gecco.server.actionprocessor.QueuedAction
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class gecco.server.clock.SleepingThread
Tests whether two sleeping threads are equal.
equals(Object) - Method in class gecco.server.core.Unit
Determines if the unit is the same as a given unit.
equals(Object) - Method in class gecco.server.core.TypedProperties
Tests the given Object for equality with this one.
equals(Object) - Method in class gecco.server.qmanager.QueuedAutomaton
Tests whether to QueuedAutomatons are equal, which is true iff they have the same coordinates and the same time for process.
equals(Object) - Method in class gecco.server.visibility.Point
Description of the Method
equals(Object) - Method in class gecco.util.VersionNumber
Determines whether this object is equal to another object.
equals(Position) - Method in class gecco.client.Position
Description of the Method
err - Static variable in class gecco.server.core.ReferenceHolder
Standard error output
Error - class gecco.client.dialogs.Error.
This class supplies alert boxes that display error messages.
event - Variable in class gecco.server.automaton.AutomatonReturn
Description of the Field
EventHandler - class gecco.server.core.EventHandler.
This class represents an event handler for a unit.
EventHandler() - Constructor for class gecco.server.core.EventHandler
Constructor for the EventHandler object
executeInstantaneousAction(Action) - Method in class gecco.server.actionprocessor.ActionProcessor
Executes an instantaneous action.
executeNextAction() - Method in class gecco.client.Piece
Lets the next action execute.
executingAction - Variable in class gecco.client.infopanels.ActionDisplay
Description of the Field
Explosion - class gecco.client.animation.Explosion.
An explosion is an animated piece that has a finite animation of an explosion.
Explosion(int, Position, String, String, Animator) - Constructor for class gecco.client.animation.Explosion
 

F

FILL - Static variable in class gecco.client.infopanels.PieceInfoPanel
The amount (in pixels) of white space between things.
fill3DRect(int, int, int, int, boolean) - Method in class com.eteks.awt.PJAGraphics
Same implementation as in the class java.awtGraphics except it doesn't use Color class.
fillArc(int, int, int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
fillOval(int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
fillPolygon(int[], int[], int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
fillRect(int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
fillRoundRect(int, int, int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
filterEvents(long) - Method in class com.eteks.awt.PJAComponentPeer
 
filterRGB(int, int, int) - Method in class com.eteks.filter.Web216ColorsFilter
RGBImageFilter method implementation.
Firefighter - class gecco.game.firefighter.Firefighter.
Description of the Class
Firefighter() - Constructor for class gecco.game.firefighter.Firefighter
Constructor for the Firefighter object
FirefighterEventHandler - class gecco.game.firefighter.FirefighterEventHandler.
Description of the Class
FirefighterEventHandler() - Constructor for class gecco.game.firefighter.FirefighterEventHandler
Constructor for the FirefighterEventHandler object
flush() - Method in class com.eteks.awt.PJAImage
java.awt.Image implementation.
flush() - Method in class gecco.util.NullWriter
Description of the Method
Fly - class gecco.game.oresund.Fly.
Description of the Class
Fly() - Constructor for class gecco.game.oresund.Fly
Constructor for the Fly object
FlyAction - class gecco.game.testgame.FlyAction.
Description of the Class
FlyAction() - Constructor for class gecco.game.testgame.FlyAction
Constructor for the FlyAction object
freeze(boolean) - Method in class gecco.server.clock.Clock
Freezes or unfreezes the game.

G

game - Variable in class gecco.client.infopanels.ActionDisplay
Description of the Field
Game - class gecco.client.Game.
This is the main game class.
Game(String) - Constructor for class gecco.client.Game
Constructor for the Game object
gameSleep(double) - Method in class gecco.server.clock.Clock
Sleep for the specified amount of game time.
gameTime(double) - Method in class gecco.server.clock.Clock
Converts real time to game time.
gameTimeNow() - Method in class gecco.server.clock.Clock
Returns the current game time, in seconds.
gameWait(Object, double) - Method in class gecco.server.clock.Clock
Wait on an object for (at most) the specified amount of game time.
gecco.client - package gecco.client
 
gecco.client.animation - package gecco.client.animation
 
gecco.client.dialogs - package gecco.client.dialogs
 
gecco.client.infopanels - package gecco.client.infopanels
 
gecco.common - package gecco.common
 
gecco.communication.client - package gecco.communication.client
 
gecco.communication.messages - package gecco.communication.messages
 
gecco.communication.server - package gecco.communication.server
 
gecco.game.firefighter - package gecco.game.firefighter
 
gecco.game.oresund - package gecco.game.oresund
 
gecco.game.testgame - package gecco.game.testgame
 
gecco.server.actionprocessor - package gecco.server.actionprocessor
 
gecco.server.actsofgod - package gecco.server.actsofgod
 
gecco.server.automaton - package gecco.server.automaton
 
gecco.server.clock - package gecco.server.clock
 
gecco.server.core - package gecco.server.core
 
gecco.server.log - package gecco.server.log
 
gecco.server.qmanager - package gecco.server.qmanager
 
gecco.server.startup - package gecco.server.startup
 
gecco.server.unitmanager - package gecco.server.unitmanager
 
gecco.server.visibility - package gecco.server.visibility
 
gecco.util - package gecco.util
 
GeccoVersion - class gecco.common.GeccoVersion.
A subclass of VersionNumber that is initialized to the current GECCO version.
GeccoVersion() - Constructor for class gecco.common.GeccoVersion
Constructs a GeccoVersion object.
get() - Method in class gecco.client.ActionQueue
Description of the Method
get() - Method in class gecco.communication.messages.MessageQueue
Description of the Method
get(Object) - Method in class gecco.server.core.TypedProperties
Retrieves the value associated with a name, without regard of its type.
get(String) - Method in class gecco.server.startup.PropertyTree
Description of the Method
getAction() - Method in class gecco.server.actionprocessor.QueuedAction
Gets the Action attribute of the QueuedAction object.
getAction(String, int) - Method in class gecco.server.actionprocessor.ActionProcessor
Gets the action with the given handle ordered by the given role.
getActionArgumentType(String) - Method in class gecco.server.core.UnitType
Gets the argument type of an action associated with this unit type.
getActionClass() - Method in class gecco.server.core.ActionDefinition
Gets the action class.
getActionClass(String) - Method in class gecco.server.core.UnitType
Gets the class implementing a given class, associated with this unit type.
getActionDefinition() - Method in class gecco.server.core.Action
Gets the definition of the Action object
getActionDefinition(String) - Method in class gecco.server.core.UnitType
Gets the ActionDefinition associated with a given action.
getActionDefinitions() - Method in class gecco.server.core.UnitType
Gets the definitions of all actions associated with this unit type.
getActionDescription(String) - Method in class gecco.server.core.UnitType
Gets the description of an action associated with this unit type.
getActionHandle() - Method in class gecco.communication.messages.ActionMessage
Gets the ActionHandle attribute of the ActionMessage object
getActionHandle() - Method in class gecco.server.core.Action
Gets the handle of the Action object
getActionNames() - Method in class gecco.server.core.UnitType
Gets the names of all actions associated with this unit type.
getActionProcessor() - Static method in class gecco.server.core.ReferenceHolder
Gets the ActionProcessor attribute of the ReferenceHolder class
getActionQueue() - Method in class gecco.server.actionprocessor.ActionProcessor
Returns the TreeSet object which is the queue that holds the current scheduled actions for the units in the game.
getActions() - Method in class gecco.client.Piece
Returns all actions that this piece can do.
getActiveAction() - Method in class gecco.server.core.Unit
Gets the currently executing Action.
getAlienUnits(String) - Method in class gecco.server.unitmanager.UnitManager
Gets the set of units that is alien to a given role.
getAllPieceTypes() - Static method in class gecco.client.Symbols
Gets the AllPieceTypes attribute of the Symbols class
getAllQueuedActions() - Method in class gecco.client.Piece
Returns all actions that is currently queued for this piece.
getAllUnits() - Method in class gecco.server.unitmanager.UnitManager
Gets all units in the game.
getArgumentType() - Method in class gecco.server.core.ActionDefinition
Gets the argument type.
getArgumentUnit() - Method in class gecco.server.core.Action
Gets the unit that is the target of this action.
getArgumentX() - Method in class gecco.server.core.Action
Gets the x coordinate of the point that is the target of this action.
getArgumentY() - Method in class gecco.server.core.Action
Gets the y coordinate of the point that is the target of this action.
getAscent() - Method in class com.eteks.awt.PJAFontData
Returns the ascent of this font.
getAscent() - Method in class com.eteks.awt.PJAFontMetrics
java.awt.FontMetrics implementation.
getAutomaton(int, int) - Method in class gecco.server.automaton.AutomatonMap
Gets an automaton at a given location.
getAutomatonEvent() - Method in class gecco.server.qmanager.QueuedEvent
Gets the queued AutomatonEvent instance
getAutomatonEventQueue() - Method in class gecco.server.qmanager.QManager
Gets the queue of AutomatonEvents
getAutomatonMap() - Static method in class gecco.server.core.ReferenceHolder
Gets the AutomatonMap attribute of the ReferenceHolder class
getAutomatonMap() - Method in class gecco.server.startup.GlobalConf
Gets the automaton map.
getAutomatonQueue() - Method in class gecco.server.qmanager.QManager
Gets the queue of automatons
getAutomatonState(int, int) - Method in class gecco.server.core.Action
Gets the state of the given automaton.
getAvailableId() - Method in class gecco.communication.server.RoleConnection
returns the lowest nonnegative integer that is not used as an id by any client
getAvailableId(String) - Method in class gecco.communication.server.ClientAmbassador
Called by NewClientListener when it is about to add a client, and wants to know what id the client should have.
GetAvailableRoles - Static variable in interface gecco.communication.messages.MessageType
 
getAvailableRoles() - Method in interface gecco.client.Server
After a connection has been established, call this to get the available roles.
getAvailableRoles() - Method in class gecco.communication.client.ServerAmbassador
asks the server which roles are available for this client to join as
GetAvailableRolesMessage - class gecco.communication.messages.GetAvailableRolesMessage.
This message is sent by the client when it wants to know what roles are available.
GetAvailableRolesMessage() - Constructor for class gecco.communication.messages.GetAvailableRolesMessage
 
getBasicTimeUnit() - Static method in class gecco.server.clock.TimeString
Returns the name of the basic unit of game time.
getBlockedActions() - Method in class gecco.server.core.Unit
Gets the set of actions that have been blocked during the last tick.
getBlockedActions(Unit) - Method in class gecco.server.unitmanager.UnitManager
Gets the set of blocked actions of a given unit.
getBooleanProperty(String) - Method in class gecco.util.CommandLineProperties
Gets the BooleanProperty attribute of the CommandLineProperties object
getBounds() - Method in class com.eteks.java2d.PJAGraphicsConfiguration
java.awt.GraphicsConfiguration implementation.
getCaretPosition() - Method in class com.eteks.awt.PJAComponentPeer
 
getCenter() - Method in class gecco.client.Map
Return the center of the map, in map coordinates.
getCharacterBounds(int) - Method in class com.eteks.awt.PJAComponentPeer
 
getCharBits() - Method in class com.eteks.awt.PJAFontData
Provides direct access to bitset array for this font's pixels.
getCharBitsOffset(char) - Method in class com.eteks.awt.PJAFontData
Retrieves the offset for the bit representing top-left pixel in the given char, within the bitset.
getCharBitsScanSize() - Method in class com.eteks.awt.PJAFontData
Retrieves the scansize of the linear bit array, i.e., the number of bits in each very long scanline of pixels stored sequentially in the bitset
getCharOffsetAtBaseline(char) - Method in class com.eteks.awt.PJAFontData
Returns the offset of the character ch to add at baseline.
getCharOffsetAtBaseline(char) - Method in class com.eteks.awt.PJAFontMetrics
Deprecated. As of PJA version 1.1, replaced by PJAFontData.getCharOffsetAtBaseline ().
getCharPixels(char) - Method in class com.eteks.awt.PJAFontData
Returns the pixels array of the character ch.
getCharPixels(char) - Method in class com.eteks.awt.PJAFontMetrics
Deprecated. As of PJA version 1.1, replaced by PJAFontData.getCharPixels ().
getCharPixelsWidth(char) - Method in class com.eteks.awt.PJAFontData
Returns the scansize of the pixels array of the character ch.
getCharPixelsWidth(char) - Method in class com.eteks.awt.PJAFontMetrics
Deprecated. As of PJA version 1.1, replaced by PJAFontData.getCharPixelsWidth ().
getCharsWidth(char[], int, int) - Method in class com.eteks.awt.PJAFontData
Returns the string width of a string in this font.
getCharWidth(char) - Method in interface com.eteks.awt.PJAGraphicsExtension
Returns the advance width of the specified character of the current font.
getCharWidth(char) - Method in class com.eteks.awt.PJAGraphics
Returns the advance width of the specified character of the current font.
getCharWidth(int) - Method in class com.eteks.awt.PJAFontData
Returns the char width of the character ch in this font.
getClientConnection() - Method in class gecco.communication.server.ClientConnectionHandler
Gets the ClientConnection attribute of the ClientConnectionHandler object
getClip() - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
getClipBounds() - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
getClock() - Static method in class gecco.server.core.ReferenceHolder
Gets the game clock.
getClosestColorIndex(IndexColorModel, int) - Method in class com.eteks.awt.PJAGraphicsManager
Returns the index of the closest color of ARGB in the indexed color model colorModel.
getColor() - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
getColorModel() - Method in class com.eteks.awt.PJAGraphicsManager
Returns the default color model used by images for this manager (RGB default color model).
getColorModel() - Method in class com.eteks.awt.PJAComponentPeer
 
getColorModel() - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
getColorModel() - Method in class com.eteks.awt.PJAImage
Returns this image's color model
getColorModel() - Method in class com.eteks.java2d.PJAGraphicsConfiguration
java.awt.GraphicsConfiguration implementation.
getColorModel(int) - Method in class com.eteks.java2d.PJAGraphicsConfiguration
java.awt.GraphicsConfiguration implementation.
getColorRGB() - Method in interface com.eteks.awt.PJAGraphicsExtension
Returns the graphics current color.
getColorRGB() - Method in class com.eteks.awt.PJAGraphics
Returns the graphics current color RGB.
getCommander() - Method in class gecco.server.core.Unit
Gets the name of the role of the commander of the unit.
getCommandingUnits(String) - Method in class gecco.server.unitmanager.UnitManager
Gets the handles of all units that a given role commands.
getComponent() - Method in class com.eteks.awt.PJAComponentPeer
 
getComServer() - Static method in class gecco.server.core.ReferenceHolder
Gets the ComServer attribute of the ReferenceHolder class
getConfigurations() - Method in class com.eteks.java2d.PJAGraphicsDevice
java.awt.GraphicsDevice implementation.
getConnectionPort() - Method in class gecco.server.startup.GlobalConf
Gets the connection port.
getCurrentColor() - Method in class gecco.server.automaton.Automaton
Gets the CurrentColor attribute of the Automaton object
getDataInputStream() - Method in class gecco.communication.client.ServerConnection
Gets the DataInputStream attribute of the ServerConnection object
getDataInputStream() - Method in class gecco.communication.server.ClientConnection
Gets the DataInputStream attribute of the ClientConnection object
getDataOutputStream() - Method in class gecco.communication.client.ServerConnection
Gets the DataOutputStream attribute of the ServerConnection object
getDataOutputStream() - Method in class gecco.communication.server.ClientConnection
Gets the DataOutputStream attribute of the ClientConnection object
getDefaultConfiguration() - Method in class com.eteks.java2d.PJAGraphicsDevice
java.awt.GraphicsDevice implementation.
getDefaultFont() - Method in class com.eteks.awt.PJAGraphicsManager
Returns the default font name.
getDefaultFont() - Static method in class com.eteks.awt.PJAToolkit
Deprecated. As of PJA version 1.1, replaced by PJAGraphicsManager.getDefaultFont ().
getDefaultGraphicsManager() - Static method in class com.eteks.awt.PJAGraphicsManager
Returns a default PJAGraphicsManager.
getDefaultTransform() - Method in class com.eteks.java2d.PJAGraphicsConfiguration
java.awt.GraphicsConfiguration implementation.
getDescent() - Method in class com.eteks.awt.PJAFontData
Returns the descent of this font.
getDescent() - Method in class com.eteks.awt.PJAFontMetrics
java.awt.FontMetrics implementation.
getDescription() - Method in class gecco.server.core.ActionDefinition
Gets the description.
getDevice() - Method in class com.eteks.java2d.PJAGraphicsConfiguration
java.awt.GraphicsConfiguration implementation.
getDoubleList(String) - Method in class gecco.server.startup.PropertyTree
Gets the DoubleList attribute of the PropertyTree object
getDoubleProperty(String) - Method in class gecco.server.core.Unit
Gets a specific property value that is known to be a double value.
getDoubleProperty(String) - Method in class gecco.server.core.TypedProperties
Retrieves the double value associated with a name
getDoubleProperty(String) - Method in class gecco.server.core.UnitType
Gets the DoubleProperty attribute of the Unit object
getDoubleProperty(String, double) - Method in class gecco.util.CommandLineProperties
Gets the DoubleProperty attribute of the CommandLineProperties object
getEventHandler() - Method in class gecco.server.core.UnitType
Gets the EventHandler attribute of the UnitType object
getEventId() - Method in class gecco.server.core.UnitEvent
Gets the unique id that identifies this event.
getEventName() - Method in class gecco.server.automaton.AutomatonEvent
Gets the EventName attribute of the AutomatonEvent object
getExecutingAction() - Method in class gecco.client.Piece
Returns the currently executing action, or null if no action is executing.
getFactor() - Method in class gecco.server.automaton.AutomatonEvent
Gets the Factor attribute of the AutomatonEvent object
getFactor() - Method in class gecco.server.core.UnitEvent
Gets the factor of the event.
getFont() - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
getFontAscent() - Method in interface com.eteks.awt.PJAGraphicsExtension
Determines the font ascent of the current font.
getFontAscent() - Method in class com.eteks.awt.PJAGraphics
Determines the font ascent of the current font.
getFontData(int) - Method in class com.eteks.awt.PJAFontPeer
 
getFontDescent() - Method in interface com.eteks.awt.PJAGraphicsExtension
Determines the font descent of the current font.
getFontDescent() - Method in class com.eteks.awt.PJAGraphics
Determines the font descent of the current font.
getFontLeading() - Method in interface com.eteks.awt.PJAGraphicsExtension
Determines the standard leading of the current font.
getFontLeading() - Method in class com.eteks.awt.PJAGraphics
Determines the standard leading of the current font.
getFontList() - Method in class com.eteks.awt.PJAGraphicsManager
Returns an array of all the font names.
getFontList() - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
getFontList() - Method in class com.eteks.java2d.PJAGraphicsManager2D
Returns the array {"Dialog", "SansSerif", "Serif", "Monospaced", "DialogInput"}.
getFontMaxAdvance() - Method in interface com.eteks.awt.PJAGraphicsExtension
Gets the maximum advance width of any character of the current Font.
getFontMaxAdvance() - Method in class com.eteks.awt.PJAGraphics
Gets the maximum advance width of any character of the current Font.
getFontMaxAscent() - Method in interface com.eteks.awt.PJAGraphicsExtension
Determines the maximum ascent of the current font.
getFontMaxAscent() - Method in class com.eteks.awt.PJAGraphics
Determines the maximum ascent of the current font.
getFontMaxDescent() - Method in interface com.eteks.awt.PJAGraphicsExtension
Determines the maximum descent of the current font.
getFontMaxDescent() - Method in class com.eteks.awt.PJAGraphics
Determines the maximum descent of the current font.
getFontMetrics() - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
getFontMetrics(Font) - Method in class com.eteks.awt.PJAGraphicsManager
Returns the font metrics of a font.
getFontMetrics(Font) - Method in class com.eteks.awt.PJAComponentPeer
 
getFontMetrics(Font) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
getFontMetrics(Font) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
getFontMetrics(Font) - Method in class com.eteks.awt.PJAFontPeer
 
getFontMetrics(Font) - Method in class com.eteks.java2d.PJAGraphicsManager2D
Returns the font metrics of a font.
getFontMetrics(int) - Method in class com.eteks.awt.PJAFontPeer
 
getFontName() - Method in interface com.eteks.awt.PJAGraphicsExtension
Returns the graphics current font name.
getFontName() - Method in class com.eteks.awt.PJAGraphics
Returns the graphics current font name.
getFontPeer(String, int) - Method in class com.eteks.awt.PJAGraphicsManager
Returns a FontPeer instance matching to font name with style.
getFontPeer(String, int) - Method in class com.eteks.awt.PJAToolkit
Returns a FontPeer instance matching to font name with style.
getFontPeer(String, int) - Method in class com.eteks.java2d.PJAGraphicsManager2D
Returns a dummy FontPeer object.
getFontsDirectory() - Method in class com.eteks.awt.PJAGraphicsManager
Returns a font directory.
getFontsDirectory() - Static method in class com.eteks.awt.PJAToolkit
Deprecated. As of PJA version 1.1, replaced by PJAGraphicsManager.getFontsDirectory ().
getFontSize() - Method in interface com.eteks.awt.PJAGraphicsExtension
Returns the graphics current font size.
getFontSize() - Method in class com.eteks.awt.PJAGraphics
Returns the graphics current font size.
getFontsPath() - Method in class com.eteks.awt.PJAGraphicsManager
Returns the current font path.
getFontStyle() - Method in interface com.eteks.awt.PJAGraphicsExtension
Returns the graphics current font style.
getFontStyle() - Method in class com.eteks.awt.PJAGraphics
Returns the graphics current font style.
getFromRole() - Method in class gecco.server.actionprocessor.QueuedAction
Gets the FromRole attribute of the QueuedAction object.
getGameClassLoader() - Static method in class gecco.server.core.ReferenceHolder
Gets the GameClassLoader attribute of the ReferenceHolder class
getGameDescription() - Static method in class gecco.server.core.ReferenceHolder
Gets a short description of the game.
getGameName() - Static method in class gecco.server.core.ReferenceHolder
Gets the name of the game.
getGameTime() - Method in class gecco.server.clock.TimeString
Returns a String specifying the current game time.
getGhostSymbol(String) - Static method in class gecco.client.Symbols
Return the ghost symbol of the given type, or NULL if there is no symbol for that type.
getGodseyeRoles() - Method in class gecco.server.startup.RolesConf
Gets God's Eye roles.
getGodsEyeRoles() - Method in class gecco.server.unitmanager.UnitManager
Gets the GodsEyeRoles attribute of the UnitManager object
getGraphics() - Method in class com.eteks.awt.PJAComponentPeer
 
getGraphics() - Method in class com.eteks.awt.PJAImage
java.awt.Image implementation.
getGraphicsConfiguration() - Method in class com.eteks.awt.PJAGraphicsManager
Returns a GraphicsConfiguration instance required by the the method getGraphicsConfiguration () of ComponentPeer interface.
getGraphicsConfiguration() - Method in class com.eteks.awt.PJAComponentPeer
 
getGraphicsConfiguration() - Method in class com.eteks.java2d.PJAGraphicsManager2D
Returns a GraphicsConfiguration instance required by the the method getGraphicsConfiguration () of ComponentPeer interface.
getHandle() - Method in class gecco.client.Piece
Gets the Handle attribute of the Piece object
getHandle() - Method in class gecco.communication.messages.ActionMessage
Gets the PieceHandle attribute of the ActionMessage object
getHandle() - Method in class gecco.server.core.Unit
Gets the handle of the unit.
getHandles() - Method in class gecco.server.unitmanager.UnitManager
Gets the BlockedActionStrings attribute of the UnitManager object Gets the UnblockedActionStrings attribute of the UnitManager object Gets the handles of all units in the game.
getHeight() - Method in class com.eteks.awt.PJAImage
 
getHeight() - Method in class gecco.server.automaton.AutomatonMap
The height of the automaton grid.
getHeight(ImageObserver) - Method in class com.eteks.awt.PJAImage
java.awt.Image implementation.
getHost() - Method in class gecco.client.dialogs.HostPort
Gets the Host attribute of the HostPort object
getHScrollbarHeight() - Method in class com.eteks.awt.PJAComponentPeer
 
getId() - Method in class gecco.communication.messages.ActionMessage
Gets the Id attribute of the ActionMessage object
getId() - Method in class gecco.communication.server.ClientConnection
Gets the Id attribute of the ClientConnection object
getId() - Method in class gecco.server.core.Action
Gets the id of the Action object
getId() - Method in class gecco.server.core.ActionDefinition
Gets the id.
getIDstring() - Method in class com.eteks.java2d.PJAGraphicsDevice
java.awt.GraphicsDevice implementation.
getImage() - Method in class gecco.client.Map
Gets the image of automaton colors.
getImage(String) - Method in class com.eteks.awt.PJAGraphicsManager
Returns an image from the file filename.
getImage(String) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
getImage(URL) - Method in class com.eteks.awt.PJAGraphicsManager
Returns an image from the URL url.
getImage(URL) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
getImageData() - Method in class gecco.server.core.UnitType
Gets the ImageData attribute of the UnitType object
getIndexAtPoint(int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
getInitialMap() - Method in class gecco.server.automaton.AutomatonMap
Gets the InitialMap attribute of the AutomatonMap object
getInsets() - Method in class com.eteks.awt.PJAComponentPeer
 
getIntegerList(String) - Method in class gecco.server.startup.PropertyTree
Gets the IntegerList attribute of the PropertyTree object
getIntProperty(String) - Method in class gecco.server.core.Unit
Gets a specific property value that is known to be an integer value.
getIntProperty(String) - Method in class gecco.server.core.TypedProperties
Retrieves the int value associated with a name
getIntProperty(String) - Method in class gecco.server.core.UnitType
Gets the IntProperty attribute of the Unit object
getIntProperty(String, int) - Method in class gecco.util.CommandLineProperties
Gets the IntProperty attribute of the CommandLineProperties object
getIntX() - Method in class gecco.server.core.Unit
Gets the x coordinate of the unit's position, cast as an integer, using the floor function
getIntY() - Method in class gecco.server.core.Unit
Gets the y coordinate of the unit's position, cast as an integer, using the floor function.
getLeading() - Method in class com.eteks.awt.PJAFontData
Returns the leading of this font.
getLeading() - Method in class com.eteks.awt.PJAFontMetrics
java.awt.FontMetrics implementation.
getLocationOnScreen() - Method in class com.eteks.awt.PJAComponentPeer
 
GetMap - Static variable in interface gecco.communication.messages.MessageType
 
getMap() - Method in interface gecco.client.Server
Returns the map of the game.
getMap() - Method in class gecco.communication.client.ServerAmbassador
Called by the client when it wants to get the whole map
getMap() - Method in class gecco.communication.server.ClientAmbassador
Gets the Map attribute of the ClientAmbassador object
getMap() - Method in class gecco.server.core.ServerImpl
Returns the map itself, in its original state.
getMap() - Method in interface gecco.server.core.Server
Returns the map itself, in its original state.
GetMapMessage - class gecco.communication.messages.GetMapMessage.
This message is sent by the client to request the map.
GetMapMessage() - Constructor for class gecco.communication.messages.GetMapMessage
 
getMapSize() - Method in class gecco.communication.server.ClientAmbassador
Gets the MapSize attribute of the ClientAmbassador object
getMapSize() - Method in class gecco.server.core.ServerImpl
Returns the size of the map.
getMapSize() - Method in interface gecco.server.core.Server
Returns the size of the map.
getMaxAdvance() - Method in class com.eteks.awt.PJAFontData
Returns the max advance of this font.
getMaxAdvance() - Method in class com.eteks.awt.PJAFontMetrics
java.awt.FontMetrics implementation.
getMaxAscent() - Method in class com.eteks.awt.PJAFontData
Returns the max ascent of this font.
getMaxAscent() - Method in class com.eteks.awt.PJAFontMetrics
java.awt.FontMetrics implementation.
getMaxDescent() - Method in class com.eteks.awt.PJAFontData
Returns the max descent of this font.
getMaxDescent() - Method in class com.eteks.awt.PJAFontMetrics
java.awt.FontMetrics implementation.
getMessages() - Method in class gecco.client.Piece
Gets the Messages attribute of the Piece object
getMinimumSize() - Method in class com.eteks.awt.PJAComponentPeer
 
getMinimumSize() - Method in class gecco.client.infopanels.ActionDisplay
Gets the MinimumSize attribute of the ActionDisplay object
getMinimumSize(int) - Method in class com.eteks.awt.PJAComponentPeer
 
getMinimumSize(int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
getName() - Method in class com.eteks.awt.PJAFontData
Returns the name of this font.
getName() - Method in class com.eteks.awt.PJAFontPeer
Returns the name of this font.
getName() - Method in class gecco.client.Property
Gets the Name attribute of the Property object
getName() - Method in class gecco.client.Action
Gets the Name attribute of the Action object
getName() - Method in class gecco.client.Piece
Gets the Name attribute of the Piece object
getName() - Method in class gecco.server.core.Unit
Gets the name of the unit.
getName() - Method in class gecco.server.core.UnitEvent
Gets the name of the event.
getName() - Method in class gecco.server.core.ActionDefinition
Gets the name.
getName() - Method in class gecco.server.core.UnitType
Gets the Name attribute of the UnitType object
getNearestColor(HashMap, Color) - Method in class gecco.server.automaton.AutomatonMap
Gets the nearest color that exists on the map, given a certain color.
getNeighbourStates(int, int) - Method in class gecco.server.automaton.AutomatonMap
Gets the states of the automatons at a 3x3 region around a given location.
getNeighboursTimeToExecution() - Method in class gecco.server.automaton.AutomatonReturn
Gets the NeighboursTimeToExecution attribute of the AutomatonReturn object
getNormalizingTransform() - Method in class com.eteks.java2d.PJAGraphicsConfiguration
java.awt.GraphicsConfiguration implementation.
getNormalSpeed() - Method in class gecco.server.clock.Clock
Returns the normal speed of the game time.
getNormalSpeed() - Method in class gecco.server.startup.GlobalConf
Gets the normal speed.
getNumberOfClients() - Method in class gecco.communication.server.ClientAmbassador
returns the number of clients that are connected as any role
getNumberOfClients() - Method in class gecco.communication.server.RoleConnection
returns the number of clients connected to this role
getNumberOfClients(String) - Method in class gecco.communication.server.ClientAmbassador
returns the number of clients that are connected as 'role' at the moment.
getNumberOfMessages() - Method in class gecco.client.Piece
Gets the NumberOfMessages attribute of the Piece object
getNumScreens() - Method in class com.eteks.java2d.PJAGraphicsEnvironment
Returns the number of screens.
getObservers() - Method in class gecco.server.core.Unit
Gets the set of observers of the unit.
getObservingUnits(String) - Method in class gecco.server.unitmanager.UnitManager
Gets the set of units that a given role observes.
getParameter() - Method in class gecco.client.Action
Gets the Parameter attribute of the Action object
getParameterType() - Method in class gecco.client.Action
Gets the ParameterType attribute of the Action object
getPieceAt(Point) - Method in class gecco.client.Game
Returns the piece at the given point of the board, or null if no such piece exists.
getPieceBounds(Piece) - Method in class gecco.client.Board
Returns the bounding rectangle of the given piece.
getPiecesIntersecting(Rectangle) - Method in class gecco.client.Game
Returns all pieces of the game that intersect the given rectangle.
getPieceSymbol(String) - Static method in class gecco.client.Symbols
Returns the symbol (Image) of the given type, or NULL if there is no symbol for that type.
getPixelColor(int, int) - Method in class com.eteks.awt.PJAImage
Gets the color at the point (x,y).
getPixels() - Method in class com.eteks.awt.PJAImage
Gets the array used to store the pixels of this image.
getPixelsArray() - Method in class com.eteks.awt.PJAImage
Gets the array used to store the pixels of this image.
getPort() - Method in class gecco.client.dialogs.HostPort
Gets the Port attribute of the HostPort object
getPosition() - Method in class gecco.client.Piece
Gets the Position attribute of the Piece object
getPositionAt(Point) - Method in class gecco.client.Board
Converts a screen point to the Position corresponding to that point.
getPreferredCenter() - Method in class gecco.client.Game
Returns the preferred center of the map.
getPreferredSize() - Method in class com.eteks.awt.PJAComponentPeer
 
getPreferredSize(int) - Method in class com.eteks.awt.PJAComponentPeer
 
getPreferredSize(int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
getPrintJob(Frame, String, Properties) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
getProperties() - Method in class gecco.client.Piece
Returns an array containing the properties of this Piece.
getProperties() - Method in class gecco.server.core.Unit
Gets the map of properties of the unit.
getProperties() - Method in class gecco.server.core.UnitType
Gets the Properties attribute of the Unit object
getProperty(String) - Method in class gecco.client.Piece
Returns the property with the given name.
getProperty(String) - Method in class gecco.server.core.Unit
Gets a specific property value, given the property name.
getProperty(String) - Method in class gecco.server.core.TypedProperties
Retrieves the value associated with a name, without regard of its type.
getProperty(String) - Method in class gecco.server.core.UnitType
Gets the Property attribute of the Unit object
getProperty(String, ImageObserver) - Method in class com.eteks.awt.PJAImage
java.awt.Image implementation.
getPropertyType(String) - Method in class gecco.server.core.Unit
Gets the PropertyType attribute of the Unit object
getPropertyType(String) - Method in class gecco.server.core.TypedProperties
Retrieves the type of a property
getPropertyType(String) - Method in class gecco.server.core.UnitType
Gets the PropertyType attribute of the UnitType object
getQManager() - Static method in class gecco.server.core.ReferenceHolder
Gets the QManager attribute of the ReferenceHolder class
getRange() - Method in class gecco.server.core.UnitType
Gets the visibility range
getRange(Unit) - Method in class gecco.server.unitmanager.UnitManager
Gets the visibility range of a given unit.
getRangeSquare() - Method in class gecco.server.core.UnitType
Gets the square of the visibility range.
getRealTime() - Method in class gecco.server.clock.TimeString
Returns a String specifying the current real time.
getRole() - Method in class gecco.communication.server.ClientConnection
Gets the Role attribute of the ClientConnection object
getRoles() - Method in class gecco.server.startup.RolesConf
Gets all roles.
getRoles() - Method in class gecco.server.unitmanager.UnitManager
Gets the Roles attribute of the UnitManager object
getRolesAlienToUnit(Unit) - Method in class gecco.server.unitmanager.UnitManager
Gets the names of all roles that is alien to a given unit.
getRolesObservingUnit(Unit) - Method in class gecco.server.unitmanager.UnitManager
Gets the names of all roles that observes a given unit.
getScreenHeight() - Method in class com.eteks.awt.PJAGraphicsManager
Returns a default screen height for this manager (768 pixels).
getScreenPoint(Position) - Method in class gecco.client.Board
Converts the given Position of the map to the actual screen Point in the board's coordinate system.
getScreenResolution() - Method in class com.eteks.awt.PJAGraphicsManager
Returns a default screen resolution for this manager (75 dpi which is the resolution of a 15' screen displaying 1024 x 768 pixels).
getScreenResolution() - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
getScreenSize() - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
getScreenWidth() - Method in class com.eteks.awt.PJAGraphicsManager
Returns a default screen width for this manager (1024pixels).
getSelectedIndexes() - Method in class com.eteks.awt.PJAComponentPeer
 
getSelectedPiecePositions() - Method in class gecco.client.Game
Returns the positions of the queued actions (and the currently executing action) of the selected piece, or NULL if no piece is selected.
getSelectionEnd() - Method in class com.eteks.awt.PJAComponentPeer
 
getSelectionStart() - Method in class com.eteks.awt.PJAComponentPeer
 
getSelfTimeToExecution() - Method in class gecco.server.automaton.AutomatonReturn
Gets the SelfTimeToExecution attribute of the AutomatonReturn object
getSingle(String) - Method in class gecco.server.startup.PropertyTree
Gets the Single attribute of the PropertyTree object
getSingleDouble(String) - Method in class gecco.server.startup.PropertyTree
Gets the SingleDouble attribute of the PropertyTree object
getSingleInt(String) - Method in class gecco.server.startup.PropertyTree
Gets the SingleInt attribute of the PropertyTree object
getSingleString(String) - Method in class gecco.server.startup.PropertyTree
Gets the SingleString attribute of the PropertyTree object
getSingleSubtree(String) - Method in class gecco.server.startup.PropertyTree
Gets the SingleSubtree attribute of the PropertyTree object
getSize() - Method in class com.eteks.awt.PJAFontData
Returns the size of this font.
getSize() - Method in class gecco.client.Map
Return the size of the map, in automatons.
getSource() - Method in class com.eteks.awt.PJAImage
java.awt.Image implementation.
getSpeed() - Method in class gecco.server.clock.Clock
Gets the Speed attribute of the Clock object
getStartTime() - Method in class gecco.server.startup.GlobalConf
Gets the start time.
getState() - Method in class com.eteks.awt.PJAFramePeer
 
getState() - Method in class gecco.server.automaton.Automaton
Gets the State attribute of the Automaton object
getStringList(String) - Method in class gecco.server.startup.PropertyTree
Gets the StringList attribute of the PropertyTree object
getStringProperty(String) - Method in class gecco.server.core.Unit
Gets a specific property value that is known to be a String.
getStringProperty(String) - Method in class gecco.server.core.TypedProperties
Retrieves the String value associated with a name
getStringProperty(String) - Method in class gecco.server.core.UnitType
Gets the StringProperty attribute of the Unit object
getStringProperty(String, String) - Method in class gecco.util.CommandLineProperties
Gets the StringProperty attribute of the CommandLineProperties object
getStringWidth(String) - Method in interface com.eteks.awt.PJAGraphicsExtension
Returns the total advance width for showing the specified String of the current Font.
getStringWidth(String) - Method in class com.eteks.awt.PJAGraphics
Returns the total advance width for showing the specified String of the current Font.
getStyle() - Method in class com.eteks.awt.PJAFontData
Returns the style of this font.
getStyle() - Method in class com.eteks.awt.PJAFontPeer
Returns the style of this font.
getSubimage(int, int, int, int) - Method in class com.eteks.java2d.PJABufferedImage
Overriden to return an instance of PJABufferedImage.
getSubtreeList(String) - Method in class gecco.server.startup.PropertyTree
Gets the SubtreeList attribute of the PropertyTree object
getSymbol() - Method in class gecco.client.Piece
Gets the Symbol attribute of the Piece object
getSymbol() - Method in class gecco.client.Ghost
Gets the Symbol attribute of the Ghost object
getSymbol() - Method in class gecco.client.animation.AnimatedPiece
Gets the Symbol attribute of the AnimatedPiece object
getSystemClipboard() - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
getSystemEventQueueImpl() - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
getTargetHandle() - Method in class gecco.communication.messages.ActionOnUnitMessage
Gets the TargetPieceHandle attribute of the ActionOnUnitMessage object
getText() - Method in class com.eteks.awt.PJAComponentPeer
 
getTimeString() - Static method in class gecco.server.core.ReferenceHolder
Gets the time string factory.
getTimeString(double, boolean) - Static method in class gecco.server.clock.TimeString
Returns a String specifying the given time.
getTimeToExecute() - Method in class gecco.server.actionprocessor.QueuedAction
Gets the TimeToExecute attribute of the QueuedAction object.
getTimeToExecute() - Method in class gecco.server.qmanager.QueuedAutomaton
Gets the time when the automaton shoule be processed.
getTimeToExecutions() - Method in class gecco.server.automaton.AutomatonReturnQueueSelective
Gets the TimeToExecutions attribute of the AutomatonReturnQueueSelective object
getTimeToWakeup() - Method in class gecco.server.core.ActionReturnRequeue
Gets the number of seconds until next call to handler.
getToolkit() - Method in class com.eteks.awt.PJAComponentPeer
 
getType() - Method in class com.eteks.java2d.PJAGraphicsDevice
java.awt.GraphicsDevice implementation.
getType() - Method in class gecco.client.Action
Gets the Type attribute of the Action object
getType() - Method in class gecco.client.Piece
Gets the Type attribute of the Piece object
getUnblockedActions(Unit) - Method in class gecco.server.unitmanager.UnitManager
Gets the set of non-blocked actions of a given unit.
getUnit() - Method in class gecco.server.core.Action
Gets the unit that executes this action
getUnit(int) - Method in class gecco.server.unitmanager.UnitManager
Gets a unit, given its handle.
getUnitClass() - Method in class gecco.server.core.UnitType
Gets the UnitClass attribute of the UnitType object
getUnitEvent() - Method in class gecco.server.automaton.AutomatonReturn
Gets the UnitEvent attribute of the AutomatonReturn object
getUnitEventForCurrentState(String) - Method in class gecco.game.firefighter.AutomatonImpl
Gets the UnitEventForCurrentState attribute of the AutomatonImpl object
getUnitEventForCurrentState(String) - Method in class gecco.game.oresund.AutomatonImpl
Gets the UnitEventForCurrentState attribute of the AutomatonImpl object
getUnitEventForCurrentState(String) - Method in class gecco.game.testgame.AutomatonImpl
Gets the UnitEventForCurrentState attribute of the AutomatonImpl object
getUnitEventForCurrentState(String) - Method in class gecco.server.automaton.Automaton
Gets the UnitEvent for the current state of the automaton.
getUnitHandle() - Method in class gecco.server.core.Action
Gets the handle of the unit that executes this action
getUnitManager() - Static method in class gecco.server.core.ReferenceHolder
Gets the UnitManager attribute of the ReferenceHolder class
getUnitMessage() - Method in class gecco.server.core.ActionReturn
Gets the message from the action handler.
getUnitsAtAutomatonPosition(int, int) - Method in class gecco.server.unitmanager.UnitManager
Gets the set of units at a given position.
getUnitType() - Method in class gecco.server.core.Unit
Gets the unit type of the unit.
getUnitType(String) - Method in class gecco.server.unitmanager.UnitManager
Gets a unit type, given its name.
getUnitTypeIcons() - Method in class gecco.communication.server.ClientAmbassador
Gets the UnitTypeIcons attribute of the ClientAmbassador object
getUnitTypeIcons() - Method in class gecco.server.core.ServerImpl
Gets the UnitTypeIcons attribute of the ServerImpl object
getUnitTypeIcons() - Method in interface gecco.server.core.Server
Returns a map with keys representing the string for each unit type.
getUnitTypes() - Method in class gecco.server.unitmanager.UnitManager
Gets all unit types in the game.
getUpdatedActions() - Method in class gecco.server.core.Unit
Gets the set of all actions that have been updated.
getUpdatedProperties() - Method in class gecco.server.core.Unit
Gets the map of all properties that have been updated during the current tick.
getValue() - Method in class gecco.client.Property
Gets the Value attribute of the Property object
getVariable(String) - Method in class gecco.server.startup.PropertyTree
Gets the Variable attribute of the PropertyTree object
getVisibilityFilter() - Static method in class gecco.server.core.ReferenceHolder
Gets the visibility filter.
getVisibilityInfo() - Static method in class gecco.server.core.ReferenceHolder
Gets the visibility info object.
getVisionStart() - Method in class gecco.server.core.UnitType
Gets the VisionStart attribute of the UnitType object
getVisionStop() - Method in class gecco.server.core.UnitType
Gets the VisionStop attribute of the UnitType object
getVScrollbarWidth() - Method in class com.eteks.awt.PJAComponentPeer
 
getWidth() - Method in class com.eteks.awt.PJAImage
 
getWidth() - Method in class gecco.server.automaton.AutomatonMap
The width of the automaton grid.
getWidth(ImageObserver) - Method in class com.eteks.awt.PJAImage
java.awt.Image implementation.
getX() - Method in class gecco.client.Position
Gets the X attribute of the Position object
getX() - Method in class gecco.communication.messages.ActionOnPositionMessage
Gets the X attribute of the ActionOnPositionMessage object
getX() - Method in class gecco.server.core.Unit
Gets the x coordinate of the unit's position.
getX() - Method in class gecco.server.qmanager.QueuedAutomaton
Gets the x coordinate of the automaton
getX() - Method in class gecco.server.qmanager.QueuedEvent
Gets the x coordinate of the automaton to be affected
getY() - Method in class gecco.client.Position
Gets the Y attribute of the Position object
getY() - Method in class gecco.communication.messages.ActionOnPositionMessage
Gets the Y attribute of the ActionOnPositionMessage object
getY() - Method in class gecco.server.core.Unit
Gets the y coordinate of the unit's position.
getY() - Method in class gecco.server.qmanager.QueuedAutomaton
Gets the y coordinate of the automaton
getY() - Method in class gecco.server.qmanager.QueuedEvent
Gets the y coordinate of the automaton to be affected
Ghost - class gecco.client.Ghost.
A ghost is a piece that is painted using a semi-transparent symbol.
Ghost(int) - Constructor for class gecco.client.Ghost
Constructor for the Ghost object
Ghost(int, Position, String, String) - Constructor for class gecco.client.Ghost
Constructor for the Ghost object
GIFDecoder - class com.eteks.awt.image.GIFDecoder.
An ImageProducer implementation that builds an image from a GIF input stream.
Image data is sent to consumers only when image build is complete.
GIFDecoder(InputStream) - Constructor for class com.eteks.awt.image.GIFDecoder
Creates an instance of a GIF decoder for further reading from input.
GlobalConf - class gecco.server.startup.GlobalConf.
This class loads the settings stored in global.conf.
GlobalConf(Reader) - Constructor for class gecco.server.startup.GlobalConf
The constructor parses the file immediately.
godseyeRoles - Variable in class gecco.server.unitmanager.UnitManager
All gods eye roles!
greaterThan(VersionNumber) - Method in class gecco.util.VersionNumber
Determines if this VersionNumber is greater than the other VersionNumber.
GridBagConstraints2 - class com.eteks.tools.awt.GridBagConstraints2.
Same as GridBagConstraints with a simpler class constructor (this constructor exists only in Java2).
GridBagConstraints2(int, int, int, int, double, double, int, int, Insets, int, int) - Constructor for class com.eteks.tools.awt.GridBagConstraints2
 

H

handle - Variable in class gecco.communication.messages.UnitPositionUpdateMessage
Description of the Field
handle - Variable in class gecco.communication.messages.UnitPropertyUpdateMessage
Description of the Field
handle - Variable in class gecco.communication.messages.UnitVisibleMessage
Description of the Field
handle - Variable in class gecco.communication.messages.ActionFailedMessage
Description of the Field
handle - Variable in class gecco.communication.messages.UnitDestroyedMessage
Description of the Field
handle - Variable in class gecco.communication.messages.ActionCompletedMessage
Description of the Field
handle - Variable in class gecco.communication.messages.UnitDeletedMessage
Description of the Field
handle - Variable in class gecco.communication.messages.UnitMessageMessage
Description of the Field
handle - Variable in class gecco.communication.messages.ActionBlockedMessage
Description of the Field
handle - Variable in class gecco.server.core.Unit
The handle identifies the unit during communication with clients.
handleAutomatonUnitEvent(int, int, UnitEvent) - Method in class gecco.server.actionprocessor.ActionProcessor
This method handles an incoming UnitEvent coming from the automaton-layer, most probably due to a change of state in the automaton at position (x, y).
handleEvent(AutomatonEvent) - Method in class gecco.game.firefighter.AutomatonImpl
Description of the Method
handleEvent(AutomatonEvent) - Method in class gecco.game.oresund.AutomatonImpl
Description of the Method
handleEvent(AutomatonEvent) - Method in class gecco.game.testgame.AutomatonImpl
Description of the Method
handleEvent(AutomatonEvent) - Method in class gecco.server.automaton.Automaton
Handles incoming event to the automaton.
handleEvent(AWTEvent) - Method in class com.eteks.awt.PJAComponentPeer
 
handleEvent(UnitEvent, Unit) - Method in class gecco.game.firefighter.FirefighterEventHandler
Description of the Method
handleEvent(UnitEvent, Unit) - Method in class gecco.game.oresund.BaseStationEventHandler
Description of the Method
handleEvent(UnitEvent, Unit) - Method in class gecco.game.oresund.ShipEventHandler
Description of the Method
handleEvent(UnitEvent, Unit) - Method in class gecco.game.oresund.HelicopterEventHandler
Description of the Method
handleEvent(UnitEvent, Unit) - Method in class gecco.game.testgame.TestUnitEventHandler
Description of the Method
handleEvent(UnitEvent, Unit) - Method in class gecco.server.core.EventHandler
The method that is called by the game engine when a unit of a unit type with this event handler receives a message.
handleFocusTraversalEvent(KeyEvent) - Method in class com.eteks.awt.PJAComponentPeer
 
handleUnitToUnitEvent(Unit, UnitEvent) - Method in class gecco.server.actionprocessor.ActionProcessor
This method handles an incoming UnitEvent which originates from another unit in the game.
hasChanged() - Method in class gecco.server.automaton.Automaton
Indicates if the automaton has changed state since the last call to this method.
hashCode() - Method in class com.eteks.awt.PJAFontData
 
hashCode() - Method in class com.eteks.awt.PJAFontPeer
 
hashCode() - Method in class gecco.client.Action
Description of the Method
hashCode() - Method in class gecco.client.Piece
Description of the Method
hashCode() - Method in class gecco.server.core.Unit
Returns a hash code of the unit.
hashCode() - Method in class gecco.server.core.TypedProperties
Computes a hash code for this object.
hashCode() - Method in class gecco.util.VersionNumber
Computes the hash code of this VersionNumber.
Helicopter - class gecco.game.oresund.Helicopter.
Description of the Class
Helicopter() - Constructor for class gecco.game.oresund.Helicopter
Constructor for the Helicopter object
HelicopterEventHandler - class gecco.game.oresund.HelicopterEventHandler.
Description of the Class
HelicopterEventHandler() - Constructor for class gecco.game.oresund.HelicopterEventHandler
Constructor for the HelicopterEventHandler object
hide() - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by setVisible(boolean).
hide() - Static method in class gecco.client.dialogs.LoadingInfo
Hides the dialog.
hideMapPoint(int, int) - Method in interface gecco.client.Client
Makes the given point (automaton) of the map invisible.
hideMapPoint(int, int) - Method in class gecco.client.Board
Makes the given point of the map invisible.
hideMapPoint(int, int) - Method in class gecco.client.Game
Makes an automaton in the map invisible.
hideMapPoints(int[], int[]) - Method in interface gecco.client.Client
Makes the given points (automatons) of the map invisible.
hideMapPoints(int[], int[]) - Method in class gecco.client.Game
Makes a number of automatons invisible.
hidePoint(int, int) - Method in class gecco.client.Map
Makes the given point invisibile by making it darker.
host - Variable in class gecco.client.dialogs.HostPort
Description of the Field
HostPort - class gecco.client.dialogs.HostPort.
A struct containing a hostname and a port.
HostPort() - Constructor for class gecco.client.dialogs.HostPort
Constructor for the HostPort object
HostPort(HostPort) - Constructor for class gecco.client.dialogs.HostPort
Constructor for the HostPort object
HostPort(String, int) - Constructor for class gecco.client.dialogs.HostPort
Constructor for the HostPort object

I

icons - Variable in class gecco.communication.messages.MapMessage
 
in - Static variable in class gecco.server.core.ReferenceHolder
Standard input
initialize(int) - Method in class gecco.game.firefighter.AutomatonImpl
Description of the Method
initialize(int) - Method in class gecco.game.oresund.AutomatonImpl
Description of the Method
initialize(int) - Method in class gecco.game.testgame.AutomatonImpl
Description of the Method
initialize(int) - Method in class gecco.server.automaton.Automaton
Initialises the automaton.
initializeUnitPosition(Unit) - Method in class gecco.server.unitmanager.UnitManager
Initialises a unit.
initialMapRGB - Variable in class gecco.server.automaton.AutomatonMap
The size of this array is 3*xsize*ysize.
initiate(int, int) - Method in class gecco.game.firefighter.Water
Description of the Method
initiate(int, int) - Method in class gecco.game.firefighter.SetOnFire
Description of the Method
initiate(int, int) - Method in class gecco.game.firefighter.Move
Description of the Method
initiate(int, int) - Method in class gecco.game.oresund.Transfer
Description of the Method
initiate(int, int) - Method in class gecco.game.oresund.Refuel
Description of the Method
initiate(int, int) - Method in class gecco.game.oresund.Move
Description of the Method
initiate(int, int) - Method in class gecco.game.oresund.Rescue
Description of the Method
initiate(int, int) - Method in class gecco.game.oresund.Fly
Description of the Method
initiate(int, int) - Method in class gecco.game.testgame.FlyAction
Description of the Method
initiate(int, int) - Method in class gecco.game.testgame.AttackAction
Description of the Method
initiate(int, int) - Method in class gecco.game.testgame.InstantAttackAction
Description of the Method
initiate(int, int) - Method in class gecco.server.core.Action
Initialise the action without any arguments.
initiate(int, int, double, double) - Method in class gecco.game.firefighter.Water
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.firefighter.SetOnFire
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.firefighter.Move
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.oresund.Transfer
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.oresund.Refuel
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.oresund.Move
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.oresund.Rescue
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.oresund.Fly
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.testgame.FlyAction
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.testgame.AttackAction
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.testgame.MoveAction
Description of the Method
initiate(int, int, double, double) - Method in class gecco.game.testgame.InstantAttackAction
Description of the Method
initiate(int, int, double, double) - Method in class gecco.server.core.Action
Initialise the action with a point as argument.
initiate(int, int, int) - Method in class gecco.game.firefighter.Water
Description of the Method
initiate(int, int, int) - Method in class gecco.game.firefighter.SetOnFire
Description of the Method
initiate(int, int, int) - Method in class gecco.game.firefighter.Move
Description of the Method
initiate(int, int, int) - Method in class gecco.game.oresund.Transfer
Description of the Method
initiate(int, int, int) - Method in class gecco.game.oresund.Refuel
Description of the Method
initiate(int, int, int) - Method in class gecco.game.oresund.Move
Description of the Method
initiate(int, int, int) - Method in class gecco.game.oresund.Rescue
Description of the Method
initiate(int, int, int) - Method in class gecco.game.oresund.Fly
Description of the Method
initiate(int, int, int) - Method in class gecco.game.testgame.FlyAction
Description of the Method
initiate(int, int, int) - Method in class gecco.game.testgame.AttackAction
Description of the Method
initiate(int, int, int) - Method in class gecco.game.testgame.InstantAttackAction
Description of the Method
initiate(int, int, int) - Method in class gecco.server.core.Action
Initialise the action with a unit as argument.
initiateAction(String, Action) - Method in class gecco.server.actionprocessor.ActionProcessor
Initiates an action for a unit.
initMap(Image, HashMap) - Method in class gecco.server.automaton.AutomatonMap
Allocates all automatons on the map.
initMap(String) - Method in class gecco.server.automaton.AutomatonMap
Allocates all automatons on the map.
insert(String, int) - Method in class com.eteks.awt.PJAComponentPeer
 
insertText(String, int) - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by insert(String, int).
insets() - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by getInsets().
instant - Variable in class gecco.communication.messages.ActionBlockedMessage
Description of the Field
InstantAttackAction - class gecco.game.testgame.InstantAttackAction.
Description of the Class
InstantAttackAction() - Constructor for class gecco.game.testgame.InstantAttackAction
Constructor for the InstantAttackAction object
intX - Variable in class gecco.server.core.Unit
The x-coordinate of the unit's position as an integer.
intY - Variable in class gecco.server.core.Unit
The y-coordinate of the unit's position as an integer.
InvalidMessage - class gecco.communication.messages.InvalidMessage.
This message is returned by Message.read() when the message id did not match any existing message.
InvalidMessage() - Constructor for class gecco.communication.messages.InvalidMessage
 
invisible - Variable in class gecco.communication.messages.MapPointsInvisibleMessage
Description of the Field
isActionInstantaneous(String) - Method in class gecco.server.core.UnitType
Determines if a given action associated with this unit type is instantaneous.
isBlocked - Variable in class gecco.communication.messages.ActionBlockedMessage
Description of the Field
isClassAccessible(String) - Method in class com.eteks.awt.PJAGraphicsManager
Returns true if it successes to load the class className.
isConsumer(ImageConsumer) - Method in class com.eteks.awt.image.GIFDecoder
ImageProducer implementation.
isDestroyed - Variable in class gecco.server.core.Unit
Flag to indicate if the unit is destroyed.
isDestroyed() - Method in class gecco.server.core.Unit
Determines if the unit has been destroyed.
isEmpty() - Method in class gecco.client.ActionQueue
Gets the Empty attribute of the ActionQueue object
isEmpty() - Method in class gecco.communication.messages.MessageQueue
Gets the Empty attribute of the MessageQueue object
isEmpty() - Method in class gecco.server.core.TypedProperties
Checks if any properties are defined or not.
isFocusTraversable() - Method in class com.eteks.awt.PJAComponentPeer
 
isFontInstantiable() - Method in class com.eteks.awt.PJAGraphicsManager
Returns true if it successes to load instantiate a java.awt.Font.
isFrozen() - Method in class gecco.server.clock.Clock
Gets the Frozen attribute of the Clock object
isGodseye(String) - Method in class gecco.server.unitmanager.UnitManager
Determines if a given role has status as god's eye.
isInstantaneous() - Method in class gecco.client.Action
Gets the Instantaneous attribute of the Action object
isInstantaneous() - Method in class gecco.server.core.Action
Gets the Instantaneous flag of the Action object
isInstantaneous() - Method in class gecco.server.core.ActionDefinition
Is the action instantaneous?
isObserver(String) - Method in class gecco.server.core.Unit
Determines if a given role is an observer of the unit.
isOutsideMap(double, double) - Static method in class gecco.server.core.Action
Determines whether or not a given point is outside the map or not.
isRoleCommander(String) - Method in class gecco.server.unitmanager.UnitManager
Determines if a given role commands any unit.
isSelected() - Method in class gecco.client.Piece
Gets the Selected attribute of the Piece object
isUnique() - Method in class gecco.communication.server.RoleDefinition
returns true if this role only can be assumed by one client at a time.
isUnitActive(String, int) - Method in class gecco.server.unitmanager.UnitManager
Determines if a given is active for a given role.

J

JavaVersion - class gecco.util.JavaVersion.
A subclass of VersionNumber that is initialized to the system property java.version.
JavaVersion() - Constructor for class gecco.util.JavaVersion
Constructs a JavaVersion with the version number specified in the system property java.version.
JoinAsRole - Static variable in interface gecco.communication.messages.MessageType
 
joinAsRole(String) - Method in interface gecco.client.Server
Join the game as the given role.
joinAsRole(String) - Method in class gecco.communication.client.ServerAmbassador
Tells the server that the client wants to join the game.
JoinAsRoleMessage - class gecco.communication.messages.JoinAsRoleMessage.
This message is sent by the client to tell the server what role it wants to play.
JoinAsRoleMessage(String) - Constructor for class gecco.communication.messages.JoinAsRoleMessage
 

K

key - Variable in class gecco.communication.messages.UnitPropertyUpdateMessage
Description of the Field
keySet() - Method in class gecco.server.core.TypedProperties
Returns the set of all names of properties that have been defined
kill() - Method in class gecco.communication.client.DataOutputExchangeHandler
called whenever someone wants this thread to die
kill() - Method in class gecco.communication.client.DataInputExchangeHandler
called whenever someone wants this thread to die
kill() - Method in class gecco.communication.server.DataOutputExchangeHandler
called whenever someone wants this Thread to die
kill() - Method in class gecco.communication.server.DataInputExchangeHandler
called whenever someone wants this Thread to die

L

lessThan(VersionNumber) - Method in class gecco.util.VersionNumber
Determines if this VersionNumber is less than the other VersionNumber.
loadCommandLine(String[]) - Method in class gecco.util.CommandLineProperties
Description of the Method
loadFont(InputStream) - Method in class com.eteks.awt.PJAGraphicsManager
Loads the PJA 1.1 fonts from the stream fontStream and add them to graphics manager for PJAGraphics disposal.
loadFonts() - Method in class com.eteks.awt.PJAGraphicsManager
Loads all font files (with extension .pjaf) contained in the path returned by PJAGraphicsManager.getFontsPath().
loadFonts() - Static method in class com.eteks.awt.PJAToolkit
Deprecated. As of PJA version 1.1, replaced by PJAGraphicsManager.loadFonts ().
loadFonts(String) - Method in class com.eteks.awt.PJAGraphicsManager
Loads all font files (with extension .pjaf) in the dir directory.
loadFonts(String) - Static method in class com.eteks.awt.PJAToolkit
Deprecated. As of PJA version 1.1, replaced by PJAGraphicsManager.loadFonts (String).
LoadingInfo - class gecco.client.dialogs.LoadingInfo.
This class supplies a modal dialog box that indicates that something is loading.
loadMap(BufferedImage) - Method in class gecco.client.Map
Loads the given image as map.
loadMap(Map) - Method in class gecco.client.Board
Sets the map of the board.
loadProperties(TypedProperties) - Method in class gecco.server.core.TypedProperties
Copies all properties (and their types) from the given TypedProperties to this one.
loadSystemColors(int[]) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
log - Static variable in class gecco.server.core.ReferenceHolder
Log output

M

main(String[]) - Static method in class com.eteks.awt.PJAToolkit
Deprecated. As of PJA version 1.1, replaced by PJANativeToolkitComparison.main (args).
main(String[]) - Static method in class com.eteks.awt.PJAFontPeer
Deprecated. As of PJA version 1.1, PJAFontPeer main () method moved to com.eteks.tools.fontcapture.PJAFontCapture.
main(String[]) - Static method in class com.eteks.tools.fontcapture.PJAFontCapture
 
main(String[]) - Static method in class gecco.client.Game
Main method for program start.
main(String[]) - Static method in class gecco.server.startup.StartServer
The main program for the StartServer class
makeScreenDevice(int) - Method in class com.eteks.java2d.PJAGraphicsEnvironment
 
makeVisible(int) - Method in class com.eteks.awt.PJAComponentPeer
 
Map - class gecco.client.Map.
This class represents the map of a game.
Map - Static variable in interface gecco.communication.messages.MessageType
 
Map() - Constructor for class gecco.client.Map
Initilizes a new map.
mapInputMethodHighlight(InputMethodHighlight) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
mapLoadingProgressUpdate(double) - Method in interface gecco.client.Client
The server calls this method as the initilizing loading of the map progresses.
mapLoadingProgressUpdate(double) - Method in class gecco.client.Game
Description of the Method
MapMessage - class gecco.communication.messages.MapMessage.
This message contains the map and the icons.
MapMessage(Dimension, byte[], Map) - Constructor for class gecco.communication.messages.MapMessage
 
MapPointInvisible - Static variable in interface gecco.communication.messages.MessageType
 
MapPointInvisibleMessage - class gecco.communication.messages.MapPointInvisibleMessage.
This message is put in the send queue on the server part of the communication, when the server calls automatonInvisible
MapPointInvisibleMessage(int, int) - Constructor for class gecco.communication.messages.MapPointInvisibleMessage
Constructor for the MapPointInvisibleMessage object
MapPointsInvisible - Static variable in interface gecco.communication.messages.MessageType
 
MapPointsInvisibleMessage - class gecco.communication.messages.MapPointsInvisibleMessage.
This message is put in the send queue on the server part of the communication, when the server calls automatonsInvisible
MapPointsInvisibleMessage(byte[]) - Constructor for class gecco.communication.messages.MapPointsInvisibleMessage
Constructor for the MapPointsInvisibleMessage object
mapRGB - Variable in class gecco.communication.messages.MapMessage
 
MapUpdate - Static variable in interface gecco.communication.messages.MessageType
 
mapUpdate(int[], int[], int[]) - Method in interface gecco.client.Client
Update the given points to the corresponding colors.
mapUpdate(int[], int[], int[]) - Method in class gecco.client.Game
Description of the Method
mapUpdate(int, int, int) - Method in interface gecco.client.Client
Update the given point to the given color.
mapUpdate(int, int, int) - Method in class gecco.client.Board
Updates the given point of the map to the given color.
mapUpdate(int, int, int) - Method in class gecco.client.Game
Description of the Method
MapUpdateMessage - class gecco.communication.messages.MapUpdateMessage.
This message is put in the send queue on the server part of the communication, when the server calls automatonHasState
MapUpdateMessage(int, int, int) - Constructor for class gecco.communication.messages.MapUpdateMessage
Constructor for the MapUpdateMessage object
MapUpdates - Static variable in interface gecco.communication.messages.MessageType
 
MapUpdatesMessage - class gecco.communication.messages.MapUpdatesMessage.
This message is put in the send queue on the server part of the communication, when the server calls automatonsHasState
MapUpdatesMessage(byte[]) - Constructor for class gecco.communication.messages.MapUpdatesMessage
Constructor for the MapUpdatesMessage object
markAsDestroyed() - Method in class gecco.server.core.Unit
Mark the unit as destroyed.
MAX_MESSAGES - Static variable in class gecco.client.Piece
The maximum number of messages.
message - Variable in class gecco.communication.messages.UnitMessageMessage
Description of the Field
Message - class gecco.communication.messages.Message.
This is the superclass to all messages.
Message() - Constructor for class gecco.communication.messages.Message
 
MessageDisplay - class gecco.client.infopanels.MessageDisplay.
This panel contains the messages of a Piece.
MessageDisplay() - Constructor for class gecco.client.infopanels.MessageDisplay
Constructor for the MessageDisplay object
MessageQueue - class gecco.communication.messages.MessageQueue.
A simple queue for messages to be sent, used both in the server and client part of the communication packages.
MessageQueue() - Constructor for class gecco.communication.messages.MessageQueue
Constructor for the MessageQueue object
MessageType - interface gecco.communication.messages.MessageType.
An interface containing constants that will be sent before a message is sent, to tell what type of message is coming.
minimumSize() - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by getMinimumSize().
minimumSize(int) - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by getMinimumSize(int).
minimumSize(int, int) - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by getMinimumSize(int, int).
Move - class gecco.game.firefighter.Move.
Description of the Class
Move - class gecco.game.oresund.Move.
Description of the Class
Move() - Constructor for class gecco.game.firefighter.Move
Constructor for the Move object
Move() - Constructor for class gecco.game.oresund.Move
Constructor for the Move object
MoveAction - class gecco.game.testgame.MoveAction.
Description of the Class
MoveAction() - Constructor for class gecco.game.testgame.MoveAction
 
MoveFastAction - class gecco.game.testgame.MoveFastAction.
Description of the Class
MoveFastAction() - Constructor for class gecco.game.testgame.MoveFastAction
Constructor for the MoveFastAction object

N

name - Variable in class gecco.communication.messages.UnitVisibleMessage
Description of the Field
name - Variable in class gecco.communication.messages.ActionBlockedMessage
Description of the Field
name - Variable in class gecco.server.core.Unit
The name of the unit appears in the client, and is set up in a configuration file.
neighboursTimeToExecution - Variable in class gecco.server.automaton.AutomatonReturn
Description of the Field
newValue - Variable in class gecco.communication.messages.UnitPropertyUpdateMessage
Description of the Field
NullWriter - class gecco.util.NullWriter.
Description of the Class
NullWriter() - Constructor for class gecco.util.NullWriter
Constructor for the NullWriter object

O

observers - Variable in class gecco.server.core.Unit
The set of observers contains the names of all roles that has observing rights on this unit, that is, that sees everything this unit sees.
out - Static variable in class gecco.server.core.ReferenceHolder
Standard output

P

paint(Graphics) - Method in class com.eteks.awt.PJAComponentPeer
 
paint(Graphics, Rectangle) - Method in class gecco.client.Piece
Paints the symbol on the given graphics, within the given bounding rectangle.
paramType - Variable in class gecco.communication.messages.ActionBlockedMessage
Description of the Field
parse(Reader, ActsOfGod) - Static method in class gecco.server.startup.ActsOfGodConf
Parses the file and updates the Acts of God scheduler.
parse(Reader, UnitManager) - Static method in class gecco.server.startup.UnitsConf
Parses the file and updates the unit manager.
parse(Reader, UnitManager) - Static method in class gecco.server.startup.UnitTypesConf
Parses the file and updates the unit manager.
ParseErrorException - exception gecco.server.startup.ParseErrorException.
Description of the Class
ParseErrorException(String) - Constructor for class gecco.server.startup.ParseErrorException
Constructor for the ParseErrorException object
parseStream(Reader) - Method in class gecco.server.startup.PropertyTree
Description of the Method
pauseHandler() - Static method in class gecco.util.SignalThread
This utility method will cause the thread to sleep as long as the currently pending signal is SIGPAUSE .
peek() - Method in class gecco.client.ActionQueue
Description of the Method
Piece - class gecco.client.Piece.
Represents a piece (unit) on the game board.
PIECE - Static variable in class gecco.client.Action
The parameter type piece.
Piece(int) - Constructor for class gecco.client.Piece
Constructor for the Piece object
Piece(int, Position, String, String) - Constructor for class gecco.client.Piece
Constructor for the Piece object
PieceInfoPanel - class gecco.client.infopanels.PieceInfoPanel.
This is a panel that contains info about a Piece.
PieceInfoPanel(Game) - Constructor for class gecco.client.infopanels.PieceInfoPanel
 
Ping - Static variable in interface gecco.communication.messages.MessageType
 
PingMessage - class gecco.communication.messages.PingMessage.
This message is sent by the server to make sure that the client is connected and working properly.
PingMessage() - Constructor for class gecco.communication.messages.PingMessage
 
PingReply - Static variable in interface gecco.communication.messages.MessageType
 
PingReplyMessage - class gecco.communication.messages.PingReplyMessage.
This message is put in the send queue on the client part of the communication, when the DataInputExchangeHandler gets a Ping message from the server
PingReplyMessage() - Constructor for class gecco.communication.messages.PingReplyMessage
 
pingSyncObject - Variable in class gecco.communication.server.DataOutputExchangeHandler
Description of the Field
PJABufferedImage - class com.eteks.java2d.PJABufferedImage.
Pure Java AWT BufferedImage implementation.
PJABufferedImage(ColorModel, WritableRaster, boolean, Hashtable) - Constructor for class com.eteks.java2d.PJABufferedImage
Same constructor as BufferedImage.
PJABufferedImage(int, int, int) - Constructor for class com.eteks.java2d.PJABufferedImage
Same constructor as BufferedImage.
PJABufferedImage(int, int, int, IndexColorModel) - Constructor for class com.eteks.java2d.PJABufferedImage
Same constructor as BufferedImage.
PJAComponentPeer - class com.eteks.awt.PJAComponentPeer.
Pure Java AWT Component Peer.
PJAComponentPeer() - Constructor for class com.eteks.awt.PJAComponentPeer
Deprecated. As of PJA version 1.2, should use PJAComponentPeer (Component) constructor or PJAMenuComponentPeer (MenuComponent) constructor instead.
PJAComponentPeer(Component) - Constructor for class com.eteks.awt.PJAComponentPeer
This method was added to keep a link to a component and be able to get its background color.
PJAF1_1_FILE_HEADER - Static variable in class com.eteks.awt.PJAFontData
 
PJAF1_1_FONT_HEADER - Static variable in class com.eteks.awt.PJAFontData
 
PJAFontCapture - class com.eteks.tools.fontcapture.PJAFontCapture.
Pure Java AWT Font capture utility.
PJAFontCapture() - Constructor for class com.eteks.tools.fontcapture.PJAFontCapture
 
PJAFontData - class com.eteks.awt.PJAFontData.
Pure Java AWT Font data.
PJAFontData(Font, int, int) - Constructor for class com.eteks.awt.PJAFontData
Creates a font data from font.
PJAFontData(InputStream) - Constructor for class com.eteks.awt.PJAFontData
Creates a font data from the in stream with read () method.
PJAFontMetrics - class com.eteks.awt.PJAFontMetrics.
Pure Java AWT Font Metrics implementation.
PJAFontMetrics(Font, PJAFontData) - Constructor for class com.eteks.awt.PJAFontMetrics
 
PJAFontPeer - class com.eteks.awt.PJAFontPeer.
Pure Java AWT Font Peer.
PJAFontPeer(String, int) - Constructor for class com.eteks.awt.PJAFontPeer
 
PJAFramePeer - class com.eteks.awt.PJAFramePeer.
Pure Java AWT Frame Peer.
PJAFramePeer(Frame) - Constructor for class com.eteks.awt.PJAFramePeer
 
PJAGraphics - class com.eteks.awt.PJAGraphics.
Pure Java AWT Graphics class implementation.
PJAGraphics(PJAImage) - Constructor for class com.eteks.awt.PJAGraphics
 
PJAGraphicsConfiguration - class com.eteks.java2d.PJAGraphicsConfiguration.
Pure Java AWT GraphicsConfiguration implementation.
PJAGraphicsConfiguration(GraphicsDevice) - Constructor for class com.eteks.java2d.PJAGraphicsConfiguration
 
PJAGraphicsDevice - class com.eteks.java2d.PJAGraphicsDevice.
Pure Java AWT GraphicsDevice implementation.
PJAGraphicsDevice(int) - Constructor for class com.eteks.java2d.PJAGraphicsDevice
 
PJAGraphicsEnvironment - class com.eteks.java2d.PJAGraphicsEnvironment.
Pure Java AWT GraphicsEnvironment implementation.
PJAGraphicsEnvironment() - Constructor for class com.eteks.java2d.PJAGraphicsEnvironment
 
PJAGraphicsExtension - interface com.eteks.awt.PJAGraphicsExtension.
Pure Java AWT Graphics extension.
PJAGraphicsManager - class com.eteks.awt.PJAGraphicsManager.
Pure Java AWT Manager.
PJAGraphicsManager() - Constructor for class com.eteks.awt.PJAGraphicsManager
Creates a default instance of PJAGraphicsManager and loads fonts.
PJAGraphicsManager2D - class com.eteks.java2d.PJAGraphicsManager2D.
Pure Java AWT Manager for Java2D.
PJAGraphicsManager2D() - Constructor for class com.eteks.java2d.PJAGraphicsManager2D
 
PJAImage - class com.eteks.awt.PJAImage.
Pure Java AWT Image implementation.
PJAImage(ImageProducer) - Constructor for class com.eteks.awt.PJAImage
Creates an initial image with a producer.
PJAImage(int, int) - Constructor for class com.eteks.awt.PJAImage
Creates an empty image of width x height pixels.
PJAImage(int, int, ColorModel) - Constructor for class com.eteks.awt.PJAImage
Creates an empty image of width x height pixels.
PJALightweightPeer - class com.eteks.awt.PJALightweightPeer.
Pure Java AWT Component Peer.
PJALightweightPeer() - Constructor for class com.eteks.awt.PJALightweightPeer
Deprecated. As of PJA version 1.2, should use PJALightweightPeer (Component) constructor instead.
PJALightweightPeer(Component) - Constructor for class com.eteks.awt.PJALightweightPeer
This method was added to keep a link to a component and be able to get its background color.
PJAMenuComponentPeer - class com.eteks.awt.PJAMenuComponentPeer.
Pure Java AWT Menu Component Peer.
PJAMenuComponentPeer(MenuComponent) - Constructor for class com.eteks.awt.PJAMenuComponentPeer
 
PJAToolkit - class com.eteks.awt.PJAToolkit.
Pure Java AWT Toolkit implementation.
PJAToolkit() - Constructor for class com.eteks.awt.PJAToolkit
 
Point - class gecco.server.visibility.Point.
Description of the Class
Point(int, int) - Constructor for class gecco.server.visibility.Point
Constructor for the Point object
port - Variable in class gecco.client.dialogs.HostPort
Description of the Field
Position - class gecco.client.Position.
Represents the position of a Piece.
POSITION - Static variable in class gecco.client.Action
The parameter type position.
Position() - Constructor for class gecco.client.Position
Initilizes a position at the origin (0,0);
Position(double, double) - Constructor for class gecco.client.Position
Constructor for the Position object
Position(Position) - Constructor for class gecco.client.Position
Initilizes a position with the same coordinates as the given position object.
preferredSize() - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by getPreferredSize().
preferredSize(int) - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by getPreferredSize(int).
preferredSize(int, int) - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by getPreferredSize(int, int).
prepare(ImageObserver) - Method in class com.eteks.awt.PJAImage
 
prepareImage(Image, int, int, ImageObserver) - Method in class com.eteks.awt.PJAGraphicsManager
Starts the loading of an image.
prepareImage(Image, int, int, ImageObserver) - Method in class com.eteks.awt.PJAComponentPeer
 
prepareImage(Image, int, int, ImageObserver) - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
prepareImage(Image, int, int, ImageObserver) - Method in class com.eteks.java2d.PJAGraphicsManager2D
Starts the loading of an image.
print(boolean) - Method in class gecco.util.AutoFlushWriter
Description of the Method
print(char) - Method in class gecco.util.AutoFlushWriter
Description of the Method
print(char[]) - Method in class gecco.util.AutoFlushWriter
Description of the Method
print(double) - Method in class gecco.util.AutoFlushWriter
Description of the Method
print(float) - Method in class gecco.util.AutoFlushWriter
Description of the Method
print(Graphics) - Method in class com.eteks.awt.PJAComponentPeer
 
print(int) - Method in class gecco.util.AutoFlushWriter
Description of the Method
print(long) - Method in class gecco.util.AutoFlushWriter
Description of the Method
print(Object) - Method in class gecco.util.AutoFlushWriter
Description of the Method
print(String) - Method in class gecco.util.AutoFlushWriter
Description of the Method
println() - Method in class gecco.util.AutoFlushWriter
Description of the Method
println(boolean) - Method in class gecco.util.AutoFlushWriter
Description of the Method
println(char) - Method in class gecco.util.AutoFlushWriter
Description of the Method
println(char[]) - Method in class gecco.util.AutoFlushWriter
Description of the Method
println(double) - Method in class gecco.util.AutoFlushWriter
Description of the Method
println(float) - Method in class gecco.util.AutoFlushWriter
Description of the Method
println(int) - Method in class gecco.util.AutoFlushWriter
Description of the Method
println(long) - Method in class gecco.util.AutoFlushWriter
Description of the Method
println(Object) - Method in class gecco.util.AutoFlushWriter
Description of the Method
println(String) - Method in class gecco.util.AutoFlushWriter
Description of the Method
properties - Variable in class gecco.communication.messages.UnitVisibleMessage
Description of the Field
properties - Variable in class gecco.server.core.Unit
Container for the properties of the unit.
Property - class gecco.client.Property.
This represents a property of a Piece.
Property() - Constructor for class gecco.client.Property
Constructor for the Property object
Property(Property) - Constructor for class gecco.client.Property
Constructor for the Property object
Property(String, String) - Constructor for class gecco.client.Property
Constructor for the Property object
PropertyDisplay - class gecco.client.infopanels.PropertyDisplay.
This panel contains the properties of a piece.
PropertyDisplay() - Constructor for class gecco.client.infopanels.PropertyDisplay
Constructor for the PropertyDisplay object
PropertyTree - class gecco.server.startup.PropertyTree.
Description of the Class
PropertyTree() - Constructor for class gecco.server.startup.PropertyTree
Constructor for the PropertyTree object
put(Action) - Method in class gecco.client.ActionQueue
Description of the Method
put(Object, Object) - Method in class gecco.server.core.TypedProperties
Creates or replaces a property.
put(String, List) - Method in class gecco.server.startup.PropertyTree
Description of the Method
put(String, PropertyTree) - Method in class gecco.server.startup.PropertyTree
Description of the Method
put(String, String) - Method in class gecco.server.startup.PropertyTree
Description of the Method
putAll(Map) - Method in class gecco.server.core.TypedProperties
Copies all the key/value pairs from a map as properties in this mapping.
putAll(PropertyTree) - Method in class gecco.server.startup.PropertyTree
Description of the Method
putVariable(String, List) - Method in class gecco.server.startup.PropertyTree
Description of the Method
putVariable(String, PropertyTree) - Method in class gecco.server.startup.PropertyTree
Description of the Method
putVariable(String, String) - Method in class gecco.server.startup.PropertyTree
Description of the Method

Q

QManager - class gecco.server.qmanager.QManager.
This class manages the queue of AutomatonEvents and QueuedAutomatons.
QManager() - Constructor for class gecco.server.qmanager.QManager
Constructor for the QManager object
queue(Action) - Method in class gecco.client.Piece
Queues the given action, allowing it to be executed after the other actions has finished.
QueuedAction - class gecco.server.actionprocessor.QueuedAction.
This class is a wrapper object that is stored in the priority queue in the ActionProcessor.
QueuedAction(String, Action, double) - Constructor for class gecco.server.actionprocessor.QueuedAction
Creates a QueuedAction object.
QueuedAutomaton - class gecco.server.qmanager.QueuedAutomaton.
This class encapsulates data about an automaton in the queue of the server.
QueuedAutomaton(int, int, double) - Constructor for class gecco.server.qmanager.QueuedAutomaton
Constructor for the QueuedAutomaton object
QueuedEvent - class gecco.server.qmanager.QueuedEvent.
This class encapsulates data about an AutomatonEvent in the queue of the server.
QueuedEvent(AutomatonEvent, int, int) - Constructor for class gecco.server.qmanager.QueuedEvent
Constructor for the QueuedEvent object

R

RadarUnit - class gecco.game.testgame.RadarUnit.
Description of the Class
RadarUnit() - Constructor for class gecco.game.testgame.RadarUnit
Constructor for the RadarUnit object
read(DataInput) - Static method in class gecco.communication.messages.Message
This factory method reads a message id from the input stream and calls the read() factory method of the corresponding subclass, which is responsible for reading the actual data.
read(DataInput) - Static method in class gecco.communication.messages.GetMapMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.TimeUpdateMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.UnitPositionUpdateMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.RejectConnectionMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.UnitPropertyUpdateMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.AbortGameMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.ActionOnPositionMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.AcceptConnectionMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.DisconnectMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.GetAvailableRolesMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.StartGameMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.UnitVisibleMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.PingMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.MapPointInvisibleMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.ActionFailedMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.PingReplyMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.AbortActionMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.ActionOnUnitMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.UnitDestroyedMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.InvalidMessage
This factory method reads a message, without an initial ID, from the input stream.
read(DataInput) - Static method in class gecco.communication.messages.MapPointsInvisibleMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.MapUpdatesMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.ActionCompletedMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.MapMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.AvailableRolesMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.JoinAsRoleMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.ActionOnVoidMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.MapUpdateMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.UnitDeletedMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.UnitMessageMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(DataInput) - Static method in class gecco.communication.messages.ActionBlockedMessage
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object.
read(InputStream) - Method in class com.eteks.awt.PJAFontData
Reads the fields of this object from in.
realSleep(double) - Method in class gecco.server.clock.Clock
Sleep for the specified amount of real time.
realTime(double) - Method in class gecco.server.clock.Clock
Converts game time to real time.
realTimeNow() - Method in class gecco.server.clock.Clock
Returns the current value of the real-time clock, in seconds.
realWait(Object, double) - Method in class gecco.server.clock.Clock
Wait on the specified object for (at most) the specified amount of real time.
ReferenceHolder - class gecco.server.core.ReferenceHolder.
This class holds references to all important modules of the server.
ReferenceHolder() - Constructor for class gecco.server.core.ReferenceHolder
 
Refuel - class gecco.game.oresund.Refuel.
Description of the Class
Refuel() - Constructor for class gecco.game.oresund.Refuel
Constructor for the Refuel object
RejectConnection - Static variable in interface gecco.communication.messages.MessageType
 
RejectConnectionMessage - class gecco.communication.messages.RejectConnectionMessage.
This message is sent to the client when the server refuses to accept a connection.
RejectConnectionMessage() - Constructor for class gecco.communication.messages.RejectConnectionMessage
 
remove(Action) - Method in class gecco.client.ActionQueue
Description of the Method
remove(ClientConnectionHandler) - Method in class gecco.communication.server.RoleConnection
removes a client from this role
remove(int) - Method in class com.eteks.awt.PJAComponentPeer
 
remove(Object) - Method in class gecco.server.core.TypedProperties
Removes a property This method exists only because the Map interface requires it.
removeAction(Action) - Method in class gecco.client.Piece
Removes any action that has the same type as the given action from the list of available actions of this piece.
removeAll() - Method in class com.eteks.awt.PJAComponentPeer
 
removeAllActions() - Method in class gecco.client.Piece
Removes all actions that indicates what this piece can do.
removeBlockedAction(String) - Method in class gecco.server.core.Unit
Unblock an action.
removeButton - Variable in class gecco.client.infopanels.ActionDisplay
Description of the Field
removeConsumer(ImageConsumer) - Method in class com.eteks.awt.image.GIFDecoder
ImageProducer implementation.
removeObserver(String) - Method in class gecco.server.core.Unit
Remove a role from the set of observers of the unit, so the role is no longer an observer.
removePiece(int) - Method in interface gecco.client.Client
Call this method to indicate that a piece is no longer visible and should be removed.
removePiece(int) - Method in class gecco.client.Game
Description of the Method
removePieceAction(int, Action) - Method in interface gecco.client.Client
Removes the given action from the list of actions the a piece can do.
removePieceAction(int, Action) - Method in class gecco.client.Game
Description of the Method
removePieceSymbol(String) - Static method in class gecco.client.Symbols
Removes the symbol assigned to the given piece type (if any)..
removeProperty(String) - Method in class gecco.client.Piece
Removes the property with the given name from this Piece.
removeProperty(String) - Method in class gecco.server.core.TypedProperties
Removes a property
repaint(long, int, int, int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
repaintAnimation(AnimatedPiece) - Method in class gecco.client.Game
Description of the Method
repaintAnimation(AnimatedPiece) - Method in interface gecco.client.animation.Animator
The animated piece calls this method to indicate that it has changed image and wishes to be repainted.
repaintBoard() - Method in class gecco.client.Board
Repaints the part of the board where the map and pieces are.
replaceRange(String, int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
replaceText(String, int, int) - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by ReplaceRange(String, int, int).
reportObserverForUnit(String, Unit) - Method in class gecco.server.unitmanager.UnitManager
Mark a given role as observer for a given unit.
reportUpdatedUnitPosition(Unit, int, int) - Method in class gecco.server.unitmanager.UnitManager
Report that a units position has been updated.
requestFocus() - Method in class com.eteks.awt.PJAComponentPeer
 
requestTopDownLeftRightResend(ImageConsumer) - Method in class com.eteks.awt.image.GIFDecoder
ImageProducer implementation.
Rescue - class gecco.game.oresund.Rescue.
Description of the Class
Rescue() - Constructor for class gecco.game.oresund.Rescue
Constructor for the Rescue object
resendAllData(String) - Method in class gecco.server.core.ServerImpl
Description of the Method
resendAllData(String) - Method in interface gecco.server.core.Server
Called when a client wants all its available visible information sent
resendAllData(String) - Method in interface gecco.server.visibility.VisibilityFilter
This method causes the server to resend all data to a role that the clients playing that role should know (and should be caching).
resendAllData(String) - Method in class gecco.server.visibility.VisibilityManager
Description of the Method
resetUpdatedActions() - Method in class gecco.server.core.Unit
Clears the set of updates actions.
resetUpdatedProperties() - Method in class gecco.server.core.Unit
Clears the set of updated properties.
reshape(int, int, int, int) - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by setBounds(int, int, int, int).
role - Variable in class gecco.communication.messages.JoinAsRoleMessage
 
role() - Method in class gecco.communication.server.RoleDefinition
Description of the Method
RoleConnection - class gecco.communication.server.RoleConnection.
A class that represents the connection from the server to a specific role.
RoleConnection(String, Server) - Constructor for class gecco.communication.server.RoleConnection
Constructor for the RoleConnection object
RoleDefinition - class gecco.communication.server.RoleDefinition.
This class defines a role, as viewed by the gecco.communication.server package.
RoleDefinition(String, boolean) - Constructor for class gecco.communication.server.RoleDefinition
Constructor for the RoleDefinition object
roleMessage(String, Unit, String) - Method in interface gecco.server.visibility.VisibilityFilter
This method may be called to pass some information to a specific role regarding a unit.
roleMessage(String, Unit, String) - Method in class gecco.server.visibility.VisibilityManager
This method may be called to pass some information to a specific role redarding a unit.
roles - Variable in class gecco.communication.messages.AvailableRolesMessage
 
roles - Variable in class gecco.server.unitmanager.UnitManager
Array containing _all_ roles, including the gods eye roles!
RolesConf - class gecco.server.startup.RolesConf.
This class loads the settings stored in roles.conf.
RolesConf(Reader) - Constructor for class gecco.server.startup.RolesConf
The constructor parses the file immediately.
RoleSelectionDialog - class gecco.client.dialogs.RoleSelectionDialog.
Creates a modal dialog for selecting among the roles given.
rolesLeft() - Method in class gecco.communication.server.ClientAmbassador
Called by NewClientListener when a client has asked for the available roles.
RoleState - class gecco.server.log.RoleState.
 
RoleState(String, int[][], boolean[][], Set) - Constructor for class gecco.server.log.RoleState
 
rolesToAlienUnitsMap - Variable in class gecco.server.unitmanager.UnitManager
For each role, the set of units alien to that role, hashed on the role name.
rolesToObserverUnitsMap - Variable in class gecco.server.unitmanager.UnitManager
For each role, the set of units that the role observes, hashed on the role name.
roundDiv(int, int) - Static method in class com.eteks.awt.PJAGraphics
Returns the rounded result of dividend / divisor, avoiding the use of floating point operation (returns the same as Math.round((float)dividend / divisor)).
roundDiv(long, long) - Static method in class com.eteks.awt.PJAGraphics
Returns the rounded result of dividend / divisor, avoiding the use of floating point operation (returns the same as Math.round((double)dividend / divisor)).
run() - Method in class gecco.communication.client.DataOutputExchangeHandler
Main processing method for the DataOutputExchangeHandler object
run() - Method in class gecco.communication.client.DataInputExchangeHandler
Main processing method for the DataInputExchangeHandler object
run() - Method in class gecco.communication.server.DataOutputExchangeHandler
Main processing method for the DataOutputExchangeHandler object
run() - Method in class gecco.communication.server.DataInputExchangeHandler
Main processing method for the DataInputExchangeHandler object
run() - Method in class gecco.server.actionprocessor.ActionProcessor
Main processing method for the execution of actions.
run() - Method in class gecco.server.actsofgod.ActsOfGod
Main processing method for the ActsOfGod object
run() - Method in class gecco.server.clock.Clock
Wake up sleeping threads at the times they asked for.
run() - Method in class gecco.server.clock.TimeUpdate
Periodically sends the clients time update messages.
run() - Method in class gecco.server.qmanager.QManager
Main processing method for the QManager object
run() - Method in class gecco.server.startup.CommandPrompt
The command prompt loop.

S

select(int) - Method in class com.eteks.awt.PJAComponentPeer
 
select(int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
selfTimeToExecution - Variable in class gecco.server.automaton.AutomatonReturn
Description of the Field
sendEventToAutomaton(int, int, String, int) - Method in class gecco.server.core.Action
Sends an event to a given automaton.
sendEventToUnit(Unit, String, int) - Method in class gecco.server.core.Action
Sends an event to a given unit.
sendMessage(Message) - Method in class gecco.communication.server.ClientConnectionHandler
called by RoleConnection, to send a message to the client represented by this ClientConnectionHandler
sendMessage(Message) - Method in class gecco.communication.server.RoleConnection
called by ClientAmbassodor to send a message to this role This method then distributes this message to all clients connected as this role
sendSignal(int) - Method in class gecco.util.SignalThread
This sends a signal to the thread.
sendStateInfo(DataOutput) - Method in class gecco.server.log.RoleState
 
sendUnitMessage(Unit, String) - Method in class gecco.server.core.EventHandler
Sends a message to all observers of the given unit (as well as to all God's Eye roles).
Server - interface gecco.client.Server.
This is the interface that represents the server from the client's point of view.
Server - interface gecco.server.core.Server.
Description of the Interface
ServerAmbassador - class gecco.communication.client.ServerAmbassador.
This is the class that implements gecco.client.Server, and is the only part of the communication the client knows of.
ServerAmbassador(Client) - Constructor for class gecco.communication.client.ServerAmbassador
 
ServerConnection - class gecco.communication.client.ServerConnection.
This class keeps track of the connection to the server
ServerConnection() - Constructor for class gecco.communication.client.ServerConnection
Constructor for the ServerConnection object
ServerImpl - class gecco.server.core.ServerImpl.
Description of the Class
ServerImpl() - Constructor for class gecco.server.core.ServerImpl
Constructor for the ServerImpl object
setActionDefinition(ActionDefinition) - Method in class gecco.server.core.Action
Sets the definition of the Action object
setActionProcessor(ActionProcessor) - Static method in class gecco.server.core.ReferenceHolder
Sets the ActionProcessor attribute of the ReferenceHolder class
setActiveAction(Action) - Method in class gecco.server.core.Unit
Sets the ActiveAction attribute of the Unit object
setAlignment(int) - Method in class com.eteks.awt.PJAComponentPeer
 
setAutomatonMap(AutomatonMap) - Static method in class gecco.server.core.ReferenceHolder
Sets the AutomatonMap attribute of the ReferenceHolder class
setBackground(Color) - Method in class com.eteks.awt.PJAComponentPeer
 
setBoardCursor(Cursor) - Method in class gecco.client.Board
Set the cursor for the map area of the board.
setBounds(int, int, int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
setCaretPosition(int) - Method in class com.eteks.awt.PJAComponentPeer
 
setCheckboxGroup(CheckboxGroup) - Method in class com.eteks.awt.PJAComponentPeer
 
setClient(Client) - Method in class gecco.server.visibility.VisibilityManager
Sets the client (the part of the communication system that lets the server send messages to the clients).
setClip(int, int, int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
setClip(Shape) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
setClock(Clock) - Static method in class gecco.server.core.ReferenceHolder
Sets the clock.
setColor(Color) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
setColor(int, int, int) - Method in interface com.eteks.awt.PJAGraphicsExtension
Sets the graphics context's color.
setColor(int, int, int) - Method in class com.eteks.awt.PJAGraphics
Sets this graphics context's color.
setCommander(String) - Method in class gecco.server.core.Unit
Sets the Commander attribute of the Unit object
setComServer(Server) - Static method in class gecco.server.core.ReferenceHolder
Sets the ComServer attribute of the ReferenceHolder class
setCurrentColor(int, int, int) - Method in class gecco.server.automaton.Automaton
Sets the current color for the automaton.
setCursor(Cursor) - Method in class com.eteks.awt.PJAComponentPeer
 
setDirectory(String) - Method in class com.eteks.awt.PJAComponentPeer
 
setEchoChar(char) - Method in class com.eteks.awt.PJAComponentPeer
 
setEchoCharacter(char) - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by setEchoChar(char echoChar).
setEditable(boolean) - Method in class com.eteks.awt.PJAComponentPeer
 
setEnabled(boolean) - Method in class com.eteks.awt.PJAComponentPeer
 
setEnabled(boolean) - Method in class com.eteks.awt.PJAMenuComponentPeer
 
setEventHandler(String) - Method in class gecco.server.core.UnitType
Sets the EventHandler attribute of the UnitType object
setFile(String) - Method in class com.eteks.awt.PJAComponentPeer
 
setFilenameFilter(FilenameFilter) - Method in class com.eteks.awt.PJAComponentPeer
 
setFont(Font) - Method in class com.eteks.awt.PJAComponentPeer
 
setFont(Font) - Method in class com.eteks.awt.PJAFontMetrics
Deprecated. As of PJA version 1.1, PJAFontPeer doesn't need it anymore.
setFont(Font) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
setFont(String, int, int) - Method in interface com.eteks.awt.PJAGraphicsExtension
Sets the graphics font to the specified font specified by its name, style and size.
setFont(String, int, int) - Method in class com.eteks.awt.PJAGraphics
Sets this graphics context's font to the specified font specified by its name, style and size.
setForeground(Color) - Method in class com.eteks.awt.PJAComponentPeer
 
setGameClassLoader(ClassLoader) - Static method in class gecco.server.core.ReferenceHolder
Sets the GameClassLoader attribute of the ReferenceHolder class
setGameDescription(String) - Static method in class gecco.server.core.ReferenceHolder
Sets the description of the game.
setGameName(String) - Static method in class gecco.server.core.ReferenceHolder
Sets the name of the game.
setHandle(int) - Method in class gecco.server.core.Unit
Sets the Handle attribute of the Unit object
setHost(String) - Method in class gecco.client.dialogs.HostPort
Sets the Host attribute of the HostPort object
setIconImage(Image) - Method in class com.eteks.awt.PJAFramePeer
 
setImage(byte[], HashMap) - Method in class gecco.server.automaton.AutomatonMap
Sets the Image attribute of the AutomatonMap object
setImage(Image, HashMap) - Method in class gecco.server.automaton.AutomatonMap
Sets the Image attribute of the AutomatonMap object
setImage(Reader) - Method in class gecco.server.automaton.AutomatonMap
Sets the Image attribute of the AutomatonMap object, by reading characters from a stream.
setImage(String, HashMap) - Method in class gecco.server.automaton.AutomatonMap
Sets the Image attribute of the AutomatonMap object
setImage(URL, HashMap) - Method in class gecco.server.automaton.AutomatonMap
Sets the Image attribute of the AutomatonMap object
setImageData(byte[]) - Method in class gecco.server.core.UnitType
Sets the ImageData attribute of the UnitType object
setInstantaneous(boolean) - Method in class gecco.server.core.Action
Sets the Instantaneous flag of the Action object
setLabel(String) - Method in class com.eteks.awt.PJAComponentPeer
 
setLabel(String) - Method in class com.eteks.awt.PJAMenuComponentPeer
 
setLineIncrement(int) - Method in class com.eteks.awt.PJAComponentPeer
 
setMenuBar(MenuBar) - Method in class com.eteks.awt.PJAFramePeer
 
setMultipleMode(boolean) - Method in class com.eteks.awt.PJAComponentPeer
 
setMultipleSelections(boolean) - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by setMultipleMode(boolean).
setName(String) - Method in class gecco.client.Property
Sets the Name attribute of the Property object
setName(String) - Method in class gecco.client.Piece
Sets the Name attribute of the Piece object
setName(String) - Method in class gecco.server.core.Unit
Sets the Name attribute of the Unit object
setNormalSpeed() - Method in class gecco.server.clock.Clock
Sets the speed of the game to its default value.
SetOnFire - class gecco.game.firefighter.SetOnFire.
Description of the Class
SetOnFire() - Constructor for class gecco.game.firefighter.SetOnFire
Constructor for the SetOnFire object
setPageIncrement(int) - Method in class com.eteks.awt.PJAComponentPeer
 
setPaintMode() - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
setParameter(Object) - Method in class gecco.client.Action
Sets the Parameter attribute of the Action object
setPiece(Piece) - Method in class gecco.client.infopanels.ActionDisplay
Set the piece whosse actions is displayed in the panel.
setPiece(Piece) - Method in class gecco.client.infopanels.MessageDisplay
Sets the piece whose messages are displayed.
setPiece(Piece) - Method in class gecco.client.infopanels.PieceInfoPanel
Sets the piece whose information is displayed in this info panel.
setPiece(Piece) - Method in class gecco.client.infopanels.PropertyDisplay
Sets the piece whose information is displayed.
setPixelColor(int, int, int) - Method in class com.eteks.awt.PJAImage
Sets the color at the point (x,y).
setPort(int) - Method in class gecco.client.dialogs.HostPort
Sets the Port attribute of the HostPort object
setPosition(double, double) - Method in class gecco.server.core.Unit
Sets the Position attribute of the Unit object
setPosition(Position) - Method in class gecco.client.Piece
Sets the Position attribute of the Piece object
setProperty(Property) - Method in class gecco.client.Piece
Adds the given property to the properties of this object.
setProperty(String, double) - Method in class gecco.server.core.Unit
Sets a property to a Double value.
setProperty(String, double) - Method in class gecco.server.core.TypedProperties
Creates or replaces a property.
setProperty(String, double) - Method in class gecco.server.core.UnitType
Sets the DoubleProperty attribute of the UnitType object
setProperty(String, int) - Method in class gecco.server.core.Unit
Sets a property to an Integer value.
setProperty(String, int) - Method in class gecco.server.core.TypedProperties
Creates or replaces a property.
setProperty(String, int) - Method in class gecco.server.core.UnitType
Sets the IntProperty attribute of the UnitType object
setProperty(String, Object, String) - Method in class gecco.server.core.TypedProperties
Creates or replaces a property.
setProperty(String, String) - Method in class gecco.client.Piece
Adds a property with the given name and value to the properties of this object.
setProperty(String, String) - Method in class gecco.server.core.Unit
Sets a property to a String value.
setProperty(String, String) - Method in class gecco.server.core.TypedProperties
Creates or replaces a property.
setProperty(String, String) - Method in class gecco.server.core.UnitType
Sets the StringProperty attribute of the UnitType object
setQManager(QManager) - Static method in class gecco.server.core.ReferenceHolder
Sets the QManager attribute of the ReferenceHolder class
setRange(int) - Method in class gecco.server.core.UnitType
Sets the visibility range of the unit type.
setResizable(boolean) - Method in class com.eteks.awt.PJAComponentPeer
 
setResizable(boolean) - Method in class com.eteks.awt.PJAFramePeer
 
setScrollPosition(int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
setSelected(boolean) - Method in class gecco.client.Piece
Sets the Selected attribute of the Piece object
setSize(Dimension) - Method in class gecco.client.Map
 
setSpeed(double) - Method in class gecco.server.clock.Clock
Sets the speed of the game.
setState(boolean) - Method in class com.eteks.awt.PJAComponentPeer
 
setState(boolean) - Method in class com.eteks.awt.PJAMenuComponentPeer
 
setState(int) - Method in class com.eteks.awt.PJAFramePeer
 
setState(int) - Method in class gecco.server.automaton.Automaton
Sets the State attribute of the Automaton object
setText(String) - Method in class com.eteks.awt.PJAComponentPeer
 
setTimeString(TimeString) - Static method in class gecco.server.core.ReferenceHolder
Supplies an object that constructs strings representing time.
setTimeToExecute(double) - Method in class gecco.server.actionprocessor.QueuedAction
Sets the TimeToExecute attribute of the QueuedAction object.
setTimeToExecute(double) - Method in class gecco.server.qmanager.QueuedAutomaton
Sets the time when the automaton should be processed.
setTitle(String) - Method in class com.eteks.awt.PJAComponentPeer
 
setTitle(String) - Method in class com.eteks.awt.PJAFramePeer
 
setType(String) - Method in class gecco.client.Piece
Sets the Type attribute of the Piece object
setUnitClass(String) - Method in class gecco.server.core.UnitType
Sets the class that implements units of this type.
setUnitEvent(UnitEvent) - Method in class gecco.server.automaton.AutomatonReturn
Sets the UnitEvent attribute of the AutomatonReturn object
setUnitIncrement(Adjustable, int) - Method in class com.eteks.awt.PJAComponentPeer
 
setUnitManager(UnitManager) - Static method in class gecco.server.core.ReferenceHolder
Sets the UnitManager attribute of the ReferenceHolder class
setUnitType(String) - Method in class gecco.server.core.Unit
Sets the UnitType attribute of the Unit object
setValue(Adjustable, int) - Method in class com.eteks.awt.PJAComponentPeer
 
setValue(String) - Method in class gecco.client.Property
Sets the Value attribute of the Property object
setValues(int, int, int, int) - Method in class com.eteks.awt.PJAComponentPeer
 
setVisibilityFilter(VisibilityFilter) - Static method in class gecco.server.core.ReferenceHolder
Sets the visibility filter.
setVisibilityInfo(VisibilityInfo) - Static method in class gecco.server.core.ReferenceHolder
Sets the visibility info object.
setVisible(boolean) - Method in class com.eteks.awt.PJAComponentPeer
 
setX(double) - Method in class gecco.client.Position
Sets the X attribute of the Position object
setXORMode(Color) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
setXORMode(int, int, int) - Method in interface com.eteks.awt.PJAGraphicsExtension
Sets this graphics context's XOR color.
setXORMode(int, int, int) - Method in class com.eteks.awt.PJAGraphics
Sets this graphics context's XOR color.
setY(double) - Method in class gecco.client.Position
Sets the Y attribute of the Position object
Ship - class gecco.game.oresund.Ship.
Description of the Class
Ship() - Constructor for class gecco.game.oresund.Ship
Constructor for the Ship object
ShipEventHandler - class gecco.game.oresund.ShipEventHandler.
Description of the Class
ShipEventHandler() - Constructor for class gecco.game.oresund.ShipEventHandler
Constructor for the ShipEventHandler object
show() - Method in class com.eteks.awt.PJAComponentPeer
DEPRECATED: Replaced by setVisible(boolean).
show(Event) - Method in class com.eteks.awt.PJAComponentPeer
 
show(Event) - Method in class com.eteks.awt.PJAMenuComponentPeer
 
showCaptureFontDialog(String) - Static method in class com.eteks.tools.fontcapture.PJAFontCapture
A simple dialog box to choose fonts to capture with a GUI.
showDialog(Frame, Set) - Static method in class gecco.client.dialogs.RoleSelectionDialog
Shows the dialog.
showDialog(Frame, String, int) - Static method in class gecco.client.dialogs.ConnectionDialog
Shows the dialog.
shutdown() - Static method in class gecco.server.startup.StartServer
 
SIGKILL - Static variable in interface gecco.util.SignalRunnable
On receiving this signal, the thread should die as quickly as possible.
signalPending() - Static method in class gecco.util.SignalThread
Returns the currently pending signal for the current thread.
SignalRunnable - interface gecco.util.SignalRunnable.
This is a variant of the Runnable inteface to be used with the SignalThread class.
SignalThread - class gecco.util.SignalThread.
This subclass of Thread has been extended with signal facilities.
SignalThread() - Constructor for class gecco.util.SignalThread
Constructs a new thread.
SignalThread(SignalRunnable) - Constructor for class gecco.util.SignalThread
Constructs a new thread.
SignalThread(SignalRunnable, String) - Constructor for class gecco.util.SignalThread
Constructs a new thread.
SignalThread(String) - Constructor for class gecco.util.SignalThread
Constructs a new thread.
SignalThread(ThreadGroup, SignalRunnable) - Constructor for class gecco.util.SignalThread
Constructs a new thread.
SignalThread(ThreadGroup, SignalRunnable, String) - Constructor for class gecco.util.SignalThread
Constructs a new thread.
SignalThread(ThreadGroup, String) - Constructor for class gecco.util.SignalThread
Constructs a new thread.
SIGNONE - Static variable in interface gecco.util.SignalRunnable
This indicates that there is no pending signal.
SIGPAUSE - Static variable in interface gecco.util.SignalRunnable
On receiving this signal, the thread should sleep until it receives a SIGKILL , SIGQUIT or SIGRESUME signal.
SIGQUIT - Static variable in interface gecco.util.SignalRunnable
On receiving this signal, the thread should quit in an orderly fashion.
SIGRESUME - Static variable in interface gecco.util.SignalRunnable
On receiving this signal, the thread should continue with its normal job, cancelling the effect of any previous SIGPAUSE signal.
size - Variable in class gecco.communication.messages.MapMessage
 
size() - Method in class gecco.communication.messages.MessageQueue
Description of the Method
size() - Method in class gecco.server.core.TypedProperties
Calculates the number of properties stored in this mapping
SleepingThread - class gecco.server.clock.SleepingThread.
Description of the Class
SleepingThread(Thread, double) - Constructor for class gecco.server.clock.SleepingThread
Constructor for the SleepingThread object
startAnimation() - Method in class gecco.client.animation.AnimatedPiece
Description of the Method
StartGame - Static variable in interface gecco.communication.messages.MessageType
 
startGame() - Method in interface gecco.client.Server
Called by the client when it is ready to start receiving game messages from the server.
startGame() - Method in class gecco.communication.client.ServerAmbassador
Called by the client when it is ready to receive messages from the server
StartGameMessage - class gecco.communication.messages.StartGameMessage.
This message is put in the send queue on the client part of the communication, when the client calls startGame
StartGameMessage() - Constructor for class gecco.communication.messages.StartGameMessage
 
startProduction(ImageConsumer) - Method in class com.eteks.awt.image.GIFDecoder
ImageProducer implementation.
StartServer - class gecco.server.startup.StartServer.
This class is the startup routine for the server, that parses all configuration files, and sets everything up.
StartServer() - Constructor for class gecco.server.startup.StartServer
 
startThreads() - Method in class gecco.communication.server.ClientConnectionHandler
Description of the Method
stopAnimation() - Method in class gecco.client.animation.AnimatedPiece
Stops the animation and notifies the animator that the animation is done.
styleToString(int) - Static method in class com.eteks.awt.PJAFontData
 
Symbols - class gecco.client.Symbols.
This class contains the symbols (Images) of the game.
Symbols() - Constructor for class gecco.client.Symbols
 
sync() - Method in class com.eteks.awt.PJAGraphicsManager
Does nothing.
sync() - Method in class com.eteks.awt.PJAToolkit
java.awt.Toolkit implementation.
sync() - Method in class com.eteks.awt.PJAImage
Synchronizes the image loading.
SyntaxErrorException - exception gecco.server.startup.SyntaxErrorException.
Description of the Class
SyntaxErrorException(String, int) - Constructor for class gecco.server.startup.SyntaxErrorException
Constructor for the SyntaxErrorException object

T

TestUnit - class gecco.game.testgame.TestUnit.
Description of the Class
TestUnit() - Constructor for class gecco.game.testgame.TestUnit
Constructor for the TestUnit object
TestUnitEventHandler - class gecco.game.testgame.TestUnitEventHandler.
Description of the Class
TestUnitEventHandler() - Constructor for class gecco.game.testgame.TestUnitEventHandler
Constructor for the TestUnitEventHandler object
theMap - Variable in class gecco.server.automaton.AutomatonMap
The map
thread - Variable in class gecco.server.clock.SleepingThread
Description of the Field
time - Variable in class gecco.communication.messages.TimeUpdateMessage
The time string.
TimeString - class gecco.server.clock.TimeString.
Description of the Class
TimeString(Clock) - Constructor for class gecco.server.clock.TimeString
Creates a new TimeString object which uses the given clock.
TimeUpdate - class gecco.server.clock.TimeUpdate.
A thread that periodically sends a new time string to the clients.
TimeUpdate - Static variable in interface gecco.communication.messages.MessageType
 
TimeUpdate() - Constructor for class gecco.server.clock.TimeUpdate
 
timeUpdate(String) - Method in interface gecco.client.Client
This is called every now and then to tell the client what time it is.
timeUpdate(String) - Method in class gecco.client.Game
Description of the Method
timeUpdate(String) - Method in class gecco.communication.server.ClientAmbassador
Tells all clients that some game time has passed.
timeUpdate(String) - Method in interface gecco.server.core.Client
Tells all clients that some game time has passed.
timeUpdate(String) - Method in interface gecco.server.visibility.VisibilityFilter
This method may be called to tell the clients that some time has passed.
timeUpdate(String) - Method in class gecco.server.visibility.VisibilityManager
This method may be called to tell the clients that some time has passed.
TimeUpdateMessage - class gecco.communication.messages.TimeUpdateMessage.
This message is put in the send queue on the server part of the communication when the clients are sent a time update.
TimeUpdateMessage(String) - Constructor for class gecco.communication.messages.TimeUpdateMessage
Constructs a new time update message.
toBack() - Method in class com.eteks.awt.PJAComponentPeer
 
toFront() - Method in class com.eteks.awt.PJAComponentPeer
 
toString() - Method in class com.eteks.awt.PJAFontData
 
toString() - Method in class com.eteks.awt.PJAFontPeer
 
toString() - Method in class gecco.client.Property
Description of the Method
toString() - Method in class gecco.client.Action
Description of the Method
toString() - Method in class gecco.client.Piece
 
toString() - Method in class gecco.client.dialogs.HostPort
Description of the Method
toString() - Method in class gecco.server.clock.SleepingThread
 
toString() - Method in class gecco.server.core.Unit
 
toString() - Method in class gecco.server.core.ActionDefinition
 
toString() - Method in class gecco.server.startup.PropertyTree
Description of the Method
toString() - Method in class gecco.util.VersionNumber
Returns the String representation of this VersionNumber.
Transfer - class gecco.game.oresund.Transfer.
Description of the Class
Transfer() - Constructor for class gecco.game.oresund.Transfer
Constructor for the Transfer object
translate(double, double) - Method in class gecco.client.Position
Description of the Method
translate(int, int) - Method in class com.eteks.awt.PJAGraphics
java.awt.Graphics implementation.
type - Variable in class gecco.communication.messages.UnitVisibleMessage
Description of the Field
type - Variable in class gecco.server.core.Unit
The type of the unit appears in the client, and is set up in a configuration file.
TYPE_DOUBLE - Static variable in class gecco.server.core.TypedProperties
Predefined property type corresponding to the primitive data type double
TYPE_INT - Static variable in class gecco.server.core.TypedProperties
Predefined property type corresponding to the primitive data type int
TYPE_STRING - Static variable in class gecco.server.core.TypedProperties
Predefined property type corresponding to the class String
TYPE_UNDEFINED - Static variable in class gecco.server.core.TypedProperties
Property type assigned when none was specified
TypedProperties - class gecco.server.core.TypedProperties.
Maintains a mapping between names and values.
TypedProperties() - Constructor for class gecco.server.core.TypedProperties
Constructor for the TypedProperties object.
TypedProperties(TypedProperties) - Constructor for class gecco.server.core.TypedProperties
Constructor for the TypedProperties object.

U

unblockedActions - Variable in class gecco.communication.messages.UnitVisibleMessage
Description of the Field
Unit - class gecco.server.core.Unit.
This class represents a unit in the game, and must be subclassed by every game implementation.
Unit() - Constructor for class gecco.server.core.Unit
Constructor for the Unit object
unitActionBlocked(String, int, ActionDefinition, boolean) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
unitActionBlocked(String, int, ActionDefinition, boolean) - Method in interface gecco.server.core.Client
Tells the clients that an action of the specified unit, which was and is visible to them, is now blocked or unblocked (depending on isBlocked ).
UnitDeleted - Static variable in interface gecco.communication.messages.MessageType
 
unitDeleted(String, int) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
unitDeleted(String, int) - Method in interface gecco.server.core.Client
Tells the clients that the specified unit, which was previosly visible to them, is now deleted.
UnitDeletedMessage - class gecco.communication.messages.UnitDeletedMessage.
This message is put in the send queue on the server part of the communication, when the server calls unitInvisible
UnitDeletedMessage(int) - Constructor for class gecco.communication.messages.UnitDeletedMessage
Constructor for the UnitDeletedMessage object
UnitDestroyed - Static variable in interface gecco.communication.messages.MessageType
 
UnitDestroyedMessage - class gecco.communication.messages.UnitDestroyedMessage.
This message is put in the send queue on the server part of the communication, when the server calls unitDeleted
UnitDestroyedMessage(int) - Constructor for class gecco.communication.messages.UnitDestroyedMessage
Constructor for the UnitDestroyedMessage object
UnitEvent - class gecco.server.core.UnitEvent.
This class encapsulates an event sent to a unit.
UnitEvent(String, int) - Constructor for class gecco.server.core.UnitEvent
Constructor for the UnitEvent object
unitInvisible(String, int) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
unitInvisible(String, int) - Method in interface gecco.server.core.Client
Tells the clients that the specified unit, which was previosly visible to them, is now invisible.
UnitManager - class gecco.server.unitmanager.UnitManager.
This class acts as a container for all units in the game.
UnitManager(Set, Set) - Constructor for class gecco.server.unitmanager.UnitManager
Constructor for the UnitManager object
unitMessage - Variable in class gecco.server.core.ActionReturn
Message sent from the action handler.
UnitMessage - Static variable in interface gecco.communication.messages.MessageType
 
unitMessage(int, String) - Method in interface gecco.client.Client
Sends a message that that describes that something has happened to the piece with the given handle.
unitMessage(int, String) - Method in class gecco.client.Game
Description of the Method
unitMessage(String, int, String) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
unitMessage(String, int, String) - Method in interface gecco.server.core.Client
Description of the Method
unitMessage(Unit, String) - Method in interface gecco.server.visibility.VisibilityFilter
This method may be called to pass some information to the owner of a unit.
unitMessage(Unit, String) - Method in class gecco.server.visibility.VisibilityManager
This method may be called to pass some information regarding a unit, such as when it has finished an action.
UnitMessageMessage - class gecco.communication.messages.UnitMessageMessage.
This message is put in the send queue on the server part of the communication, when the server calls unitMessage
UnitMessageMessage(int, String) - Constructor for class gecco.communication.messages.UnitMessageMessage
Constructor for the UnitMessageMessage object
unitMoved(String, int, double, double) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
unitMoved(String, int, double, double) - Method in interface gecco.server.core.Client
Tells the clients that the specified unit, which was and is visible to them, has moved.
UnitPositionUpdate - Static variable in interface gecco.communication.messages.MessageType
 
UnitPositionUpdateMessage - class gecco.communication.messages.UnitPositionUpdateMessage.
This message is put in the send queue on the server part of the communication, when the server calls unitMoved
UnitPositionUpdateMessage(int, double, double) - Constructor for class gecco.communication.messages.UnitPositionUpdateMessage
Constructor for the UnitPositionUpdateMessage object
unitPropertyChanged(String, int, String, String) - Method in class gecco.communication.server.ClientAmbassador
Description of the Method
unitPropertyChanged(String, int, String, String) - Method in interface gecco.server.core.Client
Tells the clients that a property of the specified unit, which was and is visible to them, has changed.
unitPropertyChanged(Unit, String, String) - Method in interface gecco.server.visibility.VisibilityFilter
This method should be called whenever a unit property changes.
unitPropertyChanged(Unit, String, String) - Method in class gecco.server.visibility.VisibilityManager
This method should be called whenever a unit property changes.
UnitPropertyUpdate - Static variable in interface gecco.communication.messages.MessageType
 
UnitPropertyUpdateMessage - class gecco.communication.messages.UnitPropertyUpdateMessage.
This message is put in the send queue on the server part of the communication when a unit property is updated.
UnitPropertyUpdateMessage(int, String, String) - Constructor for class gecco.communication.messages.UnitPropertyUpdateMessage
Constructor for the UnitPropertyChangedMessage object
units - Variable in class gecco.server.unitmanager.UnitManager
Contains all units, hashed on their handles.
UnitsConf - class gecco.server.startup.UnitsConf.
This class loads the settings stored in units.conf.
UnitsConf() - Constructor for class gecco.server.startup.UnitsConf
 
unitType - Variable in class gecco.server.core.Unit
An instance of the unit type of this unit.
UnitType - class gecco.server.core.UnitType.
This class represents a unit type.
UnitType(String) - Constructor for class gecco.server.core.UnitType
Constructor for the UnitType object
unitTypes - Variable in class gecco.server.unitmanager.UnitManager
All unit types in the game, hashed on their names.
UnitTypesConf - class gecco.server.startup.UnitTypesConf.
This class loads the settings stored in unittypes.conf.
UnitTypesConf() - Constructor for class gecco.server.startup.UnitTypesConf
 
UnitVisible - Static variable in interface gecco.communication.messages.MessageType
 
unitVisible(String, int, String, String, double, double, Set, Set, Map) - Method in class gecco.communication.server.ClientAmbassador
Here follows the implementation of the methods in interface gecco.server.core.Client.
unitVisible(String, int, String, String, double, double, Set, Set, Map) - Method in interface gecco.server.core.Client
Tells the clients that the specified unit, which was previously invisible to them, is now visible.
UnitVisibleMessage - class gecco.communication.messages.UnitVisibleMessage.
This message is put in the send queue on the server part of the communication, when the server calls unitVisible
UnitVisibleMessage(int, String, String, double, double, Set, Set, Map) - Constructor for class gecco.communication.messages.UnitVisibleMessage
Constructor for the UnitVisibleMessage object
update(double) - Static method in class gecco.client.dialogs.LoadingInfo
Update the progress bar.
update(int[][]) - Method in class gecco.game.firefighter.AutomatonImpl
Description of the Method
update(int[][]) - Method in class gecco.game.oresund.AutomatonImpl
Description of the Method
update(int[][]) - Method in class gecco.game.testgame.AutomatonImpl
Description of the Method
update(int[][]) - Method in class gecco.server.automaton.Automaton
The update method of the automaton.
update(Message) - Method in class gecco.server.log.RoleState
 
updateActionDisplay() - Method in class gecco.client.infopanels.PieceInfoPanel
Call this when the ongoing or queued actions of the piece has changed.
updateAutomatonState(int, int, int) - Method in interface gecco.server.visibility.VisibilityFilter
This method is to be called whenever an automaton changes state.
updateAutomatonState(int, int, int) - Method in class gecco.server.visibility.VisibilityManager
Description of the Method
updatedActions - Variable in class gecco.server.core.Unit
???
updatedProperties - Variable in class gecco.server.core.Unit
Contains all properties that have been updated during the current tick, and the new values.
updateMessageDisplay() - Method in class gecco.client.infopanels.PieceInfoPanel
Call this when the messages of the piece has changed.
updatePiece(int, Position) - Method in interface gecco.client.Client
Sets a new position for the piece with the given handle.
updatePiece(int, Position) - Method in class gecco.client.Game
Description of the Method
updatePiece(int, Property[]) - Method in interface gecco.client.Client
Adds/changed the given properties of the piece with the given handle.
updatePiece(int, Property[]) - Method in class gecco.client.Game
Description of the Method
updatePoint(int, int, int) - Method in class gecco.client.Map
Updates the given point of the map to the new color.
updatePropertyDisplay() - Method in class gecco.client.infopanels.PieceInfoPanel
Call this when the properties of the piece has changed.
updateTime(String) - Method in class gecco.client.infopanels.PieceInfoPanel
Updates the time label.
updateUnitPosition(Unit, double, double, double, double) - Method in interface gecco.server.visibility.VisibilityFilter
This method is to be called whenever a unit changes its position.
updateUnitPosition(Unit, double, double, double, double) - Method in class gecco.server.visibility.VisibilityManager
Description of the Method

V

values() - Method in class gecco.server.core.TypedProperties
Returns a Collection view of all values stored in this mapping
VersionNumber - class gecco.util.VersionNumber.
A utility class for holding, parsing and comparing version numbers.
VersionNumber() - Constructor for class gecco.util.VersionNumber
Constructs an empty version number.
VersionNumber(int) - Constructor for class gecco.util.VersionNumber
Constructs a version number with only a major number, such as "3".
VersionNumber(int, int) - Constructor for class gecco.util.VersionNumber
Constructs a version number with a major and a minor number, such as "3.1".
VersionNumber(int, int, int) - Constructor for class gecco.util.VersionNumber
Constructs a version number with a major and two minor numbers, such as "3.1.41".
VersionNumber(String) - Constructor for class gecco.util.VersionNumber
Constructs a version number from a String, such as "3.14.15".
VisibilityFilter - interface gecco.server.visibility.VisibilityFilter.
This interface acts as a filter between the server and the outside world.
VisibilityInfo - interface gecco.server.visibility.VisibilityInfo.
Description of the Class
VisibilityManager - class gecco.server.visibility.VisibilityManager.
Description of the Class
VisibilityManager() - Constructor for class gecco.server.visibility.VisibilityManager
 
visibleAutomatons(String) - Method in class gecco.server.visibility.VisibilityManager
Returns, for every automaton on the map, true if the role can see it, and false otherwise.
visibleUnits(String) - Method in class gecco.server.visibility.VisibilityManager
Returns the set of all units visible to the given role.
VOID - Static variable in class gecco.client.Action
The parameter type void.

W

wakeupTime - Variable in class gecco.server.clock.SleepingThread
Description of the Field
Water - class gecco.game.firefighter.Water.
Description of the Class
Water() - Constructor for class gecco.game.firefighter.Water
Constructor for the Water object
Web216ColorModel - class com.eteks.awt.image.Web216ColorModel.
A concrete MappingPaleteModel which uses a fixed palette consisting of the standard "safe 216 Web colors" + a tranparent color at index 216.
Web216ColorModel() - Constructor for class com.eteks.awt.image.Web216ColorModel
Creates a color model with fixed Web216 palette.
Web216ColorsFilter - class com.eteks.filter.Web216ColorsFilter.
This image filter transforms the color of each pixel of an image, using a fixed 216 colors palette.
Web216ColorsFilter() - Constructor for class com.eteks.filter.Web216ColorsFilter
 
whoIsConnected() - Method in class gecco.communication.server.ClientAmbassador
returns a String with the names of all connected clients
whoIsConnected() - Method in class gecco.communication.server.RoleConnection
returns a string with the names of the clients connected to this role.
write(char[]) - Method in class gecco.util.AutoFlushWriter
Description of the Method
write(char[]) - Method in class gecco.util.NullWriter
Description of the Method
write(char[], int, int) - Method in class gecco.util.AutoFlushWriter
Description of the Method
write(char[], int, int) - Method in class gecco.util.NullWriter
Description of the Method
write(DataOutput) - Method in class gecco.communication.messages.Message
This method should write the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.GetMapMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.TimeUpdateMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.UnitPositionUpdateMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.RejectConnectionMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.UnitPropertyUpdateMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.AbortGameMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.ActionOnPositionMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.AcceptConnectionMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.DisconnectMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.GetAvailableRolesMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.StartGameMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.UnitVisibleMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.PingMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.MapPointInvisibleMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.ActionFailedMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.PingReplyMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.AbortActionMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.ActionOnUnitMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.UnitDestroyedMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.InvalidMessage
This method writes the message to the given DataOutput .
write(DataOutput) - Method in class gecco.communication.messages.MapPointsInvisibleMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.MapUpdatesMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.ActionCompletedMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.MapMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.AvailableRolesMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.JoinAsRoleMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.ActionOnVoidMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.MapUpdateMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.UnitDeletedMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.UnitMessageMessage
This method writes the message to the given DataOutput.
write(DataOutput) - Method in class gecco.communication.messages.ActionBlockedMessage
This method writes the message to the given DataOutput.
write(int) - Method in class gecco.util.AutoFlushWriter
Description of the Method
write(int) - Method in class gecco.util.NullWriter
Description of the Method
write(OutputStream) - Method in class com.eteks.awt.PJAFontData
Writes the fields of this object to out.
write(String) - Method in class gecco.util.AutoFlushWriter
Description of the Method
write(String) - Method in class gecco.util.NullWriter
Description of the Method
write(String, int, int) - Method in class gecco.util.AutoFlushWriter
Description of the Method
write(String, int, int) - Method in class gecco.util.NullWriter
Description of the Method

X

x - Variable in class gecco.client.Position
Description of the Field
x - Variable in class gecco.communication.messages.UnitPositionUpdateMessage
Description of the Field
x - Variable in class gecco.communication.messages.UnitVisibleMessage
Description of the Field
x - Variable in class gecco.communication.messages.MapPointInvisibleMessage
Description of the Field
x - Variable in class gecco.communication.messages.MapUpdateMessage
Description of the Field
x - Variable in class gecco.server.core.Unit
The x-coordinate of the unit's position.
x - Variable in class gecco.server.visibility.Point
Description of the Field
xArray - Variable in class gecco.server.unitmanager.UnitManager
An array of sets, one set for each x coordinate on the map.

Y

y - Variable in class gecco.client.Position
Description of the Field
y - Variable in class gecco.communication.messages.UnitPositionUpdateMessage
 
y - Variable in class gecco.communication.messages.UnitVisibleMessage
Description of the Field
y - Variable in class gecco.communication.messages.MapPointInvisibleMessage
Description of the Field
y - Variable in class gecco.communication.messages.MapUpdateMessage
Description of the Field
y - Variable in class gecco.server.core.Unit
The y-coordinate of the unit's position.
y - Variable in class gecco.server.visibility.Point
Description of the Field
yArray - Variable in class gecco.server.unitmanager.UnitManager
An array of sets, one set for each y coordinate on the map.

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