public class View extends GTEvent
referredTableau parameter is specified with the
name of a tableau, then the specified tableau will be used to view the model.| Red (tfeng) |
| Yellow (tfeng) |
Event.EventParameter, Event.RefiringDataEntity.ContainedObjectsIterator| Modifier and Type | Field and Description |
|---|---|
Parameter |
isPersistent
If the isPersistent parameter is false, then the user will not
be prompted to save the model upon closing.
|
StringParameter |
referredTableau
Name of the tableau referred to, or an empty string if the default
tableau is to be used.
|
Parameter |
reopenWindow
Whether the window should be closed and reopened on each update.
|
Parameter |
screenLocation
Location of the new window, or [-1, -1] if the default location is to be
used.
|
Parameter |
screenSize
Size of the new window, or [-1, -1] if the default size is to be used.
|
TableauParameter |
tableau
The default tableau.
|
Parameter |
title
Title of the window.
|
refinementExtenderactions, isEndingEvent, isFinalEvent, isInitialEvent, parametersincomingPort, isFinalState, isInitialState, outgoingPort, refinementName, saveRefinementsInConfigurer_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS| Constructor and Description |
|---|
View(CompositeEntity container,
java.lang.String name)
Construct an event with the given name contained by the specified
composite entity.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone(Workspace workspace)
Clone the event into the specified workspace.
|
Event.RefiringData |
fire(Token arguments)
Process this event and show the model in the model parameter in the
designated tableau.
|
void |
initialize()
Initialize this event.
|
getModelParameter, setContainer_getParserScope, _isActiveRefinement, addInitializable, attributeChanged, getController, isEndingEvent, isFinalEvent, isInitialEvent, preinitialize, refire, removeInitializable, scheduleEvents, stop, wrapup_exportMoMLContents, configure, dropObject, errorTransitionList, getConfigurer, getConfigureSource, getConfigureText, getIncomingPort, getObjectInRefinement, getOutgoingPort, getRefinement, nonErrorNonTerminationTransitionList, nonpreemptiveTransitionList, preemptiveTransitionList, terminationTransitionList_adjustDeferrals, _checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, isAtomic, isOpaque, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, newPort, propagateExistence, setName_addPort, _description, _removePort, _validateSettables, connectedPortList, connectedPorts, connectionsChanged, containedObjectsIterator, getAttribute, getPort, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts, setClassDefinition, uniqueName_setParent, exportMoML, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _executeChangeRequests, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, addHierarchyListener, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, validateSettables, workspaceequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDerivedLevel, getDerivedList, propagateValuedescription, getDisplayName, getFullName, getName, getNamepublic Parameter isPersistent
public StringParameter referredTableau
public Parameter reopenWindow
public Parameter screenLocation
public Parameter screenSize
public TableauParameter tableau
public Parameter title
public View(CompositeEntity container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container - The container.name - The name of the state.IllegalActionException - If the state cannot be contained
by the proposed container.NameDuplicationException - If the name coincides with
that of an entity already in the container.public java.lang.Object clone(Workspace workspace) throws java.lang.CloneNotSupportedException
clone in class Eventworkspace - The workspace for the new event.java.lang.CloneNotSupportedException - If a derived class contains
an attribute that cannot be cloned.NamedObj.exportMoML(Writer, int, String),
NamedObj.setDeferringChangeRequests(boolean)public Event.RefiringData fire(Token arguments) throws IllegalActionException
fire in class Eventarguments - The arguments used to process this event, which must be
either an ArrayToken or a RecordToken.IllegalActionException - If the tableau cannot be used, or if
thrown by the superclass.Event.refire(Token, RefiringData)public void initialize()
throws IllegalActionException
initialize in interface Initializableinitialize in class EventIllegalActionException - If thrown by the superclass.