ptolemy.actor.gt.ingredients.operations
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: StringOperationElement.java 57040 2010-01-27 20:52:32Z cxh $
- Author:
- Thomas Huining Feng
- Accepted Rating:
- Proposed Rating:
Constructor Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_acceptPtolemyExpression
private boolean _acceptPtolemyExpression
- Whether Ptolemy expression is accepted.
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.
acceptPtolemyExpression
public boolean acceptPtolemyExpression()
- Return whether Ptolemy expression is accepted.
- Returns:
- true if Ptolemy expression is accepted.