|
|||||||||||
| 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.one.GUIFactoryOne
This is the factory class for the "one" GUI option. The one GUI option is the Universe screen on one window.
| Nested Class Summary | |
(package private) class |
GUIFactoryOne.TreeClicked
|
| Field Summary | |
private CommandBar |
commandbar
|
private javax.swing.JFrame |
frame
|
private javax.swing.border.TitledBorder |
infoBorder
|
private Index |
infoIndex
|
private javax.swing.JPanel |
infoPanel
|
private javax.swing.JLabel |
timeLabel
|
private javax.swing.border.TitledBorder |
treeBorder
|
private Index |
treeIndex
|
private javax.swing.JPanel |
treePanel
|
| Fields inherited from class org.gjt.universe.GUIFactory |
GUITypeJFC, GUITypeOne, GUITypeText |
| Constructor Summary | |
GUIFactoryOne()
Main Constructor |
|
| Method Summary | |
void |
clearStatusArea()
|
void |
errorMessage(java.lang.String errorMessage)
Display error message |
void |
gameOptionsProcessed()
|
void |
getAlphaOptions()
Get Alpha options |
void |
getGameOptions()
|
(package private) javax.swing.JPanel |
getInfoPanel()
|
javax.swing.JFrame |
getJFrame()
|
(package private) javax.swing.JPanel |
getMapControlPanel()
|
(package private) javax.swing.JPanel |
getMapInfoPanel()
|
(package private) javax.swing.JPanel |
getMapPanel()
|
(package private) javax.swing.JPanel |
getResultsPanel()
|
(package private) javax.swing.JPanel |
getTreePanel()
|
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 |
void |
shutDown()
Shutdown routine |
void |
statusLine(java.lang.String statusMessage,
boolean refresh)
Display line to status area |
void |
updateCivInfo()
|
void |
updateInfo(Index idx)
|
void |
updateInfoName(java.lang.String text)
|
void |
updateTree(Index idx)
|
void |
updateTreeName(java.lang.String text)
|
| Methods inherited from class org.gjt.universe.GUIFactory |
getEditor, getEditor, getInstance, getToolBar, getViewer, init, registerEditor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private javax.swing.JFrame frame
private CommandBar commandbar
private javax.swing.JLabel timeLabel
private javax.swing.border.TitledBorder treeBorder
private Index treeIndex
private javax.swing.JPanel treePanel
private javax.swing.border.TitledBorder infoBorder
private Index infoIndex
private javax.swing.JPanel infoPanel
| Constructor Detail |
public GUIFactoryOne()
| Method Detail |
public void gameOptionsProcessed()
gameOptionsProcessed in class GUIFactoryjavax.swing.JPanel getMapPanel()
javax.swing.JPanel getMapControlPanel()
javax.swing.JPanel getMapInfoPanel()
javax.swing.JPanel getInfoPanel()
javax.swing.JPanel getTreePanel()
javax.swing.JPanel getResultsPanel()
public void getGameOptions()
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 statusMessage,
boolean refresh)
GUIFactory
statusLine in class GUIFactorypublic void clearStatusArea()
clearStatusArea in class GUIFactorypublic void updateCivInfo()
updateCivInfo in class GUIFactorypublic void getAlphaOptions()
GUIFactory
getAlphaOptions in class GUIFactorypublic void launchResultsScreen()
launchResultsScreen in class GUIFactorypublic void updateTree(Index idx)
public void updateTreeName(java.lang.String text)
public void updateInfo(Index idx)
public void updateInfoName(java.lang.String text)
public void showMainWindow()
showMainWindow in class GUIFactorypublic javax.swing.JFrame getJFrame()
getJFrame in class GUIFactorypublic void shutDown()
GUIFactory
shutDown 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 | ||||||||||