|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.kernel.util.Attribute
ptolemy.data.expr.ScopeExtendingAttribute
ptolemy.actor.gt.ActorScopeExtender
public class ActorScopeExtender
A scope extender for CompositeActorMatcher that resolves entities inside.
| Red (tfeng) |
| Red (tfeng) |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj |
|---|
NamedObj.ContainedObjectsIterator |
| Field Summary |
|---|
| Fields inherited from class ptolemy.kernel.util.NamedObj |
|---|
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
| Constructor Summary | |
|---|---|
ActorScopeExtender(NamedObj container,
java.lang.String name)
Construct a scope extender. |
|
| Method Summary | |
|---|---|
java.util.List<?> |
attributeList()
Return a list of all entities contained in the container, wrapping each entity in a NamedObjVariable. |
Attribute |
getAttribute(java.lang.String name)
Return an entity in the container with the given name, wrapped in a NamedObjVariable. |
| Methods inherited from class ptolemy.data.expr.ScopeExtendingAttribute |
|---|
setContainer |
| Methods inherited from class ptolemy.kernel.util.Attribute |
|---|
_getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setName, updateContent |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ActorScopeExtender(NamedObj container,
java.lang.String name)
throws IllegalActionException,
NameDuplicationException
container - The CompositeActor or CompositeActorMatcher that
contains this scope extender.name - The name of the scope extender.
IllegalActionException - If the attribute is not of an
acceptable class for the container, or if the name contains a period.
NameDuplicationException - If the name coincides with
an attribute already in the container.| Method Detail |
|---|
public java.util.List<?> attributeList()
NamedObjVariable.
attributeList in interface ScopeExtenderattributeList in class NamedObjpublic Attribute getAttribute(java.lang.String name)
NamedObjVariable.
getAttribute in interface ScopeExtendergetAttribute in class NamedObjname - The name of the entity.
NamedObjVariable.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||