Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.stanford.genetics.treeview.app
Class TreeViewAppX  view TreeViewAppX download TreeViewAppX.java

java.lang.Object
  extended byedu.stanford.genetics.treeview.app.TreeViewApp
      extended byedu.stanford.genetics.treeview.app.TreeViewAppX
All Implemented Interfaces:
Daemon.RequestHandler, java.util.EventListener, java.awt.event.WindowListener

public class TreeViewAppX
extends TreeViewApp
implements Daemon.RequestHandler

This class defines the treeview application. The actual Gui handling of a given window is done by TreeViewFrame, which represents a single document. Because multiple documents can be open at a given time, there can be multiple TVFrame objects. however, there can be only one TreeView object. what this really means is that TreeView itself just manages two resources, the window list and the global config. Anything that effects these resources should bottleneck through TreeView. 1/16/2003 by popular demand (with the exception of my advisor) I have decided to try and make an applet version. as a first cut, I'm just going to make this class extend applet and pop open a jframe.


Field Summary
private static Daemon daemon
           
private static boolean USE_DAEMON
           
 
Fields inherited from class edu.stanford.genetics.treeview.app.TreeViewApp
updateUrl, versionTag, windows
 
Constructor Summary
TreeViewAppX()
           
 
Method Summary
private  edu.stanford.genetics.treeview.TreeViewFrame getTreeViewFrame(boolean newFrame)
           
 void handleRequest(java.lang.String[] args)
           
static void main(java.lang.String[] astring)
          Main method for TreeView application.
 void openNew(java.lang.String[] args)
          opens a TreeViewFrame window
 
Methods inherited from class edu.stanford.genetics.treeview.app.TreeViewApp
closeAllWindows, getGlobalConfig, getUpdateUrl, getVersionTag, openNew, openNew, rebuildWindowMenus, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

daemon

private static Daemon daemon

USE_DAEMON

private static boolean USE_DAEMON
Constructor Detail

TreeViewAppX

public TreeViewAppX()
Method Detail

main

public static void main(java.lang.String[] astring)
Description copied from class: TreeViewApp
Main method for TreeView application.


openNew

public void openNew(java.lang.String[] args)
opens a TreeViewFrame window


getTreeViewFrame

private edu.stanford.genetics.treeview.TreeViewFrame getTreeViewFrame(boolean newFrame)

handleRequest

public void handleRequest(java.lang.String[] args)
Specified by:
handleRequest in interface Daemon.RequestHandler