public class ExecutionTimeAttributes extends ExecutionAttributes
Red (eal) |
Yellow (eal) |
NamedObj.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
Parameter |
executionTime
The executionTime parameter specifies the execution time of the
decorated object.
|
enable
_decorator, decoratorName
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
ExecutionTimeAttributes(NamedObj target,
Decorator decorator)
Constructor to use when editing a model.
|
ExecutionTimeAttributes(NamedObj target,
java.lang.String name)
Constructor to use when parsing a MoML file.
|
Modifier and Type | Method and Description |
---|---|
void |
attributeChanged(Attribute attribute)
React to a change in an attribute.
|
boolean |
canSimulateExecutionFor(NamedObj target)
Return whether the target can have an execution time that can be
simulated.
|
enabled
clone, exportMoML, getDecorator
_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
public Parameter executionTime
public ExecutionTimeAttributes(NamedObj target, Decorator decorator) throws IllegalActionException, NameDuplicationException
target
- The object being decorated.decorator
- The decorator.IllegalActionException
- If the superclass throws it.NameDuplicationException
- If the superclass throws it.public ExecutionTimeAttributes(NamedObj target, java.lang.String name) throws IllegalActionException, NameDuplicationException
target
- The object being decorated.name
- The name of this attribute.IllegalActionException
- If the superclass throws it.NameDuplicationException
- If the superclass throws it.public void attributeChanged(Attribute attribute) throws IllegalActionException
attributeChanged
in class ExecutionAttributes
attribute
- The attribute that changed.IllegalActionException
- If the change is not acceptable
to this container (not thrown in this base class).public boolean canSimulateExecutionFor(NamedObj target)
target
- The object decorated with the attributes.