Package dd.ui

User interface for simulations.

See:
          Description

Interface Summary
GUIEvents Methods provided by the DLUG user interface.
MapSelectionListener  
 

Class Summary
AttributeEditor  
AutoPlayer  
BallotPanel Voting interface for DLUG.
BriefingPanel JavaDoc goes here.
BriefingWindow JavaDoc goes here.
CallPanel Interface for calling for votes.
ChatPanel Interface for a chat client.
ChooseGame Interface for choosing a game.
ChooseGameToObserve Interface for choosing a game.
DLUGUIHelper Proxy object for DLUGUI classes.
Dummy This is an implementation of DLUGUI that does nothing whatsoever.
FilteringJList  
GameSupport Support for Game code.
HelpPanel  
HexView  
InfoPanel Shows player info, including score, sponsor, and current call
InstructorInterface  
JBoolean A bound boolean variable.
LayoutHelper  
MapView  
MessagePanel A component to visualize game messages.
ProposalList A list of proposals to be voted upon.
ProposalView  
ProposalVisualizer Provides graphical depiction of proposals.
PulsingButton An animated button that "pulses".
RetrofitVisualizer Provides graphical depiction of the retrofit proposal.
Reviewer Reviewer is a main class that reads xmlized briefing given as its command-line-argument and displays it in a BriefingWindow.
Robot  
Simulator A client for running synthetic games.
StartupHelpPanel Shows text from a help file
StatusBar Shows player info, including score, sponsor, and current call
TestController  
TestController.ColorHex  
VotePanel Top-level UI component for the voting process.
VotesLeftPanel Shows votes left for players.
WebBrowser Platform-independent interface to a Web browser.
 

Package dd.ui Description

User interface for simulations. This package contains classes to build a user interface for simulation objects. Since the simulation objects themselves do not have any visualization. The objects in this class comprise the View in the Model/View/Controller framework.

To run the Disaster Land-Use Game, run the Main class, which is the controller for the DLUG game.

Most of the classes here are use JFC/Swing for the graphical user interface. Other interfaces are possible. Whenever possible, platform defaults are used to obtain an appearance that looks appropriate for the current platform.

Some of the game play logic is captured in events such as when users click on objects to initiate actions. Much of the mapping from UI objects to game states is captured in Controller code. Much of these actions are not reusable. When possible, the reusable controller code appears in the EventListeners in the objects themselves.