|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.universe.GUIFactory
Field Summary | |
private java.util.Hashtable |
editors
|
static int |
GUITypeJFC
|
static int |
GUITypeOne
|
static int |
GUITypeText
|
private static GUIFactory |
singleton
Singleton Instance |
private static CivID |
viewer
Civ "viewing" this screen. |
Constructor Summary | |
protected |
GUIFactory()
|
Method Summary | |
abstract void |
clearStatusArea()
|
abstract void |
errorMessage(java.lang.String errorMessage)
Display error message |
abstract void |
gameOptionsProcessed()
|
abstract void |
getAlphaOptions()
Get Alpha options |
protected GUIEditor |
getEditor(DBType type)
Return the editor prototype for the DBType. |
protected GUIEditor |
getEditor(Index idx)
Return the editor prototype for the Index class |
static GUIFactory |
getInstance()
Returns the singleton instance |
abstract javax.swing.JFrame |
getJFrame()
|
java.lang.Object |
getToolBar()
|
static CivID |
getViewer()
|
static void |
init()
Initialize the GUI. |
abstract void |
launchResultsScreen()
|
abstract void |
messageListWindow(java.util.Vector messages)
|
void |
registerEditor(DBType type,
GUIEditor editor)
Register an editor prototype to handle a certain DBType. |
abstract void |
showEditor(Index idx)
Show an editor for the item referred by an Index. |
abstract void |
showMainWindow()
|
abstract void |
showStartupOptions()
Prompts for game options |
void |
shutDown()
Shutdown routine |
abstract void |
statusLine(java.lang.String statusMessage,
boolean refresh)
Display line to status area |
abstract void |
updateCivInfo()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int GUITypeText
public static final int GUITypeJFC
public static final int GUITypeOne
private static CivID viewer
private static GUIFactory singleton
private java.util.Hashtable editors
Constructor Detail |
protected GUIFactory()
Method Detail |
public static void init()
public static CivID getViewer()
public abstract void showStartupOptions()
public abstract void errorMessage(java.lang.String errorMessage)
public abstract void statusLine(java.lang.String statusMessage, boolean refresh)
public abstract void clearStatusArea()
public abstract void updateCivInfo()
public abstract javax.swing.JFrame getJFrame()
public abstract void showMainWindow()
public static GUIFactory getInstance()
public void shutDown()
public abstract void getAlphaOptions()
public abstract void launchResultsScreen()
public java.lang.Object getToolBar()
public abstract void gameOptionsProcessed()
public abstract void messageListWindow(java.util.Vector messages)
public void registerEditor(DBType type, GUIEditor editor)
public abstract void showEditor(Index idx)
protected GUIEditor getEditor(DBType type)
protected GUIEditor getEditor(Index idx)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |