Class TextEditorTableau

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

    public class TextEditorTableau
    extends Tableau
    A tableau representing a text window. The constructor of this class creates the window. The text window itself is an instance of TextEditor, and can be accessed using the getFrame() method. As with other tableaux, this is an entity that is contained by an effigy of a 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
    See Also:
    Effigy
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Yellow (eal)
    • Method Detail

      • setEditable

        public void setEditable​(boolean flag)
        Make the tableau editable or uneditable. Notice that this does not change whether the effigy is modifiable, so other tableaux on the same effigy may still modify the associated file.
        Overrides:
        setEditable in class Tableau
        Parameters:
        flag - False to make the tableau uneditable.
        See Also:
        Tableau.isEditable()
      • show

        public void show()
        Make this tableau visible by calling setVisible(true), and raising or deiconifying its window. If no frame has been set, then do nothing.
        Overrides:
        show in class Tableau