|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.actor.gt.GTIngredient
ptolemy.actor.gt.ingredients.criteria.Criterion
public abstract class Criterion
A criterion to constrain an object in the host model.
Red (tfeng) |
Yellow (tfeng) |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ptolemy.actor.gt.GTIngredient |
---|
GTIngredient.FieldIterator |
Field Summary |
---|
Fields inherited from class ptolemy.actor.gt.GTIngredient |
---|
FIELD_SEPARATOR |
Constructor Summary | |
---|---|
Criterion(GTIngredientList owner,
int elementCount)
Construct a criterion within the given list as its owner containing a given number of elements. |
Method Summary | |
---|---|
boolean |
canCheck(NamedObj object)
Return whether this criterion can check the given object. |
abstract boolean |
match(NamedObj object)
Test whether the given object in the host model matches the object in the pattern that has this criterion. |
Methods inherited from class ptolemy.actor.gt.GTIngredient |
---|
_decodeBooleanField, _decodeStringField, _encodeBooleanField, _encodeStringField, _escapeElementString, _findMatchingParen, _findSeparator, _unescapeElementString, disableAll, enableAll, getElements, getOwner, getValue, getValues, isApplicable, isEnabled, setEnabled, setValue, setValues, toString, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Criterion(GTIngredientList owner, int elementCount)
owner
- The list as the owner of the constructed GTIngredientList.elementCount
- The number of elements that the GTIngredient has.Method Detail |
---|
public boolean canCheck(NamedObj object)
object
- The object.
public abstract boolean match(NamedObj object)
object
- The object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |