uk.ac.mrc.hgmp.embreo.filemgr
Class EmbreoFileViewPanel

java.lang.Object
  |
  +--uk.ac.mrc.hgmp.embreo.filemgr.EmbreoFileViewPanel

public class EmbreoFileViewPanel
extends java.lang.Object


Constructor Summary
EmbreoFileViewPanel(EmbreoParams mysettings, javax.swing.JPanel mainPane, java.lang.String name, java.lang.Object file)
          Display a file in an existing panel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbreoFileViewPanel

public EmbreoFileViewPanel(EmbreoParams mysettings,
                           javax.swing.JPanel mainPane,
                           java.lang.String name,
                           java.lang.Object file)
Display a file in an existing panel. The existing panel will be cleared of all content.

Parameters:
mysettings - EmbreoParams with configuration information
mainPane - The JPanel to load content into
name - String used to construct the title and indicate file type
file - An object with the file contents