Serialized Form


Package com.jgoodies.forms.debug

Class com.jgoodies.forms.debug.FormDebugPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

paintInBackground

boolean paintInBackground
Specifies whether the grid shall be painted in the background. Is off by default and so the grid is painted in the foreground.


paintDiagonals

boolean paintDiagonals
Specifies whether the container's diagonals should be painted.


gridColor

java.awt.Color gridColor
Holds the color used to paint the debug grid.


Package com.jgoodies.forms.layout

Class com.jgoodies.forms.layout.CellConstraints extends java.lang.Object implements Serializable

Serialized Fields

gridX

int gridX
Describes the component's horizontal grid origin (starts at 1).


gridY

int gridY
Describes the component's vertical grid origin (starts at 1).


gridWidth

int gridWidth
Describes the component's horizontal grid extend (number of cells).


gridHeight

int gridHeight
Describes the component's vertical grid extent (number of cells).


hAlign

CellConstraints.Alignment hAlign
Describes the component's horizontal alignment.


vAlign

CellConstraints.Alignment vAlign
Describes the component's vertical alignment.


insets

java.awt.Insets insets
Describes the component's Insets in it's display area.

Class com.jgoodies.forms.layout.CellConstraints.Alignment extends java.lang.Object implements Serializable

Serialization Methods

readResolve

private java.lang.Object readResolve()
Serialized Fields

ordinal

int ordinal

Class com.jgoodies.forms.layout.ColumnSpec extends FormSpec implements Serializable

Class com.jgoodies.forms.layout.ConstantSize extends java.lang.Object implements Serializable

Serialized Fields

value

double value

unit

ConstantSize.Unit unit

Class com.jgoodies.forms.layout.ConstantSize.Unit extends java.lang.Object implements Serializable

Serialization Methods

readResolve

private java.lang.Object readResolve()
Serialized Fields

ordinal

int ordinal

Class com.jgoodies.forms.layout.FormLayout extends java.lang.Object implements Serializable

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
In addition to the default serialization mechanism this class invalidates the component size cache. The cache will be populated again after the deserialization. Also, the fields colComponents and rowComponents have been marked as transient to exclude them from the serialization.

Throws:
java.io.IOException
Serialized Fields

colSpecs

java.util.List<E> colSpecs
Holds the column specifications.

See Also:
ColumnSpec, FormLayout.getColumnCount(), FormLayout.getColumnSpec(int), FormLayout.appendColumn(ColumnSpec), FormLayout.insertColumn(int, ColumnSpec), FormLayout.removeColumn(int)

rowSpecs

java.util.List<E> rowSpecs
Holds the row specifications.

See Also:
RowSpec, FormLayout.getRowCount(), FormLayout.getRowSpec(int), FormLayout.appendRow(RowSpec), FormLayout.insertRow(int, RowSpec), FormLayout.removeRow(int)

colGroupIndices

int[][] colGroupIndices
Holds the column groups as an array of arrays of column indices.

See Also:
FormLayout.getColumnGroups(), FormLayout.setColumnGroups(int[][]), FormLayout.addGroupedColumn(int)

rowGroupIndices

int[][] rowGroupIndices
Holds the row groups as an array of arrays of row indices.

See Also:
FormLayout.getRowGroups(), FormLayout.setRowGroups(int[][]), FormLayout.addGroupedRow(int)

constraintMap

java.util.Map<K,V> constraintMap
Maps components to their associated CellConstraints.

See Also:
CellConstraints, FormLayout.getConstraints(Component), FormLayout.setConstraints(Component, CellConstraints)

componentSizeCache

FormLayout.ComponentSizeCache componentSizeCache
Caches component minimum and preferred sizes. All requests for component sizes shall be directed to the cache.


minimumWidthMeasure

FormLayout.Measure minimumWidthMeasure
These functional objects are used to measure component sizes. They abstract from horizontal and vertical orientation and so, allow to implement the layout algorithm for both orientations with a single set of methods.


minimumHeightMeasure

FormLayout.Measure minimumHeightMeasure

preferredWidthMeasure

FormLayout.Measure preferredWidthMeasure

preferredHeightMeasure

FormLayout.Measure preferredHeightMeasure

Class com.jgoodies.forms.layout.FormSpec extends java.lang.Object implements Serializable

Serialized Fields

defaultAlignment

FormSpec.DefaultAlignment defaultAlignment
Holds the default alignment that will be used if a cell does not override this default.


size

Size size
Holds the size that describes how to size this column or row.


resizeWeight

double resizeWeight
Holds the resize weight; is 0 if not used.

Class com.jgoodies.forms.layout.FormSpec.DefaultAlignment extends java.lang.Object implements Serializable

Serialization Methods

readResolve

private java.lang.Object readResolve()
Serialized Fields

ordinal

int ordinal

Class com.jgoodies.forms.layout.RowSpec extends FormSpec implements Serializable


Package com.microstar.xml

Class com.microstar.xml.XmlException extends java.lang.Exception implements Serializable

Serialized Fields

_message

java.lang.String _message

_cause

java.lang.Throwable _cause

_systemId

java.lang.String _systemId

_line

int _line

_column

int _column

Package diva.canvas

Class diva.canvas.JCanvas extends javax.swing.JComponent implements Serializable

Serialized Fields

_offscreen

java.awt.image.BufferedImage _offscreen
The off-screen image.

 

_canvasPane

CanvasPane _canvasPane
The contained canvas pane.

 

_horizontalRangeModel

javax.swing.DefaultBoundedRangeModel _horizontalRangeModel
range model to control the horizontal movement of the model


_verticalRangeModel

javax.swing.DefaultBoundedRangeModel _verticalRangeModel
range model to control the vertical movement of the model


Package diva.canvas.connector

Class diva.canvas.connector.ConnectorEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
The event ID.

 
See Also:
ConnectorEvent.getID()

_end

int _end
The end this event concerns.

 
See Also:
ConnectorEvent.getEnd()

_target

Figure _target
The target figure

 
See Also:
ConnectorEvent.getTarget()

_connector

Connector _connector
The connector that is being operated on.

 
See Also:
ConnectorEvent.getConnector()

Package diva.canvas.event

Class diva.canvas.event.LayerEvent extends java.awt.event.MouseEvent implements Serializable

Serialized Fields

_layerSource

CanvasLayer _layerSource
The layer source

 

_figureSource

Figure _figureSource
The figure source

 

_layerX

double _layerX
The x coordinate.

 

_layerY

double _layerY
The y coordinate.

 

_backingEvent

java.awt.event.MouseEvent _backingEvent
The event that this event was constructed from.

 

Package diva.canvas.interactor

Class diva.canvas.interactor.SelectionEvent extends java.util.EventObject implements Serializable

Serialized Fields

_added

java.lang.Object[] _added
The objects added to the selection.

 

_removed

java.lang.Object[] _removed
The objects removed from the selection.

 

_primary

java.lang.Object _primary
The primary selected object.

 

Package diva.graph

Class diva.graph.GraphEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
 
See Also:
GraphEvent.getID()

_target

java.lang.Object _target
The value of the event.

 

_oldValue

java.lang.Object _oldValue
 
See Also:
GraphEvent.getOldValue()

Class diva.graph.GraphException extends java.lang.RuntimeException implements Serializable

Class diva.graph.GraphViewEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
 
See Also:
GraphViewEvent.getID()

_target

java.lang.Object _target
The value of the event.

 

_oldValue

java.lang.Object _oldValue
 
See Also:
GraphViewEvent.getOldValue()

Class diva.graph.JGraph extends JCanvas implements Serializable


Package diva.graph.basic

Class diva.graph.basic.BasicGraphDemoApplet extends AppletContext implements Serializable

Class diva.graph.basic.BubbleGraphDemoApplet extends AppletContext implements Serializable


Package diva.graph.tutorial

Class diva.graph.tutorial.EditorTutorial.LayoutWidget extends javax.swing.JPanel implements Serializable

Serialized Fields

_graph

java.lang.Object _graph
The graph that will be layed out.


_nameMap

java.util.HashMap<K,V> _nameMap
Mapping from layout name to layout object.


_configMap

java.util.HashMap<K,V> _configMap
Mapping from layout object to configuration widget.


_layoutList

javax.swing.JComboBox _layoutList
List that user selects from to choose the layout.


_applyBtn

javax.swing.JButton _applyBtn
Button to apply the layout.


Package diva.gui

Class diva.gui.AppletContext extends javax.swing.JApplet implements Serializable

Class diva.gui.ApplicationContext extends javax.swing.JFrame implements Serializable

Class diva.gui.BasicFrame extends ApplicationContext implements Serializable

Class diva.gui.ViewEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
The event type.

 

Package diva.gui.toolbox

Class diva.gui.toolbox.FigureIcon extends javax.swing.ImageIcon implements Serializable

Class diva.gui.toolbox.JCanvasPalette extends JCanvas implements Serializable

Class diva.gui.toolbox.JCanvasPanner extends javax.swing.JPanel implements Serializable

Serialized Fields

_target

JCanvas _target
The target window that is being wrapped.

Class diva.gui.toolbox.JContextMenu extends javax.swing.JPopupMenu implements Serializable

Serialized Fields

_target

java.lang.Object _target

Class diva.gui.toolbox.JPalette extends javax.swing.JPanel implements Serializable

Class diva.gui.toolbox.JPanner extends javax.swing.JPanel implements Serializable

Serialized Fields

_target

javax.swing.JViewport _target
The target window that is being wrapped.


_listener

JPanner.ScrollListener _listener
The scrolling listener;


_scaleMouseListener

JPanner.ScaleMouseListener _scaleMouseListener
The mouse listener on the panner that is responsible for scaling.

Class diva.gui.toolbox.JPseudoFrame extends javax.swing.JComponent implements Serializable

Class diva.gui.toolbox.JShadePane extends javax.swing.JPanel implements Serializable

Serialized Fields

_selectedIndex

int _selectedIndex
The selected index.


_shades

java.util.ArrayList<E> _shades
The shades in this pane.

Class diva.gui.toolbox.JStatusBar extends javax.swing.JPanel implements Serializable

Serialized Fields

_progress

javax.swing.JProgressBar _progress
The progress bar associated with this status bar


_message

javax.swing.JLabel _message
The label that displays the status message.


_messageBorder

javax.swing.border.Border _messageBorder
The border around the message

Class diva.gui.toolbox.JTreePane extends javax.swing.JSplitPane implements Serializable

Serialized Fields

_selectedTitle

java.lang.String _selectedTitle
The selected title.


_defaultPanel

javax.swing.JPanel _defaultPanel
The panel that is used when the component gets set to null.


_tree

javax.swing.JTree _tree
The Tree.


_scrollPane

javax.swing.JScrollPane _scrollPane
The ScrollPane around the tree.


_scrollPaneSize

java.awt.Dimension _scrollPaneSize
The preferred size of the scrollpane. This is required because the splitpane doesn't remember it's size if we change the component that is in it, unless we give it a preferred size.

Class diva.gui.toolbox.ListDataModel extends javax.swing.DefaultComboBoxModel implements Serializable


Package diva.gui.tutorial

Class diva.gui.tutorial.AppletTutorial extends AppletContext implements Serializable


Package diva.util.jester

Class diva.util.jester.TestFailedException extends java.lang.Exception implements Serializable

Serialized Fields

first

java.lang.Object first
One of the objects involved in the failed test.

 

second

java.lang.Object second
Another of the objects involved in the failed test.

 

Package jni

Class jni.Argument extends AbstractSettableAttribute implements Serializable

Serialized Fields

_isInput

boolean _isInput
Deprecated. 
A boolean that specified if the argument is an Input


_isOutput

boolean _isOutput
Deprecated. 
A boolean that specified if the argument is an Output


_isReturn

boolean _isReturn
Deprecated. 
A boolean that specified if the argument is a return.


_cType

java.lang.String _cType
Deprecated. 
A String that specified the argument type, in C language.


_value

java.lang.String _value
Deprecated. 
A String that is the argument value, ie its expression


_container

GenericJNIActor _container
Deprecated. 
The entity that contains this entity.

Class jni.GenericJNIActor extends TypedAtomicActor implements Serializable

Serialized Fields

libraryDirectory

Parameter libraryDirectory
Deprecated. 
The directory that contains the native library, which under Windows should include a dll, an h file and a lib file. The default value of thie parameter is the string "jni" + File.separator + "lib"


nativeFunction

Parameter nativeFunction
Deprecated. 
The name of the native library. The default value of this parameter is the String "nativeFunction"


nativeLibrary

Parameter nativeLibrary
Deprecated. 
The name of the native library. The default value of this parameter is the String "nativeLibrary"


_argumentsList

NamedList _argumentsList
Deprecated. 

_class

java.lang.Class<T> _class
Deprecated. 

_methodIndex

int _methodIndex
Deprecated. 

_methods

java.lang.reflect.Method[] _methods
Deprecated. 

Package jni.gui

Class jni.gui.ArgumentConfigurer extends Query implements Serializable

Serialized Fields

_changed

java.util.Set<E> _changed
Deprecated. 

_object

GenericJNIActor _object
Deprecated. 

_optionsArray

java.lang.String[] _optionsArray
Deprecated. 

Class jni.gui.ArgumentConfigurerDialog extends ComponentDialog implements Serializable

Serialized Fields

_configuration

Configuration _configuration
Deprecated. 
The configuration.


_owner

java.awt.Frame _owner
Deprecated. 
The owner window.


_query

Query _query
Deprecated. 
The query window for adding arguments.


_target

GenericJNIActor _target
Deprecated. 
The target object whose arguments are being configured.


_optionsArray

java.lang.String[] _optionsArray
Deprecated. 
Possible configurations.

Class jni.gui.JNIActorEditorFactory extends EditorFactory implements Serializable

Class jni.gui.JNICodeGenerator extends Attribute implements Serializable

Class jni.gui.JNICodeGeneratorGUI extends PtolemyFrame implements Serializable

Class jni.gui.JNICodeGeneratorGUIFactory extends EditorFactory implements Serializable


Package lbnl.actor.lib

Class lbnl.actor.lib.Simulator extends SDFTransformer implements Serializable

Serialized Fields

programArguments

Parameter programArguments
Arguments of program that starts the simulation.


programName

FileParameter programName
Name of program that starts the simulation.


socketPortNumber

Parameter socketPortNumber
Port number for BSD socket (used if non-negative).


simulationLogFile

FileParameter simulationLogFile
File name to which this actor writes the simulation log.


socketConfigurationFile

FileParameter socketConfigurationFile
File name to which this actor writes the socket configuration.


socketTimeout

Parameter socketTimeout
Socket time out in milliseconds.


workingDirectory

FileParameter workingDirectory
Working directory of the simulation.


showConsoleWindow

Parameter showConsoleWindow
If true (the default), a window will be created that shows the console output.


dblWri

double[] dblWri
Double values that were written to the socket.


cliPro

ClientProcess cliPro
Thread that runs the simulation.


porNo

int porNo
Port number that is actually used for BSD socket.


server

Server server
Server used for data exchange.


simProJav

java.lang.Process simProJav
Process that runs the simulation.


worDir

java.lang.String worDir
Working directory of the subprocess.


outTok

DoubleMatrixToken outTok
Output tokens.


simTimPre

double simTimPre
Ptolemy's time at the last call of the fire method


simTimReaPre

double simTimReaPre
Time read from the simulation program at the last call of the fire method


clientTerminated

boolean clientTerminated
Flag, set to true when the clients terminates the communication


warWin

java.lang.Thread warWin
Thread that is used if a warning window need to be shown


terminationMessage

java.lang.String terminationMessage
Message that will be displayed in the warning window when the client terminated, but Ptolemy continues with the simulation


isHeadless

boolean isHeadless
Flag, set the true if Ptolemy is run without any graphical interface If isHeadless=true, this actor will not open any windows for reporting outputs or warnings.


firstFire

boolean firstFire
Flag that is true during the first firing of this actor


tokTim

double tokTim
Time of token that will be written to the client. This is equal to the Ptolemy time minus one time step, because at time t_k, a client gets the output of other clients at t_{k-1}, which allows the client to compute the states and outputs at t_k

Class lbnl.actor.lib.SystemCommand extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The port that outputs the standard output stream of the program.


error

TypedIOPort error
The port that outputs the standard error stream of the program.


exitValue

TypedIOPort exitValue
The port that outputs the exit value of the program.


programName

FileParameter programName
Name of program that starts the simulation.


