Package ptolemy.actor.gui

Examples of ptolemy.actor.gui.TableauFrame$ExtensionFileFilter


                _tableau = new Tableau(_effigy, "tableau");
            } catch (NameDuplicationException e) {
                throw new IllegalActionException(this, e,
                        "Failed to create tableau.");
            }
            _frame = new TableauFrame(_tableau);
            setFrame(_frame);
            _tableau.setFrame(_frame);
            place(_frame.getContentPane());
            _frame.pack();
        }
View Full Code Here


                    // no good for two reasons: Wrong title bar label,
                    // and it causes a save-as to destroy the original window.
                    _effigy.identifier.setExpression(getFullName());

                    // The second argument prevents a status bar.
                    _frame = new TableauFrame(null, null, this);
                    _tableau = new MatrixTokenTableau(_effigy, "tokenTableau",
                            (TableauFrame) _frame);
                    ((TableauFrame) _frame).setTableau(_tableau);
                    setFrame(_frame);
                    _tableau.show();
View Full Code Here

    public void createFrame(TableauFrame frame) throws IllegalActionException {
        TokenEffigy effigy = (TokenEffigy) getContainer();

        if (frame == null) {
            // The second argument prevents a status bar.
            frame = new TableauFrame(this, null);
        }

        setFrame(frame);
        _picture = new Picture(_oldxsize, _oldysize);
        frame.getContentPane().add(_picture, BorderLayout.CENTER);
View Full Code Here

        gridLayout.setHgap(5);
        JPanel helpPanel = new JPanel(gridLayout);
        helpPanel.setBorder(BorderFactory.createEmptyBorder(3, 5, 0, 5));
        helpPanel.setPreferredSize(new Dimension(0, 25));

        TableauFrame owner = _owner instanceof TableauFrame ? (TableauFrame) _owner
                : null;

        helpPanel.add(new HelpLabel("Normal text only",
                _NON_REGULAR_EXPRESSION_BACKGROUND));
        try {
View Full Code Here

                _tableau = new Tableau(containerEffigy, "tableau");
            } catch (NameDuplicationException e) {
                throw new IllegalActionException(this, e,
                        "Failed to create tableau.");
            }
            _frame = new TableauFrame(_tableau);
            setFrame(_frame);
            _tableau.setFrame(_frame);
            place(_frame.getContentPane());
            _frame.pack();
        }
View Full Code Here

TOP

Related Classes of ptolemy.actor.gui.TableauFrame$ExtensionFileFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.