Class ArrayOfRecordsConfigureFactory

  • All Implemented Interfaces:
    java.lang.Cloneable, Editable, Changeable, Debuggable, DebugListener, Derivable, ModelErrorHandler, MoMLExportable, Moveable, Nameable

    public class ArrayOfRecordsConfigureFactory
    extends EditorFactory
    If this class is contained by an actor, then double clicking on that actor will display a table that shows the value of an array of tokens contained by a parameter contained by the same container as this factory. The name of the parameter is given by the parameterName attribute of this factory. It is required that the parameter contain an array of records.
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Edward A. Lee
    Pt.AcceptedRating:
    Red (ptolemy)
    Pt.ProposedRating:
    Yellow (eal)
    • Field Detail

      • columns

        public Parameter columns
        The names of the fields to be displayed from the records, in the order in which they should be displayed. This is required to be an array of string tokens. This defaults to null (no value) which results in all fields being displayed in alphabetical order.
      • parameterName

        public StringParameter parameterName
        The name of the attribute that is to be displayed. That attribute is required to contain an array of record tokens.
    • Constructor Detail

    • Method Detail

      • createEditor

        public void createEditor​(NamedObj object,
                                 java.awt.Frame parent)
        Create a top-level viewer for the specified object with the specified parent window.
        Specified by:
        createEditor in interface Editable
        Specified by:
        createEditor in class EditorFactory
        Parameters:
        object - The object to configure, which is required to contain a parameter with name matching parameterName and value that is an array of records.
        parent - The parent window, which is required to be an instance of TableauFrame.