public class StringOperationElement extends OperationElement
Red (tfeng) |
Yellow (tfeng) |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptPtolemyExpression()
Return whether Ptolemy expression is accepted.
|
canDisable, getName
public StringOperationElement(java.lang.String name, boolean canDisable)
name
- The name of the element.canDisable
- Whether the element can be disabled.public StringOperationElement(java.lang.String name, boolean canDisable, boolean acceptPtolemyExpression)
name
- The name of the element.canDisable
- Whether the element can be disabled.acceptPtolemyExpression
- Whether Ptolemy expression is accepted.