|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.gjt.universe.GUIFactory
|
+--org.gjt.universe.gui.GUIFactoryJFC
This is the "main" window of the Universe game. This window has such things as the tool bar, the menu, and some other game information.
| Nested Class Summary | |
(package private) class |
GUIFactoryJFC.MainWindowListener
|
private class |
GUIFactoryJFC.MouseClicked
|
| Field Summary | |
private GUICommandBarJFC |
commandbar
|
private UniverseJFrame |
frame
|
private javax.swing.JPanel |
infoPanel
|
private javax.swing.JPanel |
mainPanel
|
private GUIMainMenuJFC |
menu
|
private GUIResultsJFC |
results
|
private javax.swing.JList |
resultsList
|
private javax.swing.DefaultListModel |
resultsListModel
|
private javax.swing.JPanel |
resultsPanel
|
private javax.swing.JLabel |
turnLabel
|
private javax.swing.JLabel |
viewerLabel
|
| Fields inherited from class org.gjt.universe.GUIFactory |
GUITypeJFC, GUITypeOne, GUITypeText |
| Constructor Summary | |
GUIFactoryJFC()
Main Constructor |
|
| Method Summary | |
void |
clearStatusArea()
|
void |
errorMessage(java.lang.String errorMessage)
Display error message |
void |
gameOptionsProcessed()
|
void |
getAlphaOptions()
Get Alpha options |
javax.swing.JFrame |
getJFrame()
|
javax.swing.JMenuBar |
getMainMenu()
|
java.lang.Object |
getToolBar()
|
void |
launchResultsScreen()
|
void |
messageListWindow(java.util.Vector messages)
|
void |
showEditor(Index idx)
Show an editor for the item referred by an Index. |
void |
showMainWindow()
|
void |
showStartupOptions()
Prompts for game options |
(package private) static void |
spawnSubWindow(CivID viewer,
Index idx)
|
void |
statusLine(java.lang.String stringToAdd,
boolean refresh)
Display line to status area |
void |
updateCivInfo()
This method is called after each turn is generated. |
| Methods inherited from class org.gjt.universe.GUIFactory |
getEditor, getEditor, getInstance, getViewer, init, registerEditor, shutDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private UniverseJFrame frame
private GUICommandBarJFC commandbar
private GUIMainMenuJFC menu
private javax.swing.JPanel mainPanel
private javax.swing.JPanel infoPanel
private javax.swing.JLabel turnLabel
private javax.swing.JLabel viewerLabel
private javax.swing.JPanel resultsPanel
private javax.swing.JList resultsList
private javax.swing.DefaultListModel resultsListModel
private GUIResultsJFC results
| Constructor Detail |
public GUIFactoryJFC()
| Method Detail |
public java.lang.Object getToolBar()
getToolBar in class GUIFactorypublic javax.swing.JFrame getJFrame()
getJFrame in class GUIFactorypublic javax.swing.JMenuBar getMainMenu()
public void showStartupOptions()
GUIFactory
showStartupOptions in class GUIFactorypublic void errorMessage(java.lang.String errorMessage)
GUIFactory
errorMessage in class GUIFactory
public void statusLine(java.lang.String stringToAdd,
boolean refresh)
GUIFactory
statusLine in class GUIFactorypublic void clearStatusArea()
clearStatusArea in class GUIFactorypublic void getAlphaOptions()
GUIFactory
getAlphaOptions in class GUIFactory
static void spawnSubWindow(CivID viewer,
Index idx)
public void showMainWindow()
showMainWindow in class GUIFactorypublic void updateCivInfo()
updateCivInfo in class GUIFactorypublic void launchResultsScreen()
launchResultsScreen in class GUIFactorypublic void gameOptionsProcessed()
gameOptionsProcessed in class GUIFactorypublic void messageListWindow(java.util.Vector messages)
messageListWindow in class GUIFactorypublic void showEditor(Index idx)
GUIFactory
showEditor in class GUIFactory
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||