us.nj.nwk.overlapping_analysis
Class View

java.lang.Object
  extended by us.nj.nwk.overlapping_analysis.View

public class View
extends Object

The View object contains two nested classes, one which handles the AWT/Swing components of the view and a second which handle the Java3D components of the view.

Author:
nix

Field Summary
static int NETBEANS_MODULE_VIEW
           
static int STANDALONE_VIEW
           
 
Constructor Summary
View(Model model, int view_type)
          Constructs a new View
 
Method Summary
 Container getContainer()
          Returns the container
 Model getModel()
          Returns the model
static File selectFileToExport()
           
static File selectFileToOpen()
          Pops up a file chooser allowing the file to be opened to be selected.
static File selectFileToSave()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STANDALONE_VIEW

public static final int STANDALONE_VIEW
See Also:
Constant Field Values

NETBEANS_MODULE_VIEW

public static final int NETBEANS_MODULE_VIEW
See Also:
Constant Field Values
Constructor Detail

View

public View(Model model,
            int view_type)
Constructs a new View

Parameters:
model - the applications model
Method Detail

selectFileToOpen

public static File selectFileToOpen()
Pops up a file chooser allowing the file to be opened to be selected.

Returns:
file to open

selectFileToExport

public static File selectFileToExport()

selectFileToSave

public static File selectFileToSave()

getModel

public Model getModel()
Returns the model

Returns:
the model

getContainer

public Container getContainer()
Returns the container

Returns:
the container