uk.ac.ed.isodensity_surface_mapper
Class View

java.lang.Object
  extended by uk.ac.ed.isodensity_surface_mapper.View

public class View
extends Object


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 selectFileToOpen()
          Pops up a file chooser allowing the file to be opened to be selected.
 
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

getModel

public Model getModel()
Returns the model

Returns:
the model

getContainer

public Container getContainer()
Returns the container

Returns:
the container