simulationLogFile

FileParameter simulationLogFile
File name to which this actor writes the simulation log.


workingDirectory

FileParameter workingDirectory
Working directory of the simulation.


showConsoleWindow

Parameter showConsoleWindow
If true (the default), a window will be created that shows the console output.


programArguments

Parameter programArguments
Arguments of program that starts the simulation.


cliPro

ClientProcess cliPro
Thread that runs the simulation.


commandList

java.util.ArrayList<E> commandList
List with the command and the arguments. This list is stored as it may contain references to input ports that will be substituted prior to the simulation


worDir

java.lang.String worDir
Working directory of the subprocess.


isHeadless

boolean isHeadless
Flag, set the true if Ptolemy is run without any graphical interface If isHeadless=true, this actor will not open any windows for reporting outputs or warnings.


_iterationCount

int _iterationCount

_tokenMap

java.util.HashMap<K,V> _tokenMap

Package org.mlc.swing.example

Class org.mlc.swing.example.CustomerPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

suffixCombo

javax.swing.JComboBox suffixCombo

lastNameLabel

javax.swing.JLabel lastNameLabel

firstNameText

javax.swing.JTextField firstNameText

lastNameText

javax.swing.JTextField lastNameText

faxText

javax.swing.JTextField faxText

contactSeparator

java.awt.Component contactSeparator

surnameLabel

javax.swing.JLabel surnameLabel

okButton

javax.swing.JButton okButton

cancelButton

javax.swing.JButton cancelButton

buttonBar

java.awt.Component buttonBar

workPhoneLabel

javax.swing.JLabel workPhoneLabel

workPhoneText

javax.swing.JTextField workPhoneText

emailText

javax.swing.JTextField emailText

homePhoneText

javax.swing.JTextField homePhoneText

faxLabel

javax.swing.JLabel faxLabel

ordersSeparator

java.awt.Component ordersSeparator

surnameCombo

javax.swing.JComboBox surnameCombo

nameSeparator

java.awt.Component nameSeparator

suffixLabel

javax.swing.JLabel suffixLabel

emailLabel

javax.swing.JLabel emailLabel

homePhoneLabel

javax.swing.JLabel homePhoneLabel

firstNameLabel

javax.swing.JLabel firstNameLabel

orderTableControl

javax.swing.JTable orderTableControl

orderTable

javax.swing.JScrollPane orderTable

Class org.mlc.swing.example.ExamplePanel extends javax.swing.JPanel implements Serializable

Serialized Fields

nameLabel

javax.swing.JLabel nameLabel

nameText

javax.swing.JTextField nameText

tabbedPane

javax.swing.JTabbedPane tabbedPane

firstTab

javax.swing.JPanel firstTab

secondTab

javax.swing.JPanel secondTab

thirdTab

javax.swing.JPanel thirdTab

Package org.mlc.swing.layout

Class org.mlc.swing.layout.DndList extends javax.swing.JList implements Serializable

serialVersionUID: 1L

Serialized Fields

editor

FormEditor editor

fDragSource

java.awt.dnd.DragSource fDragSource

Class org.mlc.swing.layout.FormDebugPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

paintInBackground

boolean paintInBackground
Specifies whether the grid shall be painted in the background. Is off by default and so the grid is painted in the foreground.


paintDiagonals

boolean paintDiagonals
Specifies whether the container's diagonals should be painted.


gridColor

java.awt.Color gridColor
Holds the color used to paint the debug grid.


deactivated

boolean deactivated

Class org.mlc.swing.layout.FormEditor extends javax.swing.JPanel implements Serializable

Serialized Fields

verticalAlignmentList

java.lang.String[] verticalAlignmentList

horizontalAlignmentList

java.lang.String[] horizontalAlignmentList

colSpinnerModel

FormEditor.ColSpanSpinnerModel colSpinnerModel

rowSpinnerModel

FormEditor.RowSpanSpinnerModel rowSpinnerModel

newComponentAction

javax.swing.Action newComponentAction

removeComponentAction

javax.swing.Action removeComponentAction

insertRowBeforeAction

javax.swing.Action insertRowBeforeAction

insertRowAfterAction

javax.swing.Action insertRowAfterAction

deleteRowAction

javax.swing.Action deleteRowAction

insertColumnBeforeAction

javax.swing.Action insertColumnBeforeAction

insertColumnAfterAction

javax.swing.Action insertColumnAfterAction

deleteColumnAction

javax.swing.Action deleteColumnAction

verticalAlignmentCombo

javax.swing.JComboBox verticalAlignmentCombo

horizontalAlignmentCombo

javax.swing.JComboBox horizontalAlignmentCombo

rowSpanSpinner

javax.swing.JSpinner rowSpanSpinner

columnSpanSpinner

javax.swing.JSpinner columnSpanSpinner

columnSpanLabel

javax.swing.JLabel columnSpanLabel

horizontalAlignmentLabel

javax.swing.JLabel horizontalAlignmentLabel

rowSpanLabel

javax.swing.JLabel rowSpanLabel

verticalAlignmentLabel

javax.swing.JLabel verticalAlignmentLabel

contentPanel

javax.swing.JPanel contentPanel

insetsPanel

javax.swing.JPanel insetsPanel

rightInsetSpinnerModel

javax.swing.SpinnerNumberModel rightInsetSpinnerModel

topInsetSpinnerModel

javax.swing.SpinnerNumberModel topInsetSpinnerModel

bottomInsetSpinnerModel

javax.swing.SpinnerNumberModel bottomInsetSpinnerModel

leftInsetSpinnerModel

javax.swing.SpinnerNumberModel leftInsetSpinnerModel

rightInsetSpinner

javax.swing.JSpinner rightInsetSpinner

bottomInsetSpinner

javax.swing.JSpinner bottomInsetSpinner

leftInsetSpinner

javax.swing.JSpinner leftInsetSpinner

topInsetSpinner

javax.swing.JSpinner topInsetSpinner

tableModel

FormEditor.GridTableModel tableModel

insetsLabel

javax.swing.JLabel insetsLabel

componentsLabel

javax.swing.JLabel componentsLabel

componentPaletteLabel

javax.swing.JLabel componentPaletteLabel

componentPaletteListModel

FormEditor.ComponentPaletteListModel componentPaletteListModel

componentPalette

DndList componentPalette

componentPaletteScrollPane

javax.swing.JScrollPane componentPaletteScrollPane

componentSelectionListModel

FormEditor.ComponentSelectionListModel componentSelectionListModel

componentList

DndList componentList

componentListScrollPane

javax.swing.JScrollPane componentListScrollPane

componentListCellRenderer

FormEditor.ComponentListCellRenderer componentListCellRenderer

constraintsSeparator

java.awt.Component constraintsSeparator

positionsSeparator

java.awt.Component positionsSeparator

componentsPanel

javax.swing.JPanel componentsPanel

propertiesPanel

javax.swing.JPanel propertiesPanel

componentsSplitPane

javax.swing.JSplitPane componentsSplitPane

colSpecField

javax.swing.JTextField colSpecField

rowSpecField

javax.swing.JTextField rowSpecField

newComponents

java.util.Set<E> newComponents

layoutConstraintsManager

LayoutConstraintsManager layoutConstraintsManager

toolbar

javax.swing.JToolBar toolbar

newComponentButton

javax.swing.JButton newComponentButton

removeComponentButton

javax.swing.JButton removeComponentButton

columnDeleteButton

javax.swing.JButton columnDeleteButton

columnInsertAfterButton

javax.swing.JButton columnInsertAfterButton

columnInsertBeforeButton

javax.swing.JButton columnInsertBeforeButton

rowDeleteButton

javax.swing.JButton rowDeleteButton

rowInsertBeforeButton

javax.swing.JButton rowInsertBeforeButton

rowInsertAfterButton

javax.swing.JButton rowInsertAfterButton

container

java.awt.Container container

containerLayout

ContainerLayout containerLayout

layoutFrame

MultiContainerFrame layoutFrame

table

DnDTable table

tableScrollPane

javax.swing.JScrollPane tableScrollPane

constraintsSplitPane

javax.swing.JSplitPane constraintsSplitPane

topComponent

java.awt.Component topComponent

suspendConstraintControlUpdates

boolean suspendConstraintControlUpdates

formComponent

java.awt.Component formComponent

Class org.mlc.swing.layout.LayoutFrame extends javax.swing.JFrame implements Serializable

Serialized Fields

constraintsManager

LayoutConstraintsManager constraintsManager

menuBar

javax.swing.JMenuBar menuBar

actionMenu

javax.swing.JMenu actionMenu

saveXML

javax.swing.JMenuItem saveXML

viewCode

javax.swing.JMenuItem viewCode

exit

javax.swing.JMenuItem exit

viewMenu

javax.swing.JMenu viewMenu

viewDebugMenu

javax.swing.JCheckBoxMenuItem viewDebugMenu

fileChooser

javax.swing.JFileChooser fileChooser

editors

java.util.Map<K,V> editors

tabs

javax.swing.JTabbedPane tabs

layoutToTab

java.util.Map<K,V> layoutToTab

newLayouts

java.util.List<E> newLayouts

dframe

javax.swing.JFrame dframe

Class org.mlc.swing.layout.NewComponentDialog extends javax.swing.JPanel implements Serializable

Serialized Fields

componentNameLabel

javax.swing.JLabel componentNameLabel

componentNameTextField

javax.swing.JTextField componentNameTextField

importsLabel

javax.swing.JLabel importsLabel

importsComponent

javax.swing.JTextArea importsComponent

declarationsLabel

javax.swing.JLabel declarationsLabel

declarationsComponent

javax.swing.JTextArea declarationsComponent

configureLabel

javax.swing.JLabel configureLabel

configureComponent

javax.swing.JTextArea configureComponent

addToContainerLabel

javax.swing.JLabel addToContainerLabel

addToContainerComponent

javax.swing.JTextArea addToContainerComponent

removeFromContainerLabel

javax.swing.JLabel removeFromContainerLabel

removeFromContainerComponent

javax.swing.JTextArea removeFromContainerComponent

previewLabel

javax.swing.JLabel previewLabel

previewComponent

javax.swing.JScrollPane previewComponent

prevButton

javax.swing.JButton prevButton

okButton

javax.swing.JButton okButton

cancelButton

javax.swing.JButton cancelButton

buttonBar

java.awt.Component buttonBar

componentDef

ComponentDef componentDef

preview

java.lang.String preview

myOwner

java.awt.Window myOwner

success

boolean success

Package ptolemy.actor

Class ptolemy.actor.AtomicActor extends ComponentEntity implements Serializable

Serialized Fields

_actorFiringListeners

java.util.LinkedList<E> _actorFiringListeners
The list of ActorFiringListeners registered with this object. NOTE: Because of the way we synchronize on this object, it should never be reset to null after the first list is created.


_notifyingActorFiring

boolean _notifyingActorFiring
Flag that is true if there are actor firing listeners.


_stopRequested

boolean _stopRequested
Indicator that a stop has been requested by a call to stop().


_causalityInterface

CausalityInterface _causalityInterface
The causality interface, if it has been created.


_causalityInterfaceDirector

Director _causalityInterfaceDirector
The director for which the causality interface was created.


_receiversVersion

long _receiversVersion
Record of the workspace version the last time receivers were created.

Class ptolemy.actor.CausalityMarker extends Attribute implements Serializable

Serialized Fields

causalityMarker

java.util.List<E> causalityMarker
The list of sets of ports in the causality marker.

Class ptolemy.actor.CompositeActor extends CompositeEntity implements Serializable

Serialized Fields

_actorFiringListeners

java.util.LinkedList<E> _actorFiringListeners
The list of ActorFiringListeners registered with this object. NOTE: Because of the way we synchronize on this object, it should never be reset to null after the first list is created.


_causalityInterface

CausalityInterface _causalityInterface
The causality interface, if it has been created.


_notifyingActorFiring

boolean _notifyingActorFiring
Flag that is true if there are actor firing listeners.


_publishedPorts

java.util.Map<K,V> _publishedPorts
Keep track of all published ports accessable in this container.


_publisherRelations

java.util.Map<K,V> _publisherRelations
Keep track of all relations with published ports accessable in this container.


_stopRequested

boolean _stopRequested
Indicator that a stop has been requested by a call to stop().


_director

Director _director

_inConnectionsChanged

boolean _inConnectionsChanged

_manager

Manager _manager

_causalityInterfaceDirector

Director _causalityInterfaceDirector
The director for which the causality interface was created.


_receiversVersion

long _receiversVersion
Record of the workspace version the last time receivers were created.


_relationWidthInference

RelationWidthInference _relationWidthInference

Class ptolemy.actor.Director extends Attribute implements Serializable

Serialized Fields

timeResolution

SharedParameter timeResolution
The time precision used by this director. All time values are rounded to the nearest multiple of this number. This is a double that defaults to "1E-10" which is 10-10. This is a shared parameter, meaning that changing one instance in a model results in all instances being changed.


_actorsFinishedExecution

java.util.Set<E> _actorsFinishedExecution
Set of actors that have returned false from postfire(), indicating that they do not wish to be iterated again.


_currentTime

Time _currentTime
The current time of the model.


_finishRequested

boolean _finishRequested
Indicator that finish() has been called.


_stopRequested

boolean _stopRequested
Indicator that a stop has been requested by a call to stop().


_timeResolution

double _timeResolution
Time resolution cache, with a reasonable default value.

Class ptolemy.actor.InvariantViolationException extends IllegalActionException implements Serializable

Class ptolemy.actor.IOPort extends ComponentPort implements Serializable

Serialized Fields

_hasPortEventListeners

boolean _hasPortEventListeners
Flag that is true if there are port event listeners.


_portEventListeners

java.util.LinkedList<E> _portEventListeners
The list of IOPortEventLsteners registered with this object. NOTE: Because of the way we synchronize on this object, it should never be reset to null after the first list is created.


_defaultWidth

int _defaultWidth
The default width. In case there is no unique solution for a relation connected to this port the default width will be used.


_isInput

boolean _isInput
Indicate whether the port is an input, an output, or both. The value may be overridden in transparent ports, in that if a transparent port is inside linked to an input or output port, then it will be considered an inside or output port respectively. This determination is cached, so we need variables to track the validity of the cache. 'transient' means that the variable will not be serialized.


_isOutput

boolean _isOutput

_isInputOutputStatusSet

boolean _isInputOutputStatusSet

_isMultiport

boolean _isMultiport

_widthEqualToParameter

java.util.Set<E> _widthEqualToParameter

_widthEqualToPort

java.util.Set<E> _widthEqualToPort

_localReceiversTable

java.util.HashMap<K,V> _localReceiversTable

Class ptolemy.actor.IORelation extends ComponentRelation implements Serializable

Serialized Fields

width

Parameter width
The width of this relation. This is an integer that defaults to WIDTH_TO_INFER, which means that the width will be inferred.


_auto

Parameter _auto
A parameter to be able to set the width to Auto to automatically infer widths. This is an integer that equals WIDTH_TO_INFER.


_suppressWidthPropagation

boolean _suppressWidthPropagation

_cachedWidth

int _cachedWidth

Class ptolemy.actor.LazyTypedCompositeActor extends TypedCompositeActor implements Serializable

Serialized Fields

_configureDone

boolean _configureDone
Indicate whether data given by configure() has been processed.


_populating

boolean _populating
Indicator that we are in the midst of populating.


_base

java.net.URL _base
The base specified by the configure() method.


_cloning

boolean _cloning
Indicate that we are cloning.


_configureSource

java.lang.String _configureSource
URL specified to the configure() method.


_configureText

java.lang.String _configureText
Text specified to the configure() method.

Class ptolemy.actor.Manager extends NamedObj implements Serializable

Serialized Fields

_actorsToInitialize

java.util.List<E> _actorsToInitialize

_container

CompositeActor _container

_executionListeners

java.util.List<E> _executionListeners

_exitAfterWrapup

boolean _exitAfterWrapup

_finishRequested

boolean _finishRequested

_iterationCount

int _iterationCount

_nameToAnalysis

java.util.HashMap<K,V> _nameToAnalysis

_pauseRequested

boolean _pauseRequested

_preinitializeVersion

long _preinitializeVersion

_printTimeAndMemory

boolean _printTimeAndMemory

_resumeNotifyWaiting

boolean _resumeNotifyWaiting

_state

Manager.State _state

_thread

PtolemyThread _thread

_typesResolved

boolean _typesResolved

