Class VisibleParameterEditorFactory

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

    public class VisibleParameterEditorFactory
    extends EditorFactory
    If this class is contained by a settable attribute, then double clicking on that attribute will invoke an editor for only that parameter. This is contrary to the the double-click action for most objects, which edits the parameters they contain.. This class is contained by visible parameters in the Vergil utilities library.
    Since:
    Ptolemy II 2.0
    Version:
    $Id$
    Author:
    Steve Neuendorffer
    Pt.AcceptedRating:
    Red (johnr)
    Pt.ProposedRating:
    Red (eal)
    • Constructor Detail

    • Method Detail

      • createEditor

        public void createEditor​(NamedObj object,
                                 java.awt.Frame parent)
        Create an editor for configuring the specified object.
        Specified by:
        createEditor in interface Editable
        Specified by:
        createEditor in class EditorFactory
        Parameters:
        object - The object to configure.
        parent - The parent window, or null if there is none.
      • createEditorPane

        public java.awt.Component createEditorPane()
        Return a new widget for configuring the container. This class returns a new PtolemyQuery that references the container, assuming that that container is a settable attribute.
        Returns:
        A new widget for configuring the container.