public class NFParam extends Observable implements Runnable
The NFParam class provides the user with a convenient mechanism for defining control parameters for one or more other classes. Users can define parameters inside an <applet> tag in an HTML file, within a text file that can be accessed via a URL, or can dynamically define parameters from a network server, via a TCP stream connection, thereby providing dynamic remote control of an object.
The following parameter types are supported:
Number - Any numeric value
String - A quoted string using either a double quote (") or single quote (')
Symbol - Any one of a list of keywords defined by a specific object
Color - Any of the color names defined in NFColor
Tuple - A comma separated list of parameters bracketed by '(' and ')'. A tuple may contain one or more attributes.
Tuples need NOT be fully specified in HTML scripts. Any attribute that is not specified will be assigned a default value assigned by the application. For tuples within vectors, the default values will be derived from any previously defined tuple in that vector.
Vector - A comma separated list of parameters. A vector may contain one or more values, but all values must be the same type. Any attribute type, including Tuple, may be used within a Vector. Vectors may NOT be nested, nor may they be contained in a Tuple.
Image - An URL referencing a file containing an image. An attempt to load the image will occur when the parameter list is parsed.