Class ptolemy.actor.NoRoomException extends KernelRuntimeException implements Serializable

Class ptolemy.actor.NoTokenException extends KernelRuntimeException implements Serializable

Class ptolemy.actor.TypeAttribute extends Parameter implements Serializable

Class ptolemy.actor.TypeConflictException extends KernelException implements Serializable

Serialized Fields

_inequalities

java.util.List<E> _inequalities

Class ptolemy.actor.TypedAtomicActor extends AtomicActor implements Serializable

Class ptolemy.actor.TypedCompositeActor extends CompositeActor implements Serializable

Class ptolemy.actor.TypedIOPort extends IOPort implements Serializable

Serialized Fields

_declaredType

Type _declaredType

_resolvedType

Type _resolvedType

_typeTerm

TypedIOPort.TypeTerm _typeTerm

_typeListeners

java.util.List<E> _typeListeners

_constraints

java.util.Set<E> _constraints

Class ptolemy.actor.TypedIORelation extends IORelation implements Serializable

Class ptolemy.actor.TypeOpaqueCompositeActor extends CompositeActor implements Serializable


Package ptolemy.actor.gt

Class ptolemy.actor.gt.AtomicActorMatcher extends TypedAtomicActor implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.AttributeMatcher extends Attribute implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.CompositeActorMatcher extends TypedCompositeActor implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.

Class ptolemy.actor.gt.Constraint extends GTParameter implements Serializable

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.ContainerIgnoringAttribute extends Parameter implements Serializable

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.CreationAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.DefaultDirectoryAttribute extends StringParameter implements Serializable

Serialized Fields

directory

FileParameter directory
The default directory where model files are searched.


fileFilter

StringParameter fileFilter
The filter used to search the files, such as "*.xml".


subdirs

Parameter subdirs
A Boolean parameter to determine whether subdirectories of the directory are also searched.

Class ptolemy.actor.gt.DefaultModelAttribute extends FileParameter implements Serializable

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.FSMMatcher extends FSMActor implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.GraphAnalyzer.IndexedList extends Pair<java.util.List<?>,java.lang.Integer> implements Serializable

Class ptolemy.actor.gt.GraphTransformationException extends KernelException implements Serializable

Class ptolemy.actor.gt.GraphTransformer.ReplacementObjectAttribute extends StringAttribute implements Serializable

Class ptolemy.actor.gt.GTIngredientList extends java.util.LinkedList<GTIngredient> implements Serializable

Serialized Fields

_owner

GTIngredientsAttribute _owner
The attribute that contain this list of ingredients.

Class ptolemy.actor.gt.GTIngredientsAttribute extends StringAttribute implements Serializable

Serialized Fields

_ingredientList

GTIngredientList _ingredientList
The ingredient list obtained from the last expression parsing.


_parsed

boolean _parsed
Indicate whether the current expression has been parsed.

Class ptolemy.actor.gt.GTParameter extends Parameter implements Serializable

Class ptolemy.actor.gt.HierarchyFlatteningAttribute extends Parameter implements Serializable

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.IgnoringAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.IterativeParameter extends Parameter implements Serializable

Serialized Fields

constraint

Parameter constraint
The constraint that all values must satisfy.


initial

Parameter initial
The initial value.


mode

ChoiceParameter mode
The mode of this parameter.

See Also:
IterativeParameter.Mode

next

Parameter next
The next value (computed based on the current value).


_foundMatch

boolean _foundMatch
Whether a match has been found.

Class ptolemy.actor.gt.IterativeParameter.ConstraintViolationException extends IllegalActionException implements Serializable

Class ptolemy.actor.gt.MalformedStringException extends KernelException implements Serializable

Class ptolemy.actor.gt.MatchingAttribute extends Attribute implements Serializable

Class ptolemy.actor.gt.ModalModelMatcher extends CompositeActorMatcher implements Serializable

Class ptolemy.actor.gt.ModelCombine extends Transformer implements Serializable

Class ptolemy.actor.gt.ModelExecutor extends TypedAtomicActor implements Serializable

Serialized Fields

actorInput

TypedIOPort actorInput
The actorInput port.


_wrapperEffigy

PtolemyEffigy _wrapperEffigy
The effigy to execute models at run time.

Class ptolemy.actor.gt.ModelGenerator extends Source implements Serializable

Serialized Fields

modelName

PortParameter modelName
The port parameter for the model name.


moml

TypedIOPort moml
The port to receive moml strings of the models.


_emptyModel

Entity _emptyModel
The empty model.


_parser

MoMLParser _parser
The parser used to parse the moml strings.

Class ptolemy.actor.gt.ModelView extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port to receive models to be viewed.


output

TypedIOPort output
The output port to send the input models unchanged.


reopenWindow

Parameter reopenWindow
Whether the window should be reopened each time a new model is received in a token.


screenLocation

Parameter screenLocation
Location of the window, or [-1, -1] if the location is to be determined automatically.


screenSize

Parameter screenSize
Size of the window, or [-1, -1] if the size is to be determined automatically.


title

PortParameter title
Title of the window, or empty if the title is to be determined automatically.


_tableaus

Tableau[] _tableaus
The opened tableaus.

Class ptolemy.actor.gt.MoMLGenerator extends Transformer implements Serializable

Class ptolemy.actor.gt.NamedObjVariable extends Variable implements Serializable

Serialized Fields

_setTokenWithContainer

boolean _setTokenWithContainer
Whether the token should be set as the container. This should be false only before the local constructor is invoked. After that, this variable should always be true.

Class ptolemy.actor.gt.NegationAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.OptionAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.Pattern extends CompositeActorMatcher implements Serializable

Class ptolemy.actor.gt.PatternObjectAttribute extends StringAttribute implements Serializable

Class ptolemy.actor.gt.PortMatcher extends TypedIOPort implements Serializable

Serialized Fields

_criterion

PortCriterion _criterion
The criterion, or null.

Class ptolemy.actor.gt.PreservationAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.RelationCollapsingAttribute extends Parameter implements Serializable

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.RelationHidingAttribute extends Parameter implements Serializable

Class ptolemy.actor.gt.Replacement extends CompositeActorMatcher implements Serializable

Serialized Fields

patternParameter

Parameter patternParameter
The parameter containing an ObjectToken encapsulating the pattern with name "pattern".

Class ptolemy.actor.gt.StateMatcher extends State implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_causalityInterface

CausalityInterface _causalityInterface
The causality interface, if it has been created.


_causalityInterfaceDirector

Director _causalityInterfaceDirector
The director for which the causality interface was created.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.TransformationException extends KernelException implements Serializable

Class ptolemy.actor.gt.TransformationMode extends ChoiceParameter implements Serializable

Serialized Fields

_collectAllMatches

boolean _collectAllMatches
Whether all matches should be collected in a list.


_masterRule

TransformationRule _masterRule
The master transformation rule (not the working copy).


_matchResults

java.util.LinkedList<E> _matchResults
The collected matches.


_matcher

GraphMatcher _matcher
The graph matcher.


_random

java.util.Random _random
The random number generator.


_workingCopy

TransformationRule _workingCopy
The current working copy.


_workingCopyVersion

long _workingCopyVersion
Version of the current working copy.


_workspace

Workspace _workspace
A new workspace for working copies.

Class ptolemy.actor.gt.TransformationRule extends MultiCompositeActor implements Serializable

Serialized Fields

matchInput

TypedIOPort matchInput
The matchInput port.


matchOutput

TypedIOPort matchOutput
The matchOutput port.


matched

TypedIOPort matched
The matched port.


mode

TransformationMode mode
The mode.


modelInput

TypedIOPort modelInput
The modelInput port.


modelOutput

TypedIOPort modelOutput
The modelOutput port.


remaining

TypedIOPort remaining
The remaining port.


repeatCount

Parameter repeatCount
The count of repeated transformation in one firing.


repeatUntilFixpoint

Parameter repeatUntilFixpoint
Whether the transformation in one firing should continue until a fixpoint is reached.


trigger

TypedIOPort trigger
The trigger port.


_lastModel

CompositeEntity _lastModel
The last received model.


_lastResults

java.util.List<E> _lastResults
The list of match results collected in the most recent pattern matching.


_removeFirst

boolean _removeFirst
Whether the first match result should be removed in postfire.

Class ptolemy.actor.gt.TransformationRule.TransformationDirector extends Director implements Serializable

Class ptolemy.actor.gt.TransitionMatcher extends Transition implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.ValidationException extends KernelException implements Serializable


Package ptolemy.actor.gt.controller

Class ptolemy.actor.gt.controller.Clone extends GTEvent implements Serializable

Serialized Fields

useMoml

Parameter useMoml
Whether the cloning should use moml exported from the model.

Class ptolemy.actor.gt.controller.DesignPatternImporter extends Attribute implements Serializable

Serialized Fields

designPatternFile

FileParameter designPatternFile
The design pattern file.


_lastUndoStack

UndoStackAttribute _lastUndoStack
The last undo stack.


_lastValues

java.util.HashMap<K,V> _lastValues
The last values of the parameters to this importer, used to test whether attributes are changed and whether the container needs to be updated.

Class ptolemy.actor.gt.controller.Execute extends GTEvent implements Serializable

Serialized Fields

_effigy

PtolemyEffigy _effigy
The effigy for the executed model.


_managers

java.util.List<E> _managers
The manager to execute the model.

Class ptolemy.actor.gt.controller.GTEvent extends Event implements Serializable

Serialized Fields

refinementExtender

RefinementExtender refinementExtender
The refinement extender to suggest the type of refinement for this event.

Class ptolemy.actor.gt.controller.InitModel extends GTEvent implements Serializable

Serialized Fields

modelName

StringParameter modelName
The name of the empty model.


_emptyModel

CompositeEntity _emptyModel
An empty model.

Class ptolemy.actor.gt.controller.InitModelWithContainer extends InitModel implements Serializable

Class ptolemy.actor.gt.controller.InputModel extends GTEvent implements Serializable

Class ptolemy.actor.gt.controller.Match extends Transform implements Serializable

Class ptolemy.actor.gt.controller.ModelIOPort extends RefinementPort implements Serializable

Class ptolemy.actor.gt.controller.ModelParameter extends Parameter implements Serializable

Serialized Fields

_model

CompositeEntity _model
The model in this parameter.


_token

ActorToken _token
The most recently created ActorToken.


_tokenVersion

long _tokenVersion
The version of the ActorToken.

Class ptolemy.actor.gt.controller.OutputModel extends GTEvent implements Serializable

Class ptolemy.actor.gt.controller.ReadModel extends GTEvent implements Serializable

Serialized Fields

modelFile

FileParameter modelFile
The model file.


_parser

MoMLParser _parser
The moml parser to parse the file.

Class ptolemy.actor.gt.controller.Transform extends GTEvent implements Serializable

Serialized Fields

controllerFactory

TransformEventController.Factory controllerFactory
The controller factory for this event to specialize the popup menu.


defer

Parameter defer
Whether the transformation should be deferred with a change request.


matched

Parameter matched
Whether the last pattern matching was successful (read-only).


mode

TransformationMode mode
The transformation mode.


_transformation

TransformationRule _transformation
The encapsulated transformation rule.


_configureSource

java.lang.String _configureSource
The configure source.


_configurer

Configurer _configurer
The configurer.

Class ptolemy.actor.gt.controller.Transform.EmbeddedConfigurer extends Configurer implements Serializable

Serialized Fields

_container

NamedObj _container
The container of this configurer.

Class ptolemy.actor.gt.controller.TransformationAttribute extends Attribute implements Serializable

Serialized Fields

condition

Parameter condition
The condition under which this attribute is applicable. It must evaluate to a BooleanToken. If its value is false, execution of the transformation causes no effect.


editorFactory

TransformationAttributeEditorFactory editorFactory
The editor factory for the contents in this attribute (the model updater).


_configureSource

java.lang.String _configureSource
The configure source.


_configurer

Configurer _configurer
The configurer containing the model updater.


_executionListeners

java.util.List<E> _executionListeners
The list of execution listeners.


_modelUpdater

PteraModalModel _modelUpdater
The model updater.

Class ptolemy.actor.gt.controller.View extends GTEvent implements Serializable

Serialized Fields

referredTableau

StringParameter referredTableau
Name of the tableau referred to, or an empty string if the default tableau is to be used.


reopenWindow

Parameter reopenWindow
Whether the window should be closed and reopened on each update.


screenLocation

Parameter screenLocation
Location of the new window, or [-1, -1] if the default location is to be used.


screenSize

Parameter screenSize
Size of the new window, or [-1, -1] if the default size is to be used.


tableau

TableauParameter tableau
The default tableau.


title

Parameter title
Title of the window.


_parser

MoMLParser _parser
The parser.


_workspace

Workspace _workspace
The workspace for the parser.

Class ptolemy.actor.gt.controller.WriteModel extends GTEvent implements Serializable

Serialized Fields

modelFile

FileParameter modelFile
The file to store the model.


Package ptolemy.actor.gt.data

Class ptolemy.actor.gt.data.MatchResult extends SequentialTwoWayHashMap<java.lang.Object,java.lang.Object> implements Serializable

Serialized Fields

_parameterValues

SequentialTwoWayHashMap<K,V> _parameterValues
The assignment of values to the parameters.

Class ptolemy.actor.gt.data.Pair extends Tuple<java.lang.Object> implements Serializable

Class ptolemy.actor.gt.data.SequentialTwoWayHashMap extends TwoWayHashMap<K,V> implements Serializable

Serialized Fields

_keySequence

java.util.List<E> _keySequence
The sequence of the keys, sorted in the order in which they are added to this two-way hash map.

Class ptolemy.actor.gt.data.Tuple extends java.util.LinkedList<E> implements Serializable

Class ptolemy.actor.gt.data.TwoWayHashMap extends java.util.HashMap<K,V> implements Serializable

Serialized Fields

_reverseMap

java.util.HashMap<K,V> _reverseMap
The reverse hash map that maps values back to keys.


Package ptolemy.actor.gt.gui

Class ptolemy.actor.gt.gui.ComboItem extends ComboBox.Item implements Serializable

Class ptolemy.actor.gt.gui.GTGUIAction extends GUIAction implements Serializable


Package ptolemy.actor.gui

Class ptolemy.actor.gui.AbstractPlaceableActor extends TypedAtomicActor implements Serializable

Serialized Fields

_frame

javax.swing.JFrame _frame
The associated frame.


_paneSize

SizeAttribute _paneSize
A specification of the size of the pane if it's in its own window.


_windowProperties

WindowPropertiesAttribute _windowProperties
A specification for the window properties of the frame.

Class ptolemy.actor.gui.ArrayOfRecordsPane extends javax.swing.JPanel implements Serializable

Serialized Fields

table

javax.swing.JTable table
The table representing the matrix.

Class ptolemy.actor.gui.ArrayOfRecordsPane.ArrayAsTable extends javax.swing.table.AbstractTableModel implements Serializable

Serialized Fields

_array

ArrayToken _array
The array for which a Table Model is created.


_columns

java.util.List<E> _columns
The column names found in the array.

Class ptolemy.actor.gui.BrowserEffigy extends Effigy implements Serializable

Class ptolemy.actor.gui.BrowserEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.BrowserTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.BrowserTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ColorAttribute extends Parameter implements Serializable

Class ptolemy.actor.gui.Configuration extends CompositeEntity implements Serializable

Serialized Fields

classesToRemove

Parameter classesToRemove
A Parameter that is an array of Strings where each element names a class to be removed. The initial default value is an array with an empty element.

Kepler uses this parameter to remove certain classes:

  <property name="_classesToRemove" class="ptolemy.data.expr.Parameter"
  value="{"ptolemy.codegen.kernel.StaticSchedulingCodeGenerator","ptolemy.codegen.c.kernel.CCodeGenerator"}">
      <doc>An array of Strings, where each element names a class
  to removed by the MoMLFilter.</doc>
   >/property>
  


removeGraphicalClasses

Parameter removeGraphicalClasses
A Parameter that if set to true adds RemoveGraphicalClasses to the list of MoMLFilters. Use this to run non-graphical classes. Note that setting this parameter and using MoMLApplication is not likely to work as MoMLApplication sets the look and feel which invokes the graphical system. The initial value is a boolean with the value false, indicating that RemoveGraphicalClasses should not be added to the filter list.

Class ptolemy.actor.gui.ConfigurationEffigy extends PtolemyEffigy implements Serializable

