Class DebugListenerTableau

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

    public class DebugListenerTableau
    extends Tableau
    A tableau representing a debug listener window. The constructor of this class creates the window. You must then attached any object implementing the Debuggable interface using the setDebuggable() method. Once attached, the window will display any debug messages produced by that object. The listener window itself is an instance of the inner class DebugListenerFrame, which extends TextEditor, and can be accessed using the getFrame() method. As with other tableaux, this is an entity that is contained by an effigy of the model. There can be any number of instances of this class in an effigy.
    Since:
    Ptolemy II 1.0
    Version:
    $Id$
    Author:
    Steve Neuendorffer and Edward A. Lee, Elaine Cheong
    See Also:
    Effigy
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Yellow (eal)
    • Method Detail

      • getDebuggable

        public Debuggable getDebuggable()
        Return the object that this tableau is listening to, or null if none has been set.
        Returns:
        The current debuggable.
        See Also:
        setDebuggable(Debuggable)
      • setDebuggable

        public void setDebuggable​(Debuggable debuggable)
        Set the object for this tableau to listen to, or null to stop listening to the current one. If this tableau is already listening to an object, then first stop listening to that object. Set the title of the window to show name of object.
        Parameters:
        debuggable - The object to listen to.
        See Also:
        getDebuggable()