|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MapAppSkin
The MapAppSkin does two things: it sets up the GUI in setup(), and it shows different parts of the GUI in the showX() functions. The initialization steps are hard to follow. First, MapAppSkin is created. MapAppSkin creates any windows it needs, but it doesn't set itself up. Second, MapApp is created. After MapApp has created its GUI, it calls MapAppSkin.setup(). It got that way because the MapAppSkin and the MapApp both depend on each other. Specifically, in MapApp's initialization, MapApp was asking MapAppSkin for its main window before MapAppSkin had set up its main window. NullPointerExceptions ensued.
Copyright 2006-2009 Partner Software, Inc.
| Method Summary | |
|---|---|
void |
addCustomControlPanel(java.lang.String name,
java.awt.Container panel)
|
java.awt.Color |
getBackgroundColor()
|
java.awt.Color |
getForegroundColor()
|
MainWindow |
getWindow()
|
void |
openWindows()
|
void |
setColorsOn(java.awt.Component component)
|
void |
setup(MapApp app)
Creates the gui. |
void |
showDataTab()
|
void |
showFindTab()
|
void |
showMap()
|
void |
teardown()
Kills the gui. |
| Method Detail |
|---|
MainWindow getWindow()
void setup(MapApp app)
app - void showDataTab()
void showFindTab()
void showMap()
void teardown()
void openWindows()
void addCustomControlPanel(java.lang.String name,
java.awt.Container panel)
java.awt.Color getBackgroundColor()
java.awt.Color getForegroundColor()
void setColorsOn(java.awt.Component component)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||