gumbo.visualize.data
Class TestGraphWindow

java.lang.Object
  |
  +--gumbo.util.AbstractDisposable
        |
        +--gumbo.app.MainWindow
              |
              +--gumbo.visualize.data.TestViewWindow
                    |
                    +--gumbo.visualize.data.TestGraphWindow
All Implemented Interfaces:
Disposable
Direct Known Subclasses:
TestGraphWindow.Extended

public class TestGraphWindow
extends TestViewWindow

Window for list display.

Version:
$Revision: 1.12 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Nested Class Summary
static class TestGraphWindow.Extended
          Graph window with a button to open a sub-window and create new graph models.
 
Nested classes inherited from class gumbo.visualize.data.TestViewWindow
TestViewWindow.NewModelAction, TestViewWindow.NewWindowAction, TestViewWindow.StatusBarUpdater
 
Constructor Summary
TestGraphWindow(MainWindow owner, java.lang.String name, TestViewInput input)
          Creates a new window.
 
Method Summary
protected  void createdNewView(WholeView view)
          Creates a new layout engine for the view and updates the layout button's action accordingly.
protected  DataViewFactory getDataViewFactory()
          Called by the system to get the view factory for window display.
 void showWindow(WholeModel model)
          Shows the window and lays it out.
 
Methods inherited from class gumbo.visualize.data.TestViewWindow
getInput, getWholeModel, newMainArea, updateWindow
 
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

TestGraphWindow

public TestGraphWindow(MainWindow owner,
                       java.lang.String name,
                       TestViewInput input)
Creates a new window. If owner is null the window is unowned and the graphic is a JFrame, otherwise it is owned and the graphic is a JDialog.

Method Detail

showWindow

public void showWindow(WholeModel model)
Shows the window and lays it out.

Overrides:
showWindow in class TestViewWindow
Parameters:
model - The new model. Never null.

getDataViewFactory

protected DataViewFactory getDataViewFactory()
Description copied from class: TestViewWindow
Called by the system to get the view factory for window display.

Specified by:
getDataViewFactory in class TestViewWindow

createdNewView

protected void createdNewView(WholeView view)
Creates a new layout engine for the view and updates the layout button's action accordingly.

Overrides:
createdNewView in class TestViewWindow