Class ptolemy.actor.gui.Configurer extends javax.swing.JPanel implements Serializable

Serialized Fields

_closeListeners

java.util.List<E> _closeListeners

_object

NamedObj _object

_originalValues

java.util.HashMap<K,V> _originalValues

Class ptolemy.actor.gui.DebugListenerTableau extends Tableau implements Serializable

Serialized Fields

_debug

Debuggable _debug

Class ptolemy.actor.gui.DebugListenerTableau.DebugListenerFrame extends TextEditor implements Serializable

Class ptolemy.actor.gui.DialogTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.EditorFactory extends Attribute implements Serializable

Class ptolemy.actor.gui.EditorPaneFactory extends Attribute implements Serializable

Class ptolemy.actor.gui.EditParametersDialog extends ComponentDialog implements Serializable

Serialized Fields

_owner

java.awt.Frame _owner
The owner window.


_query

Query _query
The query window for adding parameters.


_target

NamedObj _target
The target object whose parameters are being edited.

Class ptolemy.actor.gui.Effigy extends CompositeEntity implements Serializable

Serialized Fields

identifier

StringAttribute identifier
The identifier for the effigy. The default value is "Unnamed".


uri

URIAttribute uri
The URI for the effigy. The default value is null.


_factory

TableauFactory _factory

_isSystemEffigy

boolean _isSystemEffigy

_modified

boolean _modified
Indicator that the data represented in the window has been modified.


_modifiable

boolean _modifiable
Indicator that the URI must not be written to (if false).


_modifiableURI

boolean _modifiableURI
Indicator that the URI can be written to.

Class ptolemy.actor.gui.EffigyFactory extends CompositeEntity implements Serializable

Class ptolemy.actor.gui.ExpressionShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.ExpressionShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.ExpressionShellFrame extends TableauFrame implements Serializable

Class ptolemy.actor.gui.ExpressionShellTableau extends Tableau implements Serializable

Serialized Fields

frame

ExpressionShellFrame frame
The associated frame.


shell

ShellTextArea shell
The contained shell.


_evaluator

ParseTreeEvaluator _evaluator
The parameter used for evaluation.

Class ptolemy.actor.gui.ExpressionShellTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ExternalTextEffigy extends TextEffigy implements Serializable

Serialized Fields

_pathName

java.lang.String _pathName

_useContainerMoML

boolean _useContainerMoML

Class ptolemy.actor.gui.ExternalTextTableau extends TextEditorTableau implements Serializable

Class ptolemy.actor.gui.FileOrURLEditorFactory extends EditorFactory implements Serializable

Class ptolemy.actor.gui.HTMLEffigy extends Effigy implements Serializable

Class ptolemy.actor.gui.HTMLEffigyFactory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.HTMLViewer extends TableauFrame implements Serializable

Serialized Fields

pane

javax.swing.JEditorPane pane
The text pane.


_scroller

javax.swing.JScrollPane _scroller
The main scroll pane.


_base

java.net.URL _base
The base as specified by setBase().

Class ptolemy.actor.gui.HTMLViewerTableau extends Tableau implements Serializable

Serialized Fields

url

StringAttribute url
The URL to display.

Class ptolemy.actor.gui.HTMLViewerTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.InsideEntityEditorPaneFactory extends EditorPaneFactory implements Serializable

Class ptolemy.actor.gui.JVMTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.JVMTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.JVMTableau.JVMFrame extends PtolemyFrame implements Serializable

Class ptolemy.actor.gui.LevelSkippingTableauFactory extends TableauFactory implements Serializable

Serialized Fields

entityName

StringParameter entityName
The name of the contained entity to open, or an empty string to just open the first one found. This is a string that defaults to empty.

Class ptolemy.actor.gui.LocationAttribute extends Parameter implements Serializable

Class ptolemy.actor.gui.MatrixPane extends javax.swing.JScrollPane implements Serializable

Serialized Fields

table

javax.swing.JTable table
The table representing the matrix.

Class ptolemy.actor.gui.MatrixTokenTableau extends TokenTableau implements Serializable

Serialized Fields

_pane

MatrixPane _pane

Class ptolemy.actor.gui.MatrixTokenTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ModelDirectory extends CompositeEntity implements Serializable

Class ptolemy.actor.gui.ModelFrame extends PtolemyFrame implements Serializable

Serialized Fields

_pane

ModelPane _pane

_previousState

Manager.State _previousState

Class ptolemy.actor.gui.ModelPane extends javax.swing.JPanel implements Serializable

Serialized Fields

_displays

java.awt.Container _displays
A panel into which to place model displays.


_buttonPanel

javax.swing.JPanel _buttonPanel

_controlPanel

javax.swing.JPanel _controlPanel

_directorQuery

Configurer _directorQuery

_goButton

javax.swing.JButton _goButton

_layout

int _layout

_manager

Manager _manager

_model

CompositeActor _model

_parameterQuery

Configurer _parameterQuery

_stopButton

javax.swing.JButton _stopButton

_pauseButton

javax.swing.JButton _pauseButton

_resumeButton

javax.swing.JButton _resumeButton

_show

int _show

Class ptolemy.actor.gui.ModelRepaintController extends Attribute implements Serializable

Serialized Fields

_executable

Executable _executable

_repaintOnWrapUp

Parameter _repaintOnWrapUp

_repaintOnPostFire

Parameter _repaintOnPostFire

Class ptolemy.actor.gui.MoMLApplet extends PtolemyApplet implements Serializable

Serialized Fields

_fragment

java.lang.String _fragment
The fragment of the modelURL, if any. This field is set after _readMoMLAppletParameter() is called.


_modelURL

java.lang.String _modelURL
The modelURL. This field is set after _readMoMLAppletParameter() is called.

Class ptolemy.actor.gui.OpenInstanceDialog extends PtolemyDialog implements Serializable

Serialized Fields

_columnNames

java.util.ArrayList<E> _columnNames
List of names of columns that will be used for this target.


_parameters

java.util.List<E> _parameters
The target parameter list.


_parameterTable

javax.swing.JTable _parameterTable
Table of parameters.


_parameterTableModel

OpenInstanceDialog.ParametersTableModel _parameterTableModel
The table model.

Class ptolemy.actor.gui.PasswordAttribute extends StringParameter implements Serializable

Serialized Fields

_password

char[] _password

Class ptolemy.actor.gui.PlotEffigy extends Effigy implements Serializable

Serialized Fields

_plot

PlotBox _plot

Class ptolemy.actor.gui.PlotEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.PlotTableau extends Tableau implements Serializable

Serialized Fields

uri

URIAttribute uri
The URI to display.


_toRead

java.net.URL _toRead

Class ptolemy.actor.gui.PlotTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.PlotTableauFrame extends TableauFrame implements Serializable

Serialized Fields

plot

PlotBox plot
The plot object held by this frame.


_editMenu

javax.swing.JMenu _editMenu
Edit menu for this frame.


_specialMenu

javax.swing.JMenu _specialMenu
Special menu for this frame.


_directory

java.io.File _directory
Directory that contains the input file.


_file

java.io.File _file
The input file.

Class ptolemy.actor.gui.PortConfigurer extends Query implements Serializable

Serialized Fields

_cardinals

java.lang.String[] _cardinals
Deprecated. 

_changed

java.util.Set<E> _changed
Deprecated. 

_object

Entity _object
Deprecated. 

_optionsArray

java.lang.String[] _optionsArray
Deprecated. 

Class ptolemy.actor.gui.PortConfigurerDialog extends PtolemyDialog implements Serializable

Serialized Fields

_columnNames

java.util.ArrayList<E> _columnNames
List of names of columns that will be used for this target.


_hideAllPorts

boolean _hideAllPorts
When you click on the "Hide" column header, toggle this value.

See Also:
PortConfigurerDialog.PortTableModel.toggleHidePorts()

_portLocationComboBox

javax.swing.JComboBox _portLocationComboBox
The combination box used to select the location of a port.


_portTable

javax.swing.JTable _portTable

_portTableModel

PortConfigurerDialog.PortTableModel _portTableModel

_jth

javax.swing.table.JTableHeader _jth
JTableHeader of _portTable. MouseListener is added to this.


_ports

java.util.Vector<E> _ports

_selectedRow

int _selectedRow

_showAllNames

boolean _showAllNames
When you click on the "Show Name" column header, toggle this value.

See Also:
PortConfigurerDialog.PortTableModel.toggleShowAllNames()

_applyButton

javax.swing.JButton _applyButton
The various buttons.


Button

javax.swing.JButton Button
The various buttons.


_addButton

javax.swing.JButton _addButton
The various buttons.


_applyChangeRequestFailed

boolean _applyChangeRequestFailed
True if the change request in _apply() failed


_removeButton

javax.swing.JButton _removeButton
The various buttons.

Class ptolemy.actor.gui.PortConfigurerDialog.ValidatingComboBoxCellEditor extends javax.swing.DefaultCellEditor implements Serializable

Serialized Fields

_comboBox

javax.swing.JComboBox _comboBox
The combo box.


_oldValue

java.lang.Object _oldValue
Old value of the combo box.


_userWantsToEdit

boolean _userWantsToEdit
True if the user wants to edit after having an invalid selection.


_validator

PortConfigurerDialog.CellValidator _validator
Class that validates the cell.

Class ptolemy.actor.gui.PortConfigurerDialog.ValidatingJTextFieldCellEditor extends javax.swing.DefaultCellEditor implements Serializable

Serialized Fields

_jFormattedTextField

javax.swing.JFormattedTextField _jFormattedTextField
The JTextField.


_oldValue

java.lang.Object _oldValue
Old value of the JTextField.


_userWantsToEdit

boolean _userWantsToEdit
True if the user wants to edit after having an invalid selection.


_validator

PortConfigurerDialog.CellValidator _validator
Class that validates the cell.

Class ptolemy.actor.gui.PtolemyApplet extends BasicJApplet implements Serializable

Serialized Fields

_manager

Manager _manager
The manager, created in the init() method.


_setupOK

boolean _setupOK
Set this to false if the setup of the model during the init() method fails. This prevents the model from executing.


_toplevel

NamedObj _toplevel
The top-level composite actor, created in the init() method.


_workspace

Workspace _workspace
The workspace that the applet is built in. Each applet has it own workspace.


_goButton

javax.swing.JButton _goButton

_stopButton

javax.swing.JButton _stopButton

_previousState

Manager.State _previousState

Class ptolemy.actor.gui.PtolemyDialog extends javax.swing.JFrame implements Serializable

Serialized Fields

_configuration

Configuration _configuration
The configuration that corresponds with this dialog. The configuration is used to properly display the help text.


_helpButton

javax.swing.JButton _helpButton
The help button.


_cancelButton

javax.swing.JButton _cancelButton
The cancel button.


_contents

javax.swing.JComponent _contents

_dirty

boolean _dirty
The following is true if any of the values have been changed but not applied.


_dialogTableau

DialogTableau _dialogTableau

_owner

java.awt.Frame _owner

_target

Entity _target

Class ptolemy.actor.gui.PtolemyEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model

Class ptolemy.actor.gui.PtolemyEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.PtolemyEffigy.FactoryWithoutNew extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.PtolemyFrame extends TableauFrame implements Serializable

Serialized Fields

_query

Query _query
The query used to specify save as options.


_model

NamedObj _model

Class ptolemy.actor.gui.PtolemyPreferences extends ScopeExtendingAttribute implements Serializable

Serialized Fields

backgroundColor

ColorAttribute backgroundColor
The background color.

Class ptolemy.actor.gui.PtolemyQuery extends Query implements Serializable

Serialized Fields

_attributes

java.util.Map<K,V> _attributes
Maps an entry name to the attribute that is attached to it.


_dialog

ComponentDialog _dialog

_handler

NamedObj _handler

_ignoreChangeNotifications

boolean _ignoreChangeNotifications

_isOpenErrorWindow

boolean _isOpenErrorWindow

_query

PtolemyQuery _query

_revertValue

java.util.Map<K,V> _revertValue

_savedErrorHandler

ErrorHandler _savedErrorHandler

_varToListOfEntries

java.util.Map<K,V> _varToListOfEntries

Class ptolemy.actor.gui.PtolemyTableauFactory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.RenameConfigurer extends Query implements Serializable

Serialized Fields

_changed

boolean _changed

_object

NamedObj _object

Class ptolemy.actor.gui.RenameDialog extends ComponentDialog implements Serializable

Class ptolemy.actor.gui.RunTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.RunTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.RunTableau.RunFrame extends ModelFrame implements Serializable

Serialized Fields

_debugMenu

javax.swing.JMenu _debugMenu
Debug menu for this frame.

Class ptolemy.actor.gui.RunTableau.TopFactory extends RunTableau.Factory implements Serializable

Class ptolemy.actor.gui.SizeAttribute extends Parameter implements Serializable

Serialized Fields

_listeningTo

java.awt.Component _listeningTo
The component we are listening to.

Class ptolemy.actor.gui.Tableau extends CompositeEntity implements Serializable

Serialized Fields

size

SizeAttribute size
A specification for the size of the frame.


_editable

boolean _editable
Flag indicating whether the tableau is editable.


_frame

javax.swing.JFrame _frame
The frame that the tableau is shown in.


_master

boolean _master
True if this tableau is a master tableau. Default value is false.


_title

java.lang.String _title
The title set by setTitle().

Class ptolemy.actor.gui.TableauFactory extends Attribute implements Serializable

Serialized Fields

_configureSource

java.lang.String _configureSource
The input source that was specified the last time the configure method was called.


_configureText

java.lang.String _configureText
The text string that represents the current configuration of this object.

Class ptolemy.actor.gui.TableauFrame extends Top implements Serializable

Serialized Fields

aboutFile

java.lang.String aboutFile
The name of the default file to open when About is invoked. This file should be relative to the home installation directory. This file is used if the configuration does not specify an about file.


helpFile

java.lang.String helpFile
The name of the default file to open when Help is invoked. This file should be relative to the home installation directory. This file is used if the configuration does not specify a help file.


_initialSaveAsFileName

java.lang.String _initialSaveAsFileName
The initial filename to use in the SaveAs dialog.


_viewMenu

javax.swing.JMenu _viewMenu
The view menu. Note that this is only created if there are multiple views, so if derived classes use it, they must test to see whether it is null.


_factoryContainer

TableauFactory _factoryContainer

_tableau

Tableau _tableau

_placeable

Placeable _placeable
Associated placeable.


_packCalled

boolean _packCalled
Set to true when the pack() method is called. Used by TopPack.pack().


_topPack

TopPack _topPack
Set in pack() if an alternate topPack is used.

Class ptolemy.actor.gui.TextEditor extends TableauFrame implements Serializable

Serialized Fields

text

javax.swing.JTextArea text
The text area.


_scrollPane

javax.swing.JScrollPane _scrollPane
The scroll pane containing the text area.

Class ptolemy.actor.gui.TextEditorTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.TextEditorTableau.Factory extends TableauFactory implements Serializable

Serialized Fields

_tableauConstructor

java.lang.reflect.Constructor<T> _tableauConstructor

_newTextEffigyText

java.lang.reflect.Method _newTextEffigyText

_newTextEffigyURL

java.lang.reflect.Method _newTextEffigyURL

Class ptolemy.actor.gui.TextEffigy extends Effigy implements Serializable

Serialized Fields

_doc

javax.swing.text.Document _doc

Class ptolemy.actor.gui.TextEffigy.Factory extends EffigyFactory implements Serializable

Serialized Fields

_newTextEffigyURL

java.lang.reflect.Method _newTextEffigyURL

Class ptolemy.actor.gui.TokenEffigy extends Effigy implements Serializable

Serialized Fields

_tokens

java.util.ArrayList<E> _tokens

_variable

Variable _variable

Class ptolemy.actor.gui.TokenEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.TokenTableau extends Tableau implements Serializable

Serialized Fields

_editor

TextEditor _editor

Class ptolemy.actor.gui.TokenTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.WelcomeWindow extends HTMLViewer implements Serializable

Serialized Fields

_closePanel

javax.swing.JPanel _closePanel
The panel at the bottom that contains the "Show this dialog on startup" checkbox and the close button.


_showWelcomeWindowAtStartup

BooleanToken _showWelcomeWindowAtStartup
True if the welcome window is shown at startup.


_startupCheck

javax.swing.JCheckBox _startupCheck

_closeButton

javax.swing.JButton _closeButton

Class ptolemy.actor.gui.WelcomeWindowTableau extends HTMLViewerTableau implements Serializable

