public class StringCriterionElement extends CriterionElement
Constructor and Description |
---|
StringCriterionElement(java.lang.String name,
boolean canDisable)
Construct a string element for a criterion.
|
StringCriterionElement(java.lang.String name,
boolean canDisable,
boolean acceptRegularExpression,
boolean acceptPtolemyExpression)
Construct a Boolean element for a criterion.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptPtolemyExpression()
Return whether Ptolemy expression is accepted.
|
boolean |
acceptRegularExpression()
Return whether regular expression is accepted.
|
canDisable, getName
public StringCriterionElement(java.lang.String name, boolean canDisable)
name
- The name of the element.canDisable
- Whether the element can be disabled.public StringCriterionElement(java.lang.String name, boolean canDisable, boolean acceptRegularExpression, boolean acceptPtolemyExpression)
name
- The name of the element.canDisable
- Whether the element can be disabled.acceptRegularExpression
- Whether regular expression is accepted.acceptPtolemyExpression
- Whether Ptolemy expression is accepted.public boolean acceptPtolemyExpression()
public boolean acceptRegularExpression()