Class StringOperationElement
- java.lang.Object
-
- ptolemy.actor.gt.GTIngredientElement
-
- ptolemy.actor.gt.ingredients.operations.OperationElement
-
- ptolemy.actor.gt.ingredients.operations.StringOperationElement
-
public class StringOperationElement extends OperationElement
A string element for an operation.- Since:
- Ptolemy II 8.0
- Version:
- $Id$
- Author:
- Thomas Huining Feng
- Pt.AcceptedRating:
- Red (tfeng)
- Pt.ProposedRating:
- Yellow (tfeng)
-
-
Constructor Summary
Constructors Constructor Description StringOperationElement(java.lang.String name, boolean canDisable)
Construct a string element for an operation.StringOperationElement(java.lang.String name, boolean canDisable, boolean acceptPtolemyExpression)
Construct a Boolean element for an operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptPtolemyExpression()
Return whether Ptolemy expression is accepted.-
Methods inherited from class ptolemy.actor.gt.GTIngredientElement
canDisable, getName
-
-
-
-
Constructor Detail
-
StringOperationElement
public StringOperationElement(java.lang.String name, boolean canDisable)
Construct a string element for an operation.- Parameters:
name
- The name of the element.canDisable
- Whether the element can be disabled.
-
StringOperationElement
public StringOperationElement(java.lang.String name, boolean canDisable, boolean acceptPtolemyExpression)
Construct a Boolean element for an operation.- Parameters:
name
- The name of the element.canDisable
- Whether the element can be disabled.acceptPtolemyExpression
- Whether Ptolemy expression is accepted.
-
-