Class ptolemy.actor.gui.WindowPropertiesAttribute extends Parameter implements Serializable

Serialized Fields

_listeningTo

java.awt.Frame _listeningTo
The frame we are listening to.


Package ptolemy.actor.gui.exec

Class ptolemy.actor.gui.exec.ExecShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.exec.ExecShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.exec.ExecShellTableau extends Tableau implements Serializable

Serialized Fields

frame

ExecShellTableau.ExecShellFrame frame
The frame in which text is written.


_interpreter

java.lang.Process _interpreter

Class ptolemy.actor.gui.exec.ExecShellTableau.ExecShellFrame extends TableauFrame implements Serializable

Serialized Fields

shellTextArea

ShellTextArea shellTextArea
The text area tableau used for input and output.

Class ptolemy.actor.gui.exec.ExecShellTableau.Factory extends TableauFactory implements Serializable


Package ptolemy.actor.gui.properties

Class ptolemy.actor.gui.properties.ActionGUIProperty extends GUIProperty implements Serializable

Serialized Fields

parse

Parameter parse
A Boolean parameter that determines whether the moml text should be parsed before applying to the current model in the ActionGUIProperty.perform() method.


_action

GUIAction _action
The action.

Class ptolemy.actor.gui.properties.Button extends ActionGUIProperty implements Serializable

Serialized Fields

icon

FileParameter icon
Icon for the button. Set an empty string to remove the icon.


tooltip

StringParameter tooltip
Tooltip for the button.

Class ptolemy.actor.gui.properties.ComboBox extends GUIProperty implements Serializable

Class ptolemy.actor.gui.properties.ComboBox.Item extends ActionGUIProperty implements Serializable

Serialized Fields

next

StringParameter next
The name of the next item in the same combo box to be selected when this GUI property is selected, or an empty string if there is no next item.

Class ptolemy.actor.gui.properties.GUIAction extends Attribute implements Serializable

Serialized Fields

_momlSource

java.lang.String _momlSource
The input source that was specified the last time the configure method was called.


_momlText

java.lang.String _momlText
The text string that represents the current configuration of this object.


_parsedObject

NamedObj _parsedObject
The object obtained by parsing the moml text, or null.


_parser

MoMLParser _parser
The parser used to parse the moml text.

Class ptolemy.actor.gui.properties.GUIProperty extends Attribute implements Serializable

Serialized Fields

preferredSize

Parameter preferredSize
The preferred size of the Swing component. It would be a matrix of 2 integers, such as [100, 20]. It is ignored if any integer is less than 0.


_component

javax.swing.JComponent _component
The Java Swing component.


_constraint

java.lang.Object _constraint
The layout constraint.

Class ptolemy.actor.gui.properties.Panel extends GUIProperty implements Serializable

Class ptolemy.actor.gui.properties.Separator extends GUIProperty implements Serializable

Serialized Fields

orientation

StringParameter orientation
The orientation of the JSeparator, which should be either "Horizontal" or "Vertical".

Class ptolemy.actor.gui.properties.ToolBar extends GUIProperty implements Serializable


Package ptolemy.actor.gui.ptjacl

Class ptolemy.actor.gui.ptjacl.TclShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.ptjacl.TclShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.ptjacl.TclShellTableau extends Tableau implements Serializable

Serialized Fields

_tclInterp

tcl.lang.Interp _tclInterp

Class ptolemy.actor.gui.ptjacl.TclShellTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ptjacl.TclShellTableau.TclShellFrame extends TableauFrame implements Serializable

Serialized Fields

shellTextArea

ShellTextArea shellTextArea
The text area tableau used for input and output.


Package ptolemy.actor.gui.python

Class ptolemy.actor.gui.python.PythonShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.python.PythonShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.python.PythonShellTableau extends Tableau implements Serializable

Serialized Fields

_interpreter

org.python.util.PythonInterpreter _interpreter

Class ptolemy.actor.gui.python.PythonShellTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.python.PythonShellTableau.PythonShellFrame extends TableauFrame implements Serializable


Package ptolemy.actor.gui.run

Class ptolemy.actor.gui.run.CustomizableRunFrame extends TableauFrame implements Serializable

Serialized Fields

_customizeMenu

javax.swing.JMenu _customizeMenu
Customize menu for this frame.


_pane

CustomizableRunPane _pane
The pane inside this frame.


_model

CompositeActor _model
The associated model.

Class ptolemy.actor.gui.run.CustomizableRunPane extends javax.swing.JPanel implements Serializable

Serialized Fields

_model

CompositeActor _model
The associated model.


_layoutConstraintsManager

LayoutConstraintsManager _layoutConstraintsManager
The layout constraint manager.


_subpanels

java.util.HashMap<K,V> _subpanels
A collection of subpanels.

Class ptolemy.actor.gui.run.InterfaceTableau extends Tableau implements Serializable

Serialized Fields

_manager

Manager _manager
The manager.

Class ptolemy.actor.gui.run.InterfaceTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.run.LayoutTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.run.PaletteList extends javax.swing.JList implements Serializable

serialVersionUID: 1L

Serialized Fields

fDragSource

java.awt.dnd.DragSource fDragSource
The source of the drag.


editor

PtolemyFormEditor editor

Class ptolemy.actor.gui.run.PtolemyFormEditor extends javax.swing.JPanel implements Serializable

Serialized Fields

_containerLayout

ContainerLayout _containerLayout
The layout manager.


_container

java.awt.Container _container
The container.


newComponents

java.util.Set<E> newComponents
The set of new components.


topComponent

java.awt.Component topComponent
The top level component.


_bottomInsetSpinnerModel

javax.swing.SpinnerNumberModel _bottomInsetSpinnerModel
Model for the bottom inset control.


_bottomInsetSpinner

javax.swing.JSpinner _bottomInsetSpinner
The bottom inset control.


_columnDeleteButton

javax.swing.JButton _columnDeleteButton
The button to delete a column.


_columnInsertAfterButton

javax.swing.JButton _columnInsertAfterButton
The button to insert after the selected column.


_columnInsertBeforeButton

javax.swing.JButton _columnInsertBeforeButton
The button to insert before the selected column.


_columnSpanSpinnerModel

PtolemyFormEditor.ColSpanSpinnerModel _columnSpanSpinnerModel
The model for the column span control.


_columnSpanSpinner

javax.swing.JSpinner _columnSpanSpinner
The column span control.


_horizontalAlignmentList

java.lang.String[] _horizontalAlignmentList
The list of horizontal alignment options.


_horizontalAlignmentCombo

javax.swing.JComboBox _horizontalAlignmentCombo
The horizontal alignment control.


_layoutFrame

RunLayoutFrame _layoutFrame
The layout frame.


_leftInsetSpinnerModel

javax.swing.SpinnerNumberModel _leftInsetSpinnerModel
Model for the left inset control.


_leftInsetSpinner

javax.swing.JSpinner _leftInsetSpinner
The left inset control.


_packAction

javax.swing.Action _packAction
Action to pack the run control window.


_removeComponentAction

javax.swing.Action _removeComponentAction
Action to remove a component.


_removeComponentButton

javax.swing.JButton _removeComponentButton
Button to remove a component.


_rightInsetSpinnerModel

javax.swing.SpinnerNumberModel _rightInsetSpinnerModel
Model for the right inset control.


_rightInsetSpinner

javax.swing.JSpinner _rightInsetSpinner
The right inset control.


_rowDeleteButton

javax.swing.JButton _rowDeleteButton
The button to delete a row.


_rowInsertAfterButton

javax.swing.JButton _rowInsertAfterButton
The button to insert a row after the selected one.


_rowInsertBeforeButton

javax.swing.JButton _rowInsertBeforeButton
The button to insert a row before the selected one.


_rowSpanSpinnerModel

PtolemyFormEditor.RowSpanSpinnerModel _rowSpanSpinnerModel
The model for the row span control.


_rowSpanSpinner

javax.swing.JSpinner _rowSpanSpinner
The row span control.


_suspendConstraintControlUpdates

boolean _suspendConstraintControlUpdates
Flag to suspend updates.


_table

LayoutTable _table
The layout table, built in the constructor.


_tableModel

PtolemyFormEditor.GridTableModel _tableModel
The data model for the table.


_topInsetSpinnerModel

javax.swing.SpinnerNumberModel _topInsetSpinnerModel
Model for the top inset control.


_topInsetSpinner

javax.swing.JSpinner _topInsetSpinner
The top inset control.


_verticalAlignmentList

java.lang.String[] _verticalAlignmentList
The list of vertical alignment options.


_verticalAlignmentCombo

javax.swing.JComboBox _verticalAlignmentCombo
The vertical alignment control.

Class ptolemy.actor.gui.run.RunLayoutFrame extends TableauFrame implements Serializable

Serialized Fields

_pane

CustomizableRunPane _pane
The run pane whose layout is being edited.


_model

CompositeActor _model
The associated model.


_constraintsManager

LayoutConstraintsManager _constraintsManager
The constraints manager being edited.


_editors

java.util.Map<K,V> _editors
Set of editors indexed by layout.


_newLayouts

java.util.List<E> _newLayouts
A list of new layouts.


_tabs

javax.swing.JTabbedPane _tabs
Tabbed pane for showing nested layouts.


Package ptolemy.actor.gui.style

Class ptolemy.actor.gui.style.CheckBoxStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.ChoiceStyle extends ParameterEditorStyle implements Serializable

Serialized Fields

_isEditable

boolean _isEditable
Whether or not the combobox is editable. EditableComboBox changes this to create an editable combo box. In this base class the value is false.

Class ptolemy.actor.gui.style.EditableChoiceStyle extends ChoiceStyle implements Serializable

Class ptolemy.actor.gui.style.FileChooserStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.HiddenStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.LineStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.NotEditableLineStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.ParameterEditorStyle extends Attribute implements Serializable

Class ptolemy.actor.gui.style.StyleConfigurer extends Query implements Serializable

Serialized Fields

_object

NamedObj _object

_originalExpertMode

boolean _originalExpertMode

_originalValues

java.util.Map<K,V> _originalValues

_parameterStyles

ParameterEditorStyle[] _parameterStyles

Class ptolemy.actor.gui.style.TextStyle extends ParameterEditorStyle implements Serializable

Serialized Fields

height

Parameter height
The height (in lines) of the text box. This is an integer that defaults to 10.


width

Parameter width
The width (in lines) of the text box. This is an integer that defaults to 30.


Package ptolemy.actor.lib

Class ptolemy.actor.lib.AbsoluteValue extends Transformer implements Serializable

Class ptolemy.actor.lib.Accumulator extends Transformer implements Serializable

Serialized Fields

lowerBound

Parameter lowerBound
The lower bound. If this is set, then its type must be the same as that of the init parameter, and the output will be constrained to never drop below the lower bound. By default, this is not set, so there is no lower bound.


init

Parameter init
The value produced by the actor on its first iteration. The default value of this parameter is the integer 0.


reset

TypedIOPort reset
If this port receives a True token on any channel, then the accumulator state will be reset to the initial value. This is a multiport and has type boolean.


upperBound

Parameter upperBound
The upper bound. If this is set, then its type must be the same as that of the init parameter, and the output will be constrained to never rise above the upper bound. By default, this is not set, so there is no upper bound.


_sum

Token _sum
The running sum.


_latestSum

Token _latestSum
The latest sum, prior to a state commit.

Class ptolemy.actor.lib.AddSubtract extends TypedAtomicActor implements Serializable

Serialized Fields

minus

TypedIOPort minus
Input for tokens to be subtracted. This is a multiport, and its type is inferred from the connections.


output

TypedIOPort output
Output port. The type is inferred from the connections.


plus

TypedIOPort plus
Input for tokens to be added. This is a multiport, and its type is inferred from the connections.

Class ptolemy.actor.lib.ArrayAppend extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayAverage extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayContains extends TypedAtomicActor implements Serializable

Serialized Fields

array

TypedIOPort array
Input array. The type of this port is at least an array of the type of the element port.


output

TypedIOPort output
Boolean output specifying whether the element is contained in the array.


element

PortParameter element
The element to test for presence in the array.

Class ptolemy.actor.lib.ArrayElement extends Transformer implements Serializable

Serialized Fields

index

PortParameter index
The index into the input array. This is an integer that defaults to 0, and is required to be less than or equal to the length of the input array. If the port is left unconnected, then the parameter value will be used.

Class ptolemy.actor.lib.ArrayElementAsMatrix extends Transformer implements Serializable

Serialized Fields

xOffset

PortParameter xOffset
The xOffset offset into the input array. This is an integer that defaults to 1. If the port is left unconnected, then the parameter value will be used.


yOffset

PortParameter yOffset
The yOffset offset into the input array. This is an integer that defaults to 1. If the port is left unconnected, then the parameter value will be used.


x

PortParameter x
The x index into the input array. This is an integer that defaults to 0. If the port is left unconnected, then the parameter value will be used.


y

PortParameter y
The y index into the input array. This is an integer that defaults to 0. If the port is left unconnected, then the parameter value will be used.

Class ptolemy.actor.lib.ArrayExtract extends Transformer implements Serializable

Serialized Fields

sourcePosition

PortParameter sourcePosition
The index into the input array at which to start copying. This is a non-negative integer that defaults to 0, and is required to be less than the length of the input array.


extractLength

PortParameter extractLength
The length of the segment of the input array that is copied to the output. This is a non-negative integer that defaults to 1. The sum of it and the sourcePosition is required to be less than or equal to the length of the input array.


destinationPosition

PortParameter destinationPosition
The index into the output array at which to start copying. This is a non-negative integer that defaults to 0, and is required to be less than the length of the output array.


outputArrayLength

PortParameter outputArrayLength
The total length of the output array. This is a non-negative integer that defaults to 1. It is required to be at least destinationPosition plus extractLength.

Class ptolemy.actor.lib.ArrayLength extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayLevelCrossing extends TypedAtomicActor implements Serializable

Serialized Fields

above

Parameter above
An indicator of whether to look for values above or below the specified threshold. This is a boolean that defaults to false, which specifies to find values below the threshold.


array

TypedIOPort array
The array to search for a threshold crossing. This has type {double}.


forwards

Parameter forwards
The direction to search from the start. If true, search forwards. Otherwise, search backwards. This is a boolean that defaults to true.


output

TypedIOPort output
The output port producing the index of the first bin to break the threshold. This has type int.


scale

StringParameter scale
An indicator of whether threshold should be interpreted as absolute or relative, and if relative, then on a linear scale, in amplitude decibels, or power decibels. If decibels are used, then the corresponding linear threshold is 10^(threshold/N), where N is 20 (for amplitude decibels) or 10 (for power decibels). This parameter is a string with possible values "absolute", "relative linear", "relative amplitude decibels" or "relative power decibels". The default value is "absolute".


start

PortParameter start
The index from which to start looking for a threshold crossing. This is an integer that defaults to 0.


threshold

PortParameter threshold
The threshold to look for. This is a double that can be interpreted on an absolute or relative scale, and if relative, on a linear or decibel scale, depending on the scale parameter. It defaults to 0.0.

Class ptolemy.actor.lib.ArrayMaximum extends Transformer implements Serializable

Serialized Fields

index

TypedIOPort index
The port producing the index of the largest element. This is port has type int.

Class ptolemy.actor.lib.ArrayMinimum extends Transformer implements Serializable

Serialized Fields

index

TypedIOPort index
The port producing the index of the largest element. This is port has type int.

Class ptolemy.actor.lib.ArrayPeakSearch extends TypedAtomicActor implements Serializable

Serialized Fields

dip

Parameter dip
The amount that the signal must drop below a local maximum before a peak is detected. This is a double that can be interpreted as an absolute threshold or relative to the local peak, and if relative, on a linear or decibel scale, depending on the scale parameter. It defaults to 0.0.


endIndex

PortParameter endIndex
The end point of the search. If this number is larger than the length of the input array, then the search is to the end of the array. This is an integer that defaults to MaxInt.


input

TypedIOPort input
The input port. This is required to be an array of doubles


maximumNumberOfPeaks

Parameter maximumNumberOfPeaks
The maximum number of peaks to report. This is an integer that defaults to MaxInt.


peakIndices

TypedIOPort peakIndices
The output port for the indices of the peaks. The type is {int} (array of int).


peakValues

TypedIOPort peakValues
The output port for the values of the peaks. The type is the same as the input port.


