Back to index

wims  3.65+svn20090927
PlotLiveApplet.java
Go to the documentation of this file.
00001 /* A live signal plotter applet
00002 
00003  @Author: Edward A. Lee and Christopher Brooks
00004 
00005  @Copyright (c) 1997-2005 The Regents of the University of California.
00006  All rights reserved.
00007 
00008  Permission is hereby granted, without written agreement and without
00009  license or royalty fees, to use, copy, modify, and distribute this
00010  software and its documentation for any purpose, provided that the
00011  above copyright notice and the following two paragraphs appear in all
00012  copies of this software.
00013 
00014  IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
00015  FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
00016  ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
00017  THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
00018  SUCH DAMAGE.
00019 
00020  THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
00021  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00022  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
00023  PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
00024  CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
00025  ENHANCEMENTS, OR MODIFICATIONS.
00026 
00027  PT_COPYRIGHT_VERSION_2
00028  COPYRIGHTENDKEY
00029  */
00030 package ptolemy.plot;
00031 
00034 
00045 public class PlotLiveApplet extends PlotApplet {
00049     public String getAppletInfo() {
00050         return "PlotLiveApplet "
00051                 + PlotBox.PTPLOT_RELEASE
00052                 + " : Demo of PlotLive.\n"
00053                 + "By: Edward A. Lee\n"
00054                 + "    Christopher Brooks\n"
00055                 + "($Id: PlotLiveApplet.java,v 1.31 2005/07/28 18:49:33 cxh Exp $)";
00056     }
00057 
00060     public void start() {
00061         ((PlotLive) plot()).start();
00062     }
00063 
00066     public void stop() {
00067         ((PlotLive) plot()).stop();
00068     }
00069 }