Class ProjWin

java.lang.Object
   |
   +----ProjWin

public class ProjWin
extends Object
implements Parsable
A project window. This window displays one Project object.

This code is (c) 1996 Leemon Baird <leemon@cs.cmu.edu>, http://www.cs.cmu.edu/~baird
The source and object code may be redistributed freely. If the code is modified, please state so in the comments.

Version:
1.01, 24 July 96
Author:
Leemon Baird

Variable Index

 o project
The Project displayed in this window

Constructor Index

 o ProjWin()

Method Index

 o BNF(int)
Return the BNF description of how to parse the parameters of this object.
 o destroy()
Kill all the threads and windows and graphics contexts for this Project and its window.
 o getParameters(int)
Return a parameter array if BNF(), parse(), and unparse() are to be automated, null otherwise.
 o initialize(int)
Initialize, either partially or completely.
 o parse(Parser, int)
Parse the input file to get the parameters for this object.
 o unparse(Unparser, int)
Output a description of this object that can be parsed with parse().

Variables

 o project
 public Project project
The Project displayed in this window

Constructors

 o ProjWin
 public ProjWin()

Methods

 o getParameters
 public Object[][] getParameters(int lang)
Return a parameter array if BNF(), parse(), and unparse() are to be automated, null otherwise.

See Also:
getParameters
 o BNF
 public String BNF(int lang)
Return the BNF description of how to parse the parameters of this object.

 o unparse
 public void unparse(Unparser u,
                     int lang)
Output a description of this object that can be parsed with parse().

 o parse
 public Object parse(Parser p,
                     int lang) throws ParserException
Parse the input file to get the parameters for this object.

Throws: ParserException
parser didn't find the required token
 o initialize
 public void initialize(int level)
Initialize, either partially or completely. initialize(0) is called once, after parse() and setWatchManager() has been called on every object. Higher values for level mean only partial initialization is needed. For example, for reinforcement learning experiments, level=1 at the start of an experiment, level=2 at the start of a run, and level=3 at the start of a trial.

See Also:
initialize
 o destroy
 public void destroy()
Kill all the threads and windows and graphics contexts for this Project and its window.