scale

StringParameter scale
An indicator of whether dip and squelch should be interpreted as absolute or relative, and if relative, then on a linear scale, in amplitude decibels, or power decibels. If decibels are used, then the corresponding linear threshold is 10^(threshold/N), where N is 20 (for amplitude decibels) or 10 (for power decibels). This parameter is a string with possible values "absolute", "relative linear", "relative amplitude decibels" or "relative power decibels". The default value is "absolute".


squelch

Parameter squelch
The value below which the input is ignored by the algorithm. This is a double that can be interpreted as an absolute number or a relative number, and if relative, on a linear or decibel scale, depending on the scale parameter. For the relative case, the number is relative to the global peak. It defaults to -10.0.


startIndex

PortParameter startIndex
The starting point of the search. If this number is larger than the value of endIndex, the search is conducted backwards (and the results presented in reverse order). If this number is larger than the length of the input array, then the search is started at the end of the input array. This is an integer that defaults to 0.

Class ptolemy.actor.lib.ArrayRemoveElement extends TypedAtomicActor implements Serializable

Serialized Fields

array

TypedIOPort array
Input array. The type of this port is at least an array of the type of the element port.


output

TypedIOPort output
The resulting output array. Note that the output will be a new array with the same type as the input array.


element

PortParameter element
The element to be removed.

Class ptolemy.actor.lib.ArraySort extends Transformer implements Serializable

Serialized Fields

allowDuplicates

Parameter allowDuplicates
Tells the actor whether or not to remove duplicate elements. This is a boolean that defaults to true.


ascending

Parameter ascending
The sort order attribute. This tells the actor whether to sort the elements in ascending or descending order. It is a boolean that defaults to true, which means ascending order.

Class ptolemy.actor.lib.ArraySum extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayToElements extends Transformer implements Serializable

Class ptolemy.actor.lib.Average extends Transformer implements Serializable

Serialized Fields

reset

TypedIOPort reset
The reset port of type BooleanToken. If this input port receives a True token, then the averaging process will be reset.


_sum

Token _sum

_latestSum

Token _latestSum

_count

int _count

_latestCount

int _latestCount

Class ptolemy.actor.lib.Bernoulli extends RandomSource implements Serializable

Serialized Fields

trueProbability

Parameter trueProbability
The probability of true. This parameter contains a DoubleToken, initially with value 0.5.


_current

boolean _current
The random boolean for the current iteration.

Class ptolemy.actor.lib.BooleanMultiplexor extends TypedAtomicActor implements Serializable

Serialized Fields

trueInput

TypedIOPort trueInput
Input for tokens on the true path. The type can be anything.


falseInput

TypedIOPort falseInput
Input for tokens on the false path. The type can be anything.


select

TypedIOPort select
Input that selects one of the other input ports. The type is BooleanToken.


output

TypedIOPort output
The output port. The type is at least the type of trueInput and falseInput

Class ptolemy.actor.lib.BooleanSelect extends TypedAtomicActor implements Serializable

Serialized Fields

trueInput

TypedIOPort trueInput
Input for tokens on the true path. The type can be anything.


falseInput

TypedIOPort falseInput
Input for tokens on the false path. The type can be anything.


control

TypedIOPort control
Input that selects one of the other input ports. The type is BooleanToken.


output

TypedIOPort output
The output port. The type is at least the type of trueInput and falseInput


trueInput_tokenConsumptionRate

Parameter trueInput_tokenConsumptionRate
This parameter provides token consumption rate for trueInput. The type is int.


falseInput_tokenConsumptionRate

Parameter falseInput_tokenConsumptionRate
This parameter provides token consumption rate for falseInput. The type is int.


control_tokenConsumptionRate

Parameter control_tokenConsumptionRate
This parameter provides token consumption rate for control. The type is int.


_control

BooleanToken _control
The most recently read control token.


_controlUsed

boolean _controlUsed
Indicator that the control token was used in the fire method.

Class ptolemy.actor.lib.BooleanSwitch extends TypedAtomicActor implements Serializable

Serialized Fields

control

TypedIOPort control
Input that selects one of the other input ports. The type is boolean.


input

TypedIOPort input
The input port. The type can be anything. This is a multiport, and input tokens on all channels are routed to corresponding channels on the output port, if there are such channels.


trueOutput

TypedIOPort trueOutput
Output for tokens on the true path. The type is at least the type of the input.


falseOutput

TypedIOPort falseOutput
Output for tokens on the false path. The type is at least the type of the input.


_control

boolean _control

Class ptolemy.actor.lib.BusAssembler extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The input port.


_outputWidth

int _outputWidth

Class ptolemy.actor.lib.BusDisassembler extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port.

Class ptolemy.actor.lib.ClassWrapper extends TypedAtomicActor implements Serializable

Serialized Fields

className

StringAttribute className
The name of the Java class.


_methodTable

java.util.Hashtable<K,V> _methodTable

_instance

java.lang.Object _instance

_class

java.lang.Class<T> _class

Class ptolemy.actor.lib.Clock extends TimedSource implements Serializable

Serialized Fields

numberOfCycles

Parameter numberOfCycles
The number of cycles to produce, or UNBOUNDED to specify no limit. This is an integer with default UNBOUNDED.


offsets

Parameter offsets
The offsets at which the specified values will be produced. This parameter must contain an array of doubles, and it defaults to {0.0, 1.0}.


period

PortParameter period
The period of the output waveform. This is a double that defaults to 2.0.


values

Parameter values
The values that will be produced at the specified offsets. This parameter must contain an ArrayToken, and it defaults to {1, 0}

Class ptolemy.actor.lib.ClockSensor extends TimedSource implements Serializable

Serialized Fields

numberOfCycles

Parameter numberOfCycles
The number of cycles to produce, or UNBOUNDED to specify no limit. This is an integer with default UNBOUNDED.


offsets

Parameter offsets
The offsets at which the specified values will be produced. This parameter must contain an array of doubles, and it defaults to {0.0, 1.0}.


period

PortParameter period
The period of the output waveform. This is a double that defaults to 2.0.


values

Parameter values
The values that will be produced at the specified offsets. This parameter must contain an ArrayToken, and it defaults to {1, 0}

Class ptolemy.actor.lib.Commutator extends Transformer implements Serializable

Serialized Fields

blockSize

Parameter blockSize
The number of tokens read from each input channel on each firing. This is an integer that defaults to 1.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The parameter controlling the input port consumption rate. This parameter contains an IntToken, initially with a value of 1.


output_tokenProductionRate

Parameter output_tokenProductionRate
The parameter controlling the output port production rate. This parameter contains an IntToken, initially with a value of 0. When connections are made and/or the blockSize parameter is set, this is changed to the width of the input times the value of the blockSize parameter.


_currentInputPosition

int _currentInputPosition

_tentativeInputPosition

int _tentativeInputPosition

Class ptolemy.actor.lib.ComputeHistogram extends TypedAtomicActor implements Serializable

Serialized Fields

minimumValue

Parameter minimumValue
The lowest value that will be recorded in the histogram. This parameter has type double, with default value 0.0.


maximumValue

Parameter maximumValue
The highest value that will be recorded in the histogram. This parameter has type double, with default value 1.0.


numberOfBins

Parameter numberOfBins
The number of bins. This parameter has type int, with default value 10.


inputCount

PortParameter inputCount
The number of tokens to compute the histogram for.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The parameter that determines the consumption rate of the input.


input

TypedIOPort input
The input port of type double.


output

TypedIOPort output
The input port of type array of integer.


_bins

int[] _bins

_minimumValue

double _minimumValue

_maximumValue

double _maximumValue

_binWidth

double _binWidth

_numberOfBins

int _numberOfBins

Class ptolemy.actor.lib.ConfigurationSelect extends TypedAtomicActor implements Serializable

Serialized Fields

trueInput

TypedIOPort trueInput
Input for tokens on the true path. The type can be anything.


falseInput

TypedIOPort falseInput
Input for tokens on the false path. The type can be anything.


selector

Parameter selector
Parameter that selects one of the two input ports. The type is BooleanToken that defaults to false.


output

TypedIOPort output
The output port. The type is at least the type of trueInput and falseInput


trueInput_tokenConsumptionRate

Parameter trueInput_tokenConsumptionRate
This parameter provides token consumption rate for trueInput. The type is int.


falseInput_tokenConsumptionRate

Parameter falseInput_tokenConsumptionRate
This parameter provides token consumption rate for falseInput. The type is int.

Class ptolemy.actor.lib.ConfigurationSwitch extends TypedAtomicActor implements Serializable

Serialized Fields

selector

Parameter selector
Parameter that selects one of the two input ports. The type is BooleanToken that defaults to false.


input

TypedIOPort input
The input port. The type can be anything. This is a multiport, and input tokens on all channels are routed to corresponding channels on the output port, if there are such channels.


trueOutput

TypedIOPort trueOutput
Output for tokens on the true path. The type is at least the type of the input.


falseOutput

TypedIOPort falseOutput
Output for tokens on the false path. The type is at least the type of the input.

Class ptolemy.actor.lib.Const extends LimitedFiringSource implements Serializable

Serialized Fields

value

Parameter value
The value produced by this constant source. By default, it contains an IntToken with value 1. If the type of this token is changed during the execution of a model, then the director will be asked to redo type resolution.

Class ptolemy.actor.lib.Counter extends TypedAtomicActor implements Serializable

Serialized Fields

increment

TypedIOPort increment
The increment port. If this input port receives a token, then the counter is incremented. The port has type general.


decrement

TypedIOPort decrement
The decrement port. If this input port receives a token, then the counter is decremented. The port has type general.


output

TypedIOPort output
The output port with type IntToken.


_count

int _count

_latestCount

int _latestCount

_consumed

boolean _consumed

Class ptolemy.actor.lib.CurrentTime extends TimedSource implements Serializable

Serialized Fields

useLocalTime

Parameter useLocalTime
If true, use the model time reported by the input port, which is normally the model time of the local director. If false (the default), use the model time reported by the top-level director. Local time may differ from global time inside modal models and certain domains that manipulate time.

Class ptolemy.actor.lib.DB extends Transformer implements Serializable

Serialized Fields

inputIsPower

Parameter inputIsPower
If the input is proportional to power, then set this to true. This must be a boolean, and defaults to false.


min

Parameter min
The minimum value of the output. This is a double, and defaults to -100.0.


_resultArray

DoubleToken[] _resultArray

Class ptolemy.actor.lib.DelayStart extends TypedAtomicActor implements Serializable

Serialized Fields

startTime

StringParameter startTime
The start time. FIXME: Spec. This is a string that defaults to FIXME

Class ptolemy.actor.lib.Differential extends Transformer implements Serializable

Serialized Fields

_currentInput

Token _currentInput

_lastInput

Token _lastInput

Class ptolemy.actor.lib.Discard extends Sink implements Serializable

Class ptolemy.actor.lib.DiscreteClock extends TimedSource implements Serializable

Serialized Fields

offsets

Parameter offsets
The offsets at which the specified values will be produced. This parameter must contain an array of doubles, and it defaults to {0.0}.


period

PortParameter period
The period of the output waveform. This is a double that defaults to 1.0.


start

TypedIOPort start
A port that, if connected, is used to specify when the clock starts. This port accepts any type. The arrival of an event is what starts the clock. Upon arrival of such an event, the clock starts as if just initialized. The clock will not start until such an event is provided, unless the port is left unconnected, in which case the actor starts immediately.


stop

TypedIOPort stop
A port that, if connected, is used to specify when the clock stops. This port accepts any type. The arrival of an event is what stops the clock.


values

Parameter values
The values that will be produced at the specified offsets. This parameter must contain an ArrayToken, and it defaults to {1}


_outputProduced

boolean _outputProduced
Indicator that an output was produced and hence we should skip to the next phase in postfire.

Class ptolemy.actor.lib.DiscreteRandomSource extends RandomSource implements Serializable

Serialized Fields

pmf

Parameter pmf
The probability mass function. This parameter contains an array of doubles, with default value {0.5, 0.5}.


values

Parameter values
The values to be sent to the output. This parameter contains an ArrayToken, initially with value {0, 1} (an int array).


_current

Token _current
Random value calculated in prefire().

Class ptolemy.actor.lib.Distributor extends Transformer implements Serializable

Serialized Fields

blockSize

Parameter blockSize
The number of tokens produced on each output channel on each firing. This is an integer with default value 0.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The parameter controlling the input port consumption rate. This is an integer, initially with value 0. Whenever a connection is made to the output, the value of this parameter is changed to equal the width of the output times the blockSize parameter.


output_tokenProductionRate

Parameter output_tokenProductionRate
The parameter specifying the output port production rate. This is an integer, equal to the value of blockSize.


_currentOutputPosition

int _currentOutputPosition

_tentativeOutputPosition

int _tentativeOutputPosition

Class ptolemy.actor.lib.DoubleReader extends URLReader implements Serializable

Serialized Fields

_data

double[] _data
Deprecated. 

_dataSize

int _dataSize
Deprecated. 

Class ptolemy.actor.lib.ElementsToArray extends Transformer implements Serializable

Class ptolemy.actor.lib.Exec extends LimitedFiringSource implements Serializable

Serialized Fields

command

PortParameter command
The command to be executed. The command is parsed by StringUtilities.tokenizeForExec(String) into tokens and then executed as a separate subprocess. The initial default value is the string echo "Hello, world.".

The command parameter is read only once during fire(). If you want to spawn another different command, use life cycle management actors such RunCompositeActor.


directory

FileParameter directory
The directory in which to execute the command. This parameter is read each time the subprocess is started in fire(). Once the subprocess is running, this parameter is not read again until fire() is called again.

The initial default value of this parameter $CWD, which corresponds with the value of the Java virtual machine user.dir property which is the user's current working directory. Note that if we are running inside a menu launched application, then ptolemy.actor.gui.jnlp.MenuApplication will change user.dir to be the value of user.home, which is the name of the user's home directory.


environment

Parameter environment
The environment in which to execute the command. This parameter is read each time the subprocess is started in fire(). Once the subprocess is running, this parameter is not read again until fire() is called again.

This parameter is an array of records that name an environment variable and the value for the value. The format is:

  {{name = "NAME1", value = "value1"}...}
  
Where NAME1 is the name of the environment variable, and value1 is the value.

For example {{name = "PTII", value = "c:/ptII"}} would set the value of the PTII to c:/ptII.

If the initial value of the parameter is {{name="", value = ""}}, then the environment from the calling or parent process is used in the new command.

Note that if this parameter sets any environment variable, then under Windows the other environment variables in the calling or parent process might not be passed to the subprocess. This behaviour could be platform or JVM dependent. When in doubt, try setting the command value to "env" to print out the environment.


error

TypedIOPort error
Data that is generated by the subprocess on its standard error. While the process is running, any error data generated by the subprocess is stored until the subprocess exits and then the stored error data is sent to the error port. If the subprocess generates no data on standard error, then the empty string (a string of length zero) is generated. This port is an output port of type String.


exitCode

TypedIOPort exitCode
The exit code of the subprocess. Usually, a non-zero exit code indicate that the subprocess had a problem. This port is an output port of type int.


input

TypedIOPort input
Strings to pass to the standard input of the subprocess. Note that a newline is not appended to the string. If you require a newline, add one using the AddSubtract actor. This port is an input port of type String.


prependPlatformDependentShellCommand

Parameter prependPlatformDependentShellCommand
If true, then prepend the platform dependent shell command to the parsed value of the command parameter. By setting this argument to true, it is possible to invoke commands in a platform neutral method.

Under Windows NT or XP, the arguments "cmd.exe" and "/C" are prepended. Under Windows 95, the arguments "command.com" and "/C" are prepended. Under all other platforms, the arguments "/bin/sh" and "-c" are prepended.

By prepending sh or cmd, then this actor can use the file redirection operations.

The default value of this parameter is a boolean of value false, which allows the user to arbitrarily invoke /bin/sh scripts on all platforms.


throwExceptionOnNonZeroReturn

Parameter throwExceptionOnNonZeroReturn
If true, then throw an exception if the subprocess returns non-zero. The default is a boolean of value true. This parameter is ignored if waitForProcess is false.


waitForProcess

Parameter waitForProcess
If true, then actor will wait until subprocess completes. The default is a boolean of value true.


_inputBufferedWriter

java.io.BufferedWriter _inputBufferedWriter

_errorGobbler

Exec._StreamReaderThread _errorGobbler

