|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.util.AbstractDisposable | +--gumbo.app.MainWindow | +--gumbo.visualize.data.TestViewWindow
Base class for data model view windows.
Nested Class Summary | |
protected class |
TestViewWindow.NewModelAction
Used by subclasses to create an action intended to replace this window's model and view. |
protected class |
TestViewWindow.NewWindowAction
Used by subclasses to create an action intended to open a new child window of this window. |
static class |
TestViewWindow.StatusBarUpdater
|
Constructor Summary | |
TestViewWindow(MainWindow owner,
java.lang.String name,
TestViewInput input)
Creates a new window. |
Method Summary | |
protected void |
createdNewView(WholeView view)
Called by the system to notify subclasses when a new view has been created. |
protected abstract DataViewFactory |
getDataViewFactory()
Called by the system to get the view factory for window display. |
TestViewInput |
getInput()
Gets the interaction input for this window. |
WholeModel |
getWholeModel()
Gets the current model displayed by this window. |
void |
newMainArea(WholeModel model)
Replaces any old view with a new one based on the specified model, and saves the new model, which is returned by getWholeModel(). |
void |
showWindow(WholeModel model)
Called by subclasses to build and show a new view of a model. |
void |
updateWindow(WholeModel model)
Called by subclasses to build a new view of a model without changing its visbility status. |
Methods inherited from class gumbo.app.MainWindow |
getContentPane, getMenuBar, getStatusBar, getStatusText, getTitleText, getToolBar, getWindowGraphic, getWindowName, implDispose, initWindowGraphic, pack, setDefaultCloseOperation, setMainArea, setStatusText, setTitleText, setVisible, setWindowName, showProblemMessage, showProblemMessage |
Methods inherited from class gumbo.util.AbstractDisposable |
dispose, isDisposed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestViewWindow(MainWindow owner, java.lang.String name, TestViewInput input)
Method Detail |
public final void updateWindow(WholeModel model)
public void showWindow(WholeModel model)
model
- The new model. Never null.public final void newMainArea(WholeModel model)
model
- The new model. Never null.public WholeModel getWholeModel()
public TestViewInput getInput()
protected abstract DataViewFactory getDataViewFactory()
protected void createdNewView(WholeView view)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |