StringParameter
ptolemy.data.expr.StringParameter

This subclass of Parameter is almost identical to Parameter except that it sets itself to string mode in the constructor. In addition, there is a convenience method, stringValue(), that is equivalent to the following expression:
 ((StringToken)this.getToken()).stringValue()
 

This subclass is provided mainly so that string-mode parameters can be specified in MoML. Consequently, the only constructor provided is the one needed by MoML.

Author(s): Edward A. Lee
Version:$Id: StringParameter.java,v 1.14 2005/07/08 19:57:35 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (cxh)