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 Edward A. Lee @version $Id: StringParameter.java,v 1.17 2007/11/26 07:10:38 cxh Exp $ @since Ptolemy II 4.0 @Pt.ProposedRating Yellow (eal) @Pt.AcceptedRating Red (cxh)
|
|
|
|