_outputGobbler

Exec._StreamReaderThread _outputGobbler

_process

java.lang.Process _process

_stopFireRequested

boolean _stopFireRequested

Class ptolemy.actor.lib.ExecutionTime extends LimitedFiringSource implements Serializable

Serialized Fields

executionTime

Parameter executionTime
The amount of time to consume. This is either in milliseconds, if the realTime parameter is set to true, or in the number of iterations of a fixed computation, if the realTime parameter is set to false. This is a long that defaults to 1000L.


granularity

Parameter granularity
The granularity of the computation. This parameter specifies the number of additions performed in each invocation of the (unintersting) computation. This is a long, which defaults to 400000, which yields a computation time granularity of approximately 1msec on a MacBook Pro.


realTime

Parameter realTime
If true, then the executionTime parameter is interpreted as milliseconds. If it is false (the default), then the executionTime parameter is interpreted to specify the number of cycles of a fixed computation. Use false to specify a fixed computational load, and use true to specify an amount of real time to consume. When this is true, if the thread executing the fire() method is preempted during its run, then less computation is done.

Class ptolemy.actor.lib.Exit extends Sink implements Serializable

Class ptolemy.actor.lib.Expression extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port.


expression

StringAttribute expression
The expression that is evaluated to produce the output.


_iterationCount

int _iterationCount

_parseTree

ASTPtRootNode _parseTree

_parseTreeEvaluator

ParseTreeEvaluator _parseTreeEvaluator

_scope

Expression.VariableScope _scope

_tokenMap

java.util.Map<K,V> _tokenMap

Class ptolemy.actor.lib.FileWriter extends Writer implements Serializable

Serialized Fields

filename

Parameter filename
Deprecated. 
The name of the file to write to. This parameter contains a StringToken. By default, it contains an empty string, which is interpreted to mean that output should be directed to the standard output.

Class ptolemy.actor.lib.Gaussian extends RandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
The mean of the random number. This has type double, initially with value 0.


standardDeviation

PortParameter standardDeviation
The standard deviation of the random number. This has type double, initially with value 1.


_current

double _current
The random number for the current iteration.

Class ptolemy.actor.lib.GetCausalityInterface extends Source implements Serializable

Serialized Fields

actorName

StringParameter actorName
Name of the actor to get the causality interface of. If this is the empty string (the default), then the container is used.


dependents

TypedIOPort dependents
Output port on which to put the description of the dependent ports.


equivalences

TypedIOPort equivalences
Output port on which to put the description of the equivalence classes.

Class ptolemy.actor.lib.GradientAdaptiveLattice extends Lattice implements Serializable

Serialized Fields

adaptedReflectionCoefficients

TypedIOPort adaptedReflectionCoefficients
The output port that produces the current reflection coefficients. The port is of type array of double.


timeConstant

Parameter timeConstant
The time constant of the filter, which determines how fast the filter adapts. The default value of this parameter is 1.0.


_alpha

double _alpha

_oneMinusAlpha

double _oneMinusAlpha

_estimatedErrorPower

double[] _estimatedErrorPower

_estimatedErrorPowerCache

double[] _estimatedErrorPowerCache

_reflectionCoefficientsCache

double[] _reflectionCoefficientsCache

Class ptolemy.actor.lib.IIR extends Transformer implements Serializable

Serialized Fields

numerator

Parameter numerator
This parameter represents the numerator coefficients as an array of tokens. The format is {b0, b1, ..., bM}. The default value of this parameter is {1.0}.


denominator

Parameter denominator
This parameter represents the denominator coefficients as an array of a tokens. The format is {a0, a1, ..., aN}. Note that the value of a0 is constrained to be 1.0. This implementation will issue a warning if it is not. The default value of this parameter is {1.0}.


_numerator

Token[] _numerator

_denominator

Token[] _denominator

_stateVector

Token[] _stateVector

_currentTap

int _currentTap

_latestWindow

Token _latestWindow

Class ptolemy.actor.lib.Interpolator extends SequenceSource implements Serializable

Serialized Fields

indexes

Parameter indexes
The indexes at which the specified values will be produced. This parameter is an array of integers, with default value {0, 1}.


order

Parameter order
The order of interpolation for non-index iterations. This parameter must contain an IntToken.


period

Parameter period
The period of the reference values. This parameter must contain an IntToken.


values

Parameter values
The values that will be produced at the specified indexes. This parameter is an array, with default value {1.0, 0.0}.


_iterationCount

int _iterationCount

_interpolation

Interpolation _interpolation

Class ptolemy.actor.lib.Lattice extends Transformer implements Serializable

Serialized Fields

reflectionCoefficients

Parameter reflectionCoefficients
The reflection coefficients. This is an array of doubles with default value {0.804534, -0.820577, 0.521934, -0.205}. These are the reflection coefficients for the linear predictor of a particular random process.


_order

int _order
The order of the filter (i.e. the number of reflection coefficients)


_backward

double[] _backward
Backward prediction errors. The length is _order.


_backwardCache

double[] _backwardCache
Cache of backward prediction errors. The fire() method updates _forwardCache and postfire() copies _forwardCache to _forward so this actor will work in domains like SR. The length is _order.


_forward

double[] _forward
Forward prediction errors. The length is _order + 1.


_forwardCache

double[] _forwardCache
Cache of forward prediction errors. The fire() method updates _forwardCache and postfire() copies _forwardCache to _forward so this actor will work in domains like SR. The length is _order + 1.


_reflectionCoefficients

double[] _reflectionCoefficients
Cache of reflection coefficients. The length is _order.

Class ptolemy.actor.lib.LevinsonDurbin extends TypedAtomicActor implements Serializable

Serialized Fields

autocorrelation

TypedIOPort autocorrelation
The autocorrelation input, which is an array.


errorPower

TypedIOPort errorPower
The output for the error power, as a function of the predictor order. This produces an array.


linearPredictor

TypedIOPort linearPredictor
The output for linear predictor coefficients. This produces an array.


reflectionCoefficients

TypedIOPort reflectionCoefficients
The output for lattice filter coefficients for a prediction error filter. This produces an array.

Class ptolemy.actor.lib.LimitedFiringSource extends Source implements Serializable

Serialized Fields

firingCountLimit

Parameter firingCountLimit
If a positive integer, then the number of iterations before the actor indicates to the scheduler that it is finished by returning false in its postfire() method.


_firingCountLimit

int _firingCountLimit
This is the value in parameter firingCountLimit. It may be convenient for derived classes to read this variable in the iterate() method.


_iterationCount

int _iterationCount
The current number of elapsed iterations. It may be convenient for derived classes to read/set this variable in the iterate() method.

Class ptolemy.actor.lib.Limiter extends Transformer implements Serializable

Serialized Fields

bottom

Parameter bottom
The bottom of the limiting range. This is a scalar with default value 0.0.


top

Parameter top
The top of the limiting range. This is a scalar with default value 1.0.

Class ptolemy.actor.lib.LinearDifferenceEquationSystem extends Transformer implements Serializable

Serialized Fields

state

TypedIOPort state
Output port that produces DoubleMatrixToken of dimension r x 1 (see class comment).


A

Parameter A
The A matrix in the state-space representation. It must be a square matrix. The default value is [[1.0]].


B

Parameter B
The B matrix in the state-space representation. The number of rows must be equal to the number of rows of the A matrix. The number of columns must be equal to the number of rows in the input token. The default value is [[1.0]].


C

Parameter C
The C matrix in the state-space representation. The number of columns must be equal to the number of columns of the A matrix. The number of rows must be equal to the number of columns in the output token. The default value is [[0.0]].


D

