Package net.sf.freecol.client.gui

Contains the GUI classes.

See:
          Description

Interface Summary
OutForAnimationCallback A callback interface for GUI.executeWithUnitOutForAnimation(net.sf.freecol.common.model.Unit, net.sf.freecol.common.model.Tile, OutForAnimationCallback).
 

Class Summary
Canvas The main container for the other GUI components in FreeCol.
CanvasMapEditorMouseListener Listens to the mouse being moved at the level of the Canvas.
CanvasMouseListener Listens to mouse buttons being pressed at the level of the Canvas.
CanvasMouseMotionListener Listens to the mouse being moved at the level of the Canvas.
FAFile Represents the data within a Font Animation File.
FAFile.CREatingInputStream This utility class removes all CR:s from an InputStream.
FAFile.FALetter  
FAFile.FAName  
FullScreenFrame The fullscreen frame that contains everything.
GUI This class is responsible for drawing the map/background on the Canvas.
GUI.GrayLayer Custom component to paint turn progress.
GUIMessage Represents a message that can be displayed in the GUI.
ImageLibrary Holds various images that can be called upon by others in order to display certain things.
MessageLabel  
TerrainCursor  
TilePopup Allows the user to obtain more info about a certain tile or to activate a specific unit on the tile, or perform various debug mode actions.
ViewMode This class controls the type of view currently being used
WindowedFrame The frame that contains everything.
WindowedFrameListener The WindowListener for the WindowedFrame class.
 

Enum Summary
Canvas.BoycottAction  
Canvas.BuyAction  
Canvas.ClaimAction  
Canvas.EventType  
Canvas.MissionaryAction  
Canvas.PopupPosition  
Canvas.ScoutColonyAction  
Canvas.ScoutIndianSettlementAction  
Canvas.SellAction  
Canvas.TradeAction  
GUI.BorderType  
 

Package net.sf.freecol.client.gui Description

Contains the GUI classes.

A JFrame is created during the startup of the program. This frame will be either a FullScreenFrame or a WindowedFrame based on the capabillities of the system (or the user's manual choice). A Canvas will then be added to the frame.

Canvas is the main container for the other GUI components in FreeCol. This class is where the panels, dialogs and menus are added. In addition, Canvas is the component in which the map graphics are displayed.

Other important classes: