|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.kernel.InstantiableNamedObj
ptolemy.kernel.Entity
ptolemy.kernel.ComponentEntity
ptolemy.kernel.CompositeEntity
ptolemy.actor.gui.Effigy
ptolemy.actor.gui.PlotEffigy
public class PlotEffigy
An effigy for a plot file.
| Red (neuendor) |
| Red (neuendor) |
| Nested Class Summary | |
|---|---|
static class |
PlotEffigy.Factory
A factory for creating new effigies. |
| Nested classes/interfaces inherited from class ptolemy.kernel.CompositeEntity |
|---|
CompositeEntity.ContainedObjectsIterator |
| Field Summary | |
|---|---|
private PlotBox |
_plot
|
| Fields inherited from class ptolemy.actor.gui.Effigy |
|---|
identifier, uri |
| Fields inherited from class ptolemy.kernel.CompositeEntity |
|---|
_levelCrossingLinks |
| 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 | |
|---|---|
PlotEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name. |
|
PlotEffigy(Workspace workspace)
Create a new effigy in the specified workspace with an empty string for its name. |
|
| Method Summary | |
|---|---|
PlotBox |
getPlot()
Return the plot that this is an effigy of. |
void |
setPlot(PlotBox plot)
Set the plot that this is an effigy of. |
void |
writeFile(java.io.File file)
Write the text of the plot to the specified file. |
| Methods inherited from class ptolemy.actor.gui.Effigy |
|---|
_checkContainer, _removeEntity, attributeChanged, closeTableaux, getTableauFactory, getWritableFile, isModifiable, isModified, isSystemEffigy, masterEffigy, numberOfOpenTableaux, setContainer, setModifiable, setModified, setSystemEffigy, setTableauFactory, showTableaux, topEffigy |
| Methods inherited from class ptolemy.kernel.ComponentEntity |
|---|
_addPort, _checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, newPort, propagateExistence, setName |
| Methods inherited from class ptolemy.kernel.Entity |
|---|
_removePort, connectedPortList, connectedPorts, connectionsChanged, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts |
| Methods inherited from class ptolemy.kernel.InstantiableNamedObj |
|---|
_setParent, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ptolemy.kernel.util.Derivable |
|---|
getDerivedLevel, getDerivedList, propagateValue |
| Methods inherited from interface ptolemy.kernel.util.Nameable |
|---|
description, getDisplayName, getFullName, getName, getName |
| Field Detail |
|---|
private PlotBox _plot
| Constructor Detail |
|---|
public PlotEffigy(Workspace workspace)
workspace - The workspace for this effigy.
public PlotEffigy(CompositeEntity container,
java.lang.String name)
throws IllegalActionException,
NameDuplicationException
container - The directory that contains this effigy.name - The name of this effigy.
IllegalActionException - If the entity cannot be contained
by the proposed container.
NameDuplicationException - If the name coincides with
an entity already in the container.| Method Detail |
|---|
public PlotBox getPlot()
setPlot(PlotBox)public void setPlot(PlotBox plot)
plot - The plot.getPlot()
public void writeFile(java.io.File file)
throws java.io.IOException
writeFile in class Effigyfile - The file to write to.
java.io.IOException - If the write fails.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||