Parameter D
The D matrix in the state-space representation. The number of columns must be equal to the number of rows in the input token (a DoubleMatrixToken of dimension m x 1. The number of rows must be equal to the number of columns in the output token (a DoubleMatrixToken of dimension r x 1. The default value is [[0.0]].


initialStates

Parameter initialStates
The initial condition for the state variables. This must be a column vector (double matrix with only one column) whose length is equal to the number of state variables. The default value is [0.0]. NOTE: Changes to this parameter will be * applied at the next time when fire() is called.


_x

Token _x

_xPrime

Token _xPrime

_initialStateChanged

boolean _initialStateChanged

_singleOutput

boolean _singleOutput

_singleState

boolean _singleState

Class ptolemy.actor.lib.LookupTable extends Transformer implements Serializable

Serialized Fields

table

Parameter table
The table array that we look up elements in. This parameter is an array with default value {0, 1}.

Class ptolemy.actor.lib.MathFunction extends TypedAtomicActor implements Serializable

Serialized Fields

function

StringParameter function
Deprecated. 
The function to compute. This is a string-valued attribute that defaults to "exp".


firstOperand

TypedIOPort firstOperand
Deprecated. 
The port for the first operand. The port has type BaseType.DOUBLE


secondOperand

TypedIOPort secondOperand
Deprecated. 
The port for the second operand, if it is needed. The port has type BaseType.DOUBLE


output

TypedIOPort output
Deprecated. 
Output port. The port has type BaseType.DOUBLE


_resultArray

DoubleToken[] _resultArray
Deprecated. 

_function

int _function
Deprecated. 

Class ptolemy.actor.lib.Maximum extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the maximumValue output.


maximumValue

TypedIOPort maximumValue
The output port for the maximum value. The type of this output is constrained to be at most a scalar.


channelNumber

TypedIOPort channelNumber
The output port for the channel number. The type of this output is an integer.

Class ptolemy.actor.lib.MaxIndex extends Transformer implements Serializable

Class ptolemy.actor.lib.Minimum extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the minimumValue output.


minimumValue

TypedIOPort minimumValue
The output port for the minimum value. The type of this output is constrained to be at most a scalar.


channelNumber

TypedIOPort channelNumber
The output port for the channel number. The type of this output is an integer.

Class ptolemy.actor.lib.MonitorValue extends Sink implements Serializable

Serialized Fields

value

Parameter value
The most recently seen input value. This parameter has the same type as the input.


initial

Parameter initial
The initial value to be displayed.

Class ptolemy.actor.lib.MovingAverage extends Transformer implements Serializable

Serialized Fields

maxPastInputsToAverage

Parameter maxPastInputsToAverage
The maximum number of past inputs to average. This is an integer that defaults to 10.


_data

Token[] _data
The delay line.


_mostRecent

int _mostRecent
The index into the delay line of the most recent input.


_count

int _count
Count of the number of inputs received, bounded by the size of the _data array.


_maxPastInputsToAverage

int _maxPastInputsToAverage
Maximum number of past inputs to average.


_reinitializeNeeded

boolean _reinitializeNeeded
Indicator that at least an attribute has been changed since the last initialization.


_factor

DoubleToken _factor
The factor by which to multiply the sum of the past inputs.

Class ptolemy.actor.lib.MovingMaximum extends Transformer implements Serializable

Serialized Fields

_maximum

ScalarToken _maximum

_value

ScalarToken _value

Class ptolemy.actor.lib.Multiplexor extends Transformer implements Serializable

Serialized Fields

select

TypedIOPort select
Input for the index of the port to select. The type is IntToken.


_channel

int _channel
The most recently read select input.

Class ptolemy.actor.lib.MultiplyDivide extends TypedAtomicActor implements Serializable

Serialized Fields

divide

TypedIOPort divide
Input for tokens to be divided. This is a multiport, and its type is inferred from the connections.


output

TypedIOPort output
Output port. The type is inferred from the connections.


multiply

TypedIOPort multiply
Input for tokens to be multiplied. This is a multiport, and its type is inferred from the connections.

Class ptolemy.actor.lib.NonStrictTest extends Sink implements Serializable

Serialized Fields

correctValues

Parameter correctValues
A matrix specifying what the input should be. This defaults to a one-by-one array containing a boolean true.


tolerance

Parameter tolerance
A double specifying how close the input has to be to the value given by correctValues. This is a DoubleToken, with default value 10-9.


requireAllCorrectValues

Parameter requireAllCorrectValues
If true, and the number of tokens seen in wrapup() is not equal to or greater than the number of elements in the correctValues array, then throw an exception. The default value is true. This parameter is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


trainingMode

SharedParameter trainingMode
If true, then do not check inputs, but rather collect them into the correctValues array. This parameter is a boolean, and it defaults to false. It is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


_numberOfInputTokensSeen

int _numberOfInputTokensSeen
Number of input tokens seen by this actor in the fire method.


_tolerance

double _tolerance
A double that is read from the tolerance parameter specifying how close the input has to be to the value given by correctValues. This is a double, with default value 10-9.


_iteration

int _iteration
Count of iterations.


_trainingTokens

java.util.List<E> _trainingTokens
List to store tokens for training mode.


_firedOnce

boolean _firedOnce
Set to true if fire() is called once. If fire() is not called at least once, then throw an exception in wrapup().


_initialized

boolean _initialized
Set to true when initialized() is called.

Class ptolemy.actor.lib.OrderedMerge extends TypedAtomicActor implements Serializable

Serialized Fields

eliminateDuplicates

Parameter eliminateDuplicates
If true, eliminate duplicate tokens in the output stream. This is a boolean that defaults to false.


inputA

TypedIOPort inputA
The first input port, which accepts any scalar token.


inputA_tokenConsumptionRate

Parameter inputA_tokenConsumptionRate
The token consumption rate for inputA.


inputB

TypedIOPort inputB
The second input port, which accepts any scalar token with the same type as the first input port.


inputB_tokenConsumptionRate

Parameter inputB_tokenConsumptionRate
The token consumption rate for inputB.


output

TypedIOPort output
The output port, which has the same type as the input ports.


selectedA

TypedIOPort selectedA
Output port indicating whether the output token came from inputA.


_lastProduced

ScalarToken _lastProduced
The last produced token. Used to eliminate duplicates.


_nextPort

TypedIOPort _nextPort
The port from which to read next.


_readFromA

boolean _readFromA
Indicator of whether the _recordedToken was read from A.


_recordedToken

ScalarToken _recordedToken
The recorded token.


_tentativeLastProduced

ScalarToken _tentativeLastProduced
The tentative last produced token. Used to eliminate duplicates.


_tentativeReadFromA

boolean _tentativeReadFromA
Tentative indicator of having read from A.


_tentativeRecordedToken

ScalarToken _tentativeRecordedToken
The tentative recorded token.


_tentativeNextPort

TypedIOPort _tentativeNextPort
The tentative port from which to read next.

Class ptolemy.actor.lib.OrderedRecordAssembler extends RecordAssembler implements Serializable

Class ptolemy.actor.lib.PhaseUnwrap extends Transformer implements Serializable

Serialized Fields

_previousPhaseInput

double _previousPhaseInput

_tempPreviousPhaseInput

double _tempPreviousPhaseInput

_previousPhaseOutput

double _previousPhaseOutput

_tempPreviousPhaseOutput

double _tempPreviousPhaseOutput

Class ptolemy.actor.lib.PoissonClock extends RandomSource implements Serializable

Serialized Fields

fireAtStart

Parameter fireAtStart
If true, then this actor will request a firing at the start time. Otherwise, the first firing will be requested at the first random time. This is a boolean-valued parameter that defaults to true.


meanTime

Parameter meanTime
The mean time between events, where the output value transitions. This parameter must contain a DoubleToken.


stopTime

Parameter stopTime
The time at which postfire() should return false. This is a double that defaults to Infinity, which means that postfire() never returns false (or at least, doesn't do so due to stopTime having been exceeded).


values

Parameter values
The values that will be produced at the output. This parameter can contain any ArrayToken, and it defaults to {1, 0}.


_current

double _current

_executing

boolean _executing

_stopTime

Time _stopTime

Class ptolemy.actor.lib.Publisher extends TypedAtomicActor implements Serializable

Serialized Fields

channel

StringParameter channel
The name of the channel. Subscribers that reference this same channel will receive any transmissions to this port. This is a string that defaults to empty, indicating that no channel is specified. A channel must be set before the actor executes or an exception will occur.


input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the output.


output

TypedIOPort output
The output port. By default, the type of this output is constrained to be at least that of the input. This port is hidden by default and the actor handles creating connections to it.


_channel

java.lang.String _channel
Cached channel name.

Class ptolemy.actor.lib.PublisherNonStrictTest extends Publisher implements Serializable

Serialized Fields

correctValues

Parameter correctValues
A matrix specifying what the input should be. This defaults to a one-by-one array containing a boolean true.


tolerance

Parameter tolerance
A double specifying how close the input has to be to the value given by correctValues. This is a DoubleToken, with default value 10-9.


trainingMode

SharedParameter trainingMode
If true, then do not check inputs, but rather collect them into the correctValues array. This parameter is a boolean, and it defaults to false. It is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


_firedOnce

boolean _firedOnce
Set to true if fire() is called once. If fire() is not called at least once, then throw an exception in wrapup().


_initialized

boolean _initialized
Set to true when initialized() is called.


_iteration

int _iteration
Count of iterations.


_numberOfInputTokensSeen

int _numberOfInputTokensSeen
Number of input tokens seen by this actor in the fire method.


_tolerance

double _tolerance
A double that is read from the tolerance parameter specifying how close the input has to be to the value given by correctValues. This is a double, with default value 10-9.


_trainingTokens

java.util.List<E> _trainingTokens
List to store tokens for training mode.

Class ptolemy.actor.lib.PublisherTest extends PublisherNonStrictTest implements Serializable

Class ptolemy.actor.lib.Pulse extends SequenceSource implements Serializable

Serialized Fields

indexes

Parameter indexes
The indexes at which the specified values will be produced. This parameter is an array of integers, with default value {0, 1}.


repeat

Parameter repeat
The flag that indicates whether the pulse sequence needs to be repeated. This is a boolean, and defaults to false.


values

Parameter values
The values that will be produced at the specified indexes. This parameter is an array, with default value {1, 0}.


_iterationCount

int _iterationCount

_indexColCount

int _indexColCount

_zero

Token _zero

_match

boolean _match

_repeatFlag

boolean _repeatFlag

Class ptolemy.actor.lib.Quantizer extends Transformer implements Serializable

Serialized Fields

levels

Parameter levels
The quantization levels. This parameter contains an array of doubles with default value {-1.0, 1.0}.


_thresholds

double[] _thresholds

Class ptolemy.actor.lib.Ramp extends SequenceSource implements Serializable

Serialized Fields

init

Parameter init
The value produced by the ramp on its first iteration. If this value is changed during execution, then the new value will be the output on the next iteration. The default value of this parameter is the integer 0.


step

PortParameter step
The amount by which the ramp output is incremented on each iteration. The default value of this parameter is the integer 1.


_stateToken

Token _stateToken

_resultArray

Token[] _resultArray

Class ptolemy.actor.lib.RandomSource extends Source implements Serializable

Serialized Fields

resetOnEachRun

SharedParameter resetOnEachRun
If true, this parameter specifies that the random number generator should be reset on each run of the model (in the initialize() method). It is a boolean that defaults to false. This is a shared parameter, meaning that changing it somewhere in the model causes it to be changed everywhere in the model.


seed

SharedParameter seed
The seed that controls the random number generation. This is a shared parameter, meaning that all instances of RandomSource or derived classes in the same model share the same value. A seed of zero is interpreted to mean that no seed is specified, which means that each execution of the model could result in distinct data. For the value 0, the seed is set to System.currentTimeMillis() + hashCode(), which means that with extremely high probability, two distinct actors will have distinct seeds. However, current time may not have enough resolution to ensure that two subsequent executions of the same model have distinct seeds. For a value other than zero, the seed is set to that value plus the hashCode() of the full name of the actor. This means that with high probability, two distinct actors will have distinct, but repeatable seeds. This parameter contains a LongToken, initially with value 0.


_generatorSeed

long _generatorSeed
The current value of the seed parameter.


_needNew

boolean _needNew
Indicator that a new random number is needed.


_needNewGenerator

boolean _needNewGenerator
Indicator that a new generator is needed.


_random

java.util.Random _random
The Random object.

Class ptolemy.actor.lib.Reader extends Source implements Serializable

Serialized Fields

sourceURL

Parameter sourceURL
Deprecated. 
The URL of the file to read from. This parameter contains a StringToken. By default, it contains an empty string, which is interpreted to mean that input should be directed to the standard input. FIXME: Should this bring up a dialog box to type (or select) a URL?


refresh

Parameter refresh
Deprecated. 
Refresh between each readings. Default is false.


_reader

java.io.BufferedReader _reader
Deprecated. 

_source

java.lang.String _source
Deprecated. 

_data

double[] _data
Deprecated. 

_dataSize

int _dataSize
Deprecated. 

Class ptolemy.actor.lib.RecordAssembler extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. Its type is constrained to be a RecordType.


_typeConstraints

java.util.Set<E> _typeConstraints
Cached list of type constraints.


_typeConstraintsVersion

long _typeConstraintsVersion
Version number when the cache was last updated.

Class ptolemy.actor.lib.RecordDisassembler extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. Its type is constrained to be a RecordType.

Class ptolemy.actor.lib.Recorder extends Sink implements Serializable

Serialized Fields

capacity

Parameter capacity
The capacity of the record for each channel. This parameter must contain an IntToken.


_count

int _count

_records

java.util.List<E> _records

_latest

Token[] _latest

_timeRecord

java.util.List<E> _timeRecord

Class ptolemy.actor.lib.RecordUpdater extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. Its type is constrained to be a RecordType.


input

TypedIOPort input
The input port. Its type is constrained to be a RecordType.

Class ptolemy.actor.lib.RecursiveLattice extends Transformer implements Serializable

Serialized Fields

reflectionCoefficients

Parameter reflectionCoefficients
The reflection coefficients. This is an array of doubles with default value {0.804534, -0.820577, 0.521934, -0.205}. These are the reflection coefficients for the linear predictor of a particular random process.


_backward

double[] _backward

_backwardCache

double[] _backwardCache

_forward

double[] _forward

_forwardCache

double[] _forwardCache

_reflectionCoefficients

double[] _reflectionCoefficients

Class ptolemy.actor.lib.Remainder extends Transformer implements Serializable

Serialized Fields

divisor

Parameter divisor
The divisor for calculating the remainder. This is a double with default value 1.0.

Class ptolemy.actor.lib.RemoveNilTokens extends Transformer implements Serializable

Class ptolemy.actor.lib.ResettableTimer extends Transformer implements Serializable

Serialized Fields

preemptive

Parameter preemptive
Indicator of whether new inputs cancel previous requests. This is a boolean that defaults to true.


value

Parameter value
The value produced at the output. This can have any type, and it defaults to a boolean token with value true.


_pendingOutputTime

Time _pendingOutputTime
Pending output time.


_pendingOutputMicrostep

int _pendingOutputMicrostep
Pending output microstep.


_pendingRequests

CalendarQueue _pendingRequests
A local queue to store the pending requests.

Class ptolemy.actor.lib.Rician extends RandomSource implements Serializable

Serialized Fields

xMean

Parameter xMean
The mean of the random number along the X-axis. This parameter contains a DoubleToken, initially with value 0.0.


yMean

Parameter yMean
The mean of the random number along the Y-axis. This parameter contains a DoubleToken, initially with value 0.0.


standardDeviation

Parameter standardDeviation
The standard deviation of the random number. This parameter contains a DoubleToken, initially with value 1.0.


_current

double _current

Class ptolemy.actor.lib.Scale extends Transformer implements Serializable

Serialized Fields

factor

Parameter factor
The factor. This parameter can contain any scalar token that supports multiplication. The default value of this parameter is the IntToken 1.


scaleOnLeft

Parameter scaleOnLeft
Multiply on the left. This parameter controls whether the scale factor is multiplied on the left. The default value is a boolean token of value true. Setting is to false will multiply the factor on the right.

Class ptolemy.actor.lib.Select extends Transformer implements Serializable

Serialized Fields

control

TypedIOPort control
Input port for control tokens, which specify the output channel to produce data on. The type is int.


_control

int _control

Class ptolemy.actor.lib.Sequence extends TypedAtomicActor implements Serializable

Serialized Fields

enable

TypedIOPort enable
The enable input port. If this port is connected, then its input will determine whether an output is produced in any given firing. The type is boolean.


holdLastOutput

Parameter holdLastOutput
A flag indicating whether to interpret the values as an infinite sequence where the last value is repeated forever. This is a boolean that defaults to false.


output

TypedIOPort output
The output port. The type is greater than or equal to the types of the two input ports.


repeat

Parameter repeat
The flag that indicates whether the sequence needs to be repeated. If this is false, then either the last value of the sequence is repeatedly produced after the entire sequence has been produced, or the actor stops producing output, depending on the value of holdLastOutput. This is a boolean, and defaults to false.


values

Parameter values
The values that will be produced on the output. This parameter is an array, with default value {1}.


_currentIndex

int _currentIndex

_outputProduced

boolean _outputProduced

Class ptolemy.actor.lib.Sequencer extends Transformer implements Serializable

Serialized Fields

sequenceNumber

TypedIOPort sequenceNumber
Input for the sequence number. The type is int.


startingSequenceNumber

Parameter startingSequenceNumber
The first number of the sequence. This is an int that defaults to 0.


_fireProducedOutput

boolean _fireProducedOutput

_nextSequenceNumber

int _nextSequenceNumber

_nextToken

Token _nextToken

_pending

java.util.TreeMap<K,V> _pending

_sequenceNumberOfInput

int _sequenceNumberOfInput

Class ptolemy.actor.lib.SequenceSource extends LimitedFiringSource implements Serializable

Class ptolemy.actor.lib.SequentialClock extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
Deprecated. 
The output port. The type of this port is determined by from the values parameter.


offsets

Parameter offsets
Deprecated. 
The offsets at which the specified values will be produced. This parameter must contain an array of doubles, and it defaults to {0.0, 1.0}.


period

Parameter period
Deprecated. 
The period of the output waveform. This parameter must contain a DoubleToken, and defaults to 2.0.


values

Parameter values
Deprecated. 
The values that will be produced at the specified offsets. This parameter must contain an ArrayToken, and defaults to {1, 0}.


_firstFiring

boolean _firstFiring
Deprecated. 

Class ptolemy.actor.lib.SetVariable extends TypedAtomicActor implements Serializable

Serialized Fields

delayed

Parameter delayed
Parameter that determines when reconfiguration occurs.


input

TypedIOPort input
The input port.


output

TypedIOPort output
The output port.


variableName

StringAttribute variableName
The name of the variable in the container to set.


_attribute

Attribute _attribute
Cached reference to the associated variable.


_attributeVersion

long _attributeVersion
Workspace version for the cached attribute reference.


_setFailed

boolean _setFailed
Indicator that setting the variable failed.

Class ptolemy.actor.lib.SingleTokenCommutator extends Transformer implements Serializable

Serialized Fields

_currentInputPosition

int _currentInputPosition

Class ptolemy.actor.lib.Sink extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port, which is a multiport.

Class ptolemy.actor.lib.Sleep extends Transformer implements Serializable

Serialized Fields

sleepTime

PortParameter sleepTime
The sleep time in milliseconds. This has type long and default "0L".


_wasSleepCalledInFireYet

boolean _wasSleepCalledInFireYet
True if sleep was called in fire(). Thread.sleep() should only be called once in fire().

Class ptolemy.actor.lib.Source extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. The type of this port is unspecified. Derived classes may set it.


trigger

TypedIOPort trigger
The trigger port. The type of this port is undeclared, meaning that it will resolve to any data type.

Class ptolemy.actor.lib.Stop extends Sink implements Serializable

Serialized Fields

_hideName

SingletonParameter _hideName
The parameter that hides the name of the actor. The default value is true.

Class ptolemy.actor.lib.StringConst extends Const implements Serializable

Class ptolemy.actor.lib.SubMatrix extends Transformer implements Serializable

Serialized Fields

column

PortParameter column
The starting column number. This is an integer that defaults to 0.


columnSpan

PortParameter columnSpan
The span of columns. This is an integer that defaults to 1.


row

PortParameter row
The starting row number. This is an integer that defaults to 0.


rowSpan

PortParameter rowSpan
The span of rows. This is an integer that defaults to 1.

Class ptolemy.actor.lib.Subscriber extends TypedAtomicActor implements Serializable

Serialized Fields

channel

StringParameter channel
The name of the channel. Subscribers that reference this same channel will receive any transmissions to this port. This is a string that defaults to "channel1".


input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the output.


output

TypedIOPort output
The output port. By default, the type of this output is constrained to be at least that of the input. This port is hidden by default and the actor handles creating connections to it.


_channel

java.lang.String _channel
Cached channel name.

Class ptolemy.actor.lib.SubscriptionAggregator extends Subscriber implements Serializable

Serialized Fields

operation

StringParameter operation
The operation used to aggregate the data produced by matching publishers. The choices are "add" and "multiply". Note that "multiply" is a poor choice if the data type has a non-commutative multiplication operation (e.g. matrix types) because the result will be nondeterministic. This is a string that defaults to "add".


_addOperation

boolean _addOperation
Indicator that the operation is "add" rather than "multiply".


_channelPattern

java.util.regex.Pattern _channelPattern
Regex Pattern for _channelName.

Class ptolemy.actor.lib.Switch extends Transformer implements Serializable

Serialized Fields

control

TypedIOPort control
Input port for control tokens, which specify the output channel to produce data on. The type is int.


_control

int _control

Class ptolemy.actor.lib.Synchronizer extends Transformer implements Serializable

Class ptolemy.actor.lib.Test extends NonStrictTest implements Serializable

Serialized Fields

output

TypedIOPort output
Boolean output that is false as long as there is data to compare against the input, but becomes true on the first firing after such data has been exhausted.

Class ptolemy.actor.lib.TestExceptionHandler extends TypedAtomicActor implements Serializable

Serialized Fields

trainingMode

SharedParameter trainingMode
If true, then collect the exception message and set the correctExceptionMessage parameter with the content of the exception. This parameter is a boolean, and it defaults to false. It is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


correctExceptionMessage

StringParameter correctExceptionMessage
The correct exception message to be compared against.


_invoked

boolean _invoked

Class ptolemy.actor.lib.ThrowException extends Sink implements Serializable

Serialized Fields

message

StringAttribute message
The message reported in the exception, which is a string that defaults to "Model triggered an exception".

Class ptolemy.actor.lib.ThrowModelError extends Sink implements Serializable

Serialized Fields

message

StringAttribute message
The message reported in the exception.

Class ptolemy.actor.lib.TimeDelay extends Transformer implements Serializable

Serialized Fields

delay

Parameter delay
The amount of delay. The default for this parameter is 1.0. This parameter must contain a DoubleToken with a non-negative value, or an exception will be thrown when it is set.


_currentOutput

Token _currentOutput
Current output.


_delay

double _delay
The amount of delay.


_delayedOutputTokens

CalendarQueue _delayedOutputTokens
A local event queue to store the delayed output tokens.


_causalityMarker

CausalityMarker _causalityMarker
A causality marker to store information about how pure events are causally related to trigger events.

Class ptolemy.actor.lib.TimedSource extends Source implements Serializable

Serialized Fields

stopTime

Parameter stopTime
The time at which postfire() should return false. This is a double that defaults to Infinity, which means that postfire() never returns false (or at least, doesn't do so due to stopTime having been exceeded).


stopTimeIsLocal

Parameter stopTimeIsLocal
If true, use the local time to compare against the stopTime parameter, rather than the global time. Local time may differ from global time inside modal models and certain domains that manipulate time. This is a boolean that defaults to false.


_executing

boolean _executing

_stopTime

Time _stopTime

Class ptolemy.actor.lib.TopLevelCurrentTime extends TimedSource implements Serializable

Class ptolemy.actor.lib.Transformer extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the output.


output

TypedIOPort output
The output port. By default, the type of this output is constrained to be at least that of the input.

Class ptolemy.actor.lib.Triangular extends RandomSource implements Serializable

Serialized Fields

min

PortParameter min
The minimum value. This parameter contains a DoubleToken, initially with value 0.0.


max

PortParameter max
The maximum value. This parameter contains a DoubleToken, initially with value 1.0.


mode

PortParameter mode
The mode of the distribution (peak of triangle). This parameter contains a DoubleToken, initially with value 0.5.


_current

double _current

Class ptolemy.actor.lib.TrigFunction extends Transformer implements Serializable

Serialized Fields

function

StringParameter function
The function to compute. This is a string-valued attribute that defaults to "sin".


_resultArray

DoubleToken[] _resultArray

_function

int _function

Class ptolemy.actor.lib.TriggeredClock extends Clock implements Serializable

Serialized Fields

start

TypedIOPort start
A port that, if connected, is used to specify when the clock starts. This port has undeclared type.


stop

TypedIOPort stop
A port that, if connected, is used to specify when the clock stops. This port has undeclared type.