public class TokenTableau extends Tableau
TokenEffigy
Modifier and Type | Class and Description |
---|---|
static class |
TokenTableau.Factory
A factory that creates a token tableau.
|
Tableau.WindowClosedAdapter
CompositeEntity.ContainedObjectsIterator
_debugClosing, size
_levelCrossingLinks
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
TokenTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
TokenTableau(Effigy container,
java.lang.String name,
TableauFrame frame)
Construct a new tableau for the model represented by the given effigy,
using the specified frame.
|
Modifier and Type | Method and Description |
---|---|
void |
append(java.util.List list)
Append the specified tokens to the display.
|
void |
append(Token token)
Append the specified token to the display.
|
static boolean |
canDisplay(Token token)
Return true if this tableau can display the specified token.
|
void |
clear()
Clear the display.
|
void |
createFrame(TableauFrame frame)
Create a text editor frame to view the data.
|
attributeChanged, clone, close, getFrame, getTitle, isEditable, isMaster, setContainer, setEditable, setFrame, setMaster, setTitle, show
_addEntity, _addRelation, _adjustDeferrals, _containedDecorators, _deepOpaqueEntityList, _description, _exportMoMLContents, _finishedAddEntity, _removeEntity, _removeRelation, _validateSettables, allAtomicEntityList, allowLevelCrossingConnect, classDefinitionList, connect, connect, containedObjectsIterator, deepCompositeEntityList, deepEntityList, deepGetEntities, deepNamedObjList, deepOpaqueEntityList, deepRelationSet, entityList, entityList, exportLinks, exportMoML, getAttribute, getEntities, getEntity, getPort, getRelation, getRelations, isAtomic, isOpaque, lazyAllAtomicEntityList, lazyAllCompositeEntityList, lazyAllCompositeTransparentAndOpaqueEntityList, lazyClassDefinitionList, lazyDeepEntityList, lazyEntityList, lazyRelationList, newRelation, numberOfEntities, numberOfRelations, numEntities, numRelations, relationList, removeAllEntities, removeAllRelations, setClassDefinition, statistics, uniqueName
_checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, newPort, propagateExistence, setName
_addPort, _removePort, connectedPortList, connectedPorts, connectionsChanged, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts
_setParent, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _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, workspace
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDerivedLevel, getDerivedList, propagateValue
description, getDisplayName, getFullName, getName, getName
public TokenTableau(Effigy container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The container.name
- The name.IllegalActionException
- If the container does not accept
this entity (this should not occur).NameDuplicationException
- If the name coincides with an
attribute already in the container.public TokenTableau(Effigy container, java.lang.String name, TableauFrame frame) throws IllegalActionException, NameDuplicationException
container
- The container.name
- The name.frame
- The frame to use.IllegalActionException
- If the container does not accept
this entity (this should not occur).NameDuplicationException
- If the name coincides with an
attribute already in the container.public void append(Token token) throws IllegalActionException
token
- The token to append.IllegalActionException
- If the token is not
acceptable (not thrown in this base class).public void append(java.util.List list) throws IllegalActionException
list
- A list of tokens.IllegalActionException
- If the tokens are not
acceptable (not thrown in this base class).public static boolean canDisplay(Token token)
token
- A candidate token to display.public void clear()
public void createFrame(TableauFrame frame) throws IllegalActionException
frame
- The frame to use, or null if none is specified.IllegalActionException
- If the frame cannot be created.