|
|||||||||||
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 GUIFactory
javax.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 GUIFactory
public void errorMessage(java.lang.String errorMessage)
GUIFactory
errorMessage
in class GUIFactory
public void statusLine(java.lang.String statusMessage, boolean refresh)
GUIFactory
statusLine
in class GUIFactory
public void clearStatusArea()
clearStatusArea
in class GUIFactory
public void updateCivInfo()
updateCivInfo
in class GUIFactory
public void getAlphaOptions()
GUIFactory
getAlphaOptions
in class GUIFactory
public void launchResultsScreen()
launchResultsScreen
in class GUIFactory
public 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 GUIFactory
public javax.swing.JFrame getJFrame()
getJFrame
in class GUIFactory
public void shutDown()
GUIFactory
shutDown
in class GUIFactory
public void messageListWindow(java.util.Vector messages)
messageListWindow
in class GUIFactory
public 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 |