|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.kernel.util.Attribute
ptolemy.actor.gui.TableauFactory
ptolemy.actor.gui.RunTableau.Factory
ptolemy.actor.gui.RunTableau.TopFactory
public static class RunTableau.TopFactory
A factory that creates run control panel tableaux for the model associated with a top-level effigy (one that has a file representation).
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 | |
---|---|
RunTableau.TopFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container. |
Method Summary | |
---|---|
Tableau |
createTableau(Effigy effigy)
Create a tableau to run the model associated with the specified effigy. |
Methods inherited from class ptolemy.actor.gui.TableauFactory |
---|
_configureTableau, configure, getConfigureSource, getConfigureText |
Methods inherited from class ptolemy.kernel.util.Attribute |
---|
_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RunTableau.TopFactory(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The container.name
- The name.
IllegalActionException
- If the container is incompatible
with this attribute.
NameDuplicationException
- If the name coincides with
an attribute already in the container.Method Detail |
---|
public Tableau createTableau(Effigy effigy) throws java.lang.Exception
Effigy.masterEffigy()
, is the one that is run.
If that effigy already contains a tableau named
"runTableau", then return that tableau; otherwise, create
a new instance of RunTableau for the top effigy, and
name it "runTableau". If the specified effigy is not an
instance of PtolemyEffigy, then do not create a tableau
and return null. It is the responsibility of callers of
this method to check the return value and call show().
createTableau
in class RunTableau.Factory
effigy
- The model effigy.
java.lang.Exception
- If the factory should be able to create a
tableau for the effigy, but something goes wrong.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |