Package diva.gui

Examples of diva.gui.View


        _documents.removeElement(d);

        List views = (List) _documentMap.get(d);

        for (Iterator i = views.iterator(); i.hasNext();) {
            View v = (View) i.next();
            i.remove();
            removeView(v);
        }

        _documentMap.remove(d);
View Full Code Here


    }

    private class MDIViewListener extends ViewAdapter {
        public void viewSelected(ViewEvent e) {
            JComponent jc = e.getView();
            View view = getView(jc);

            // FIXME: for some reason, closing
            //        a view also causes that view
            //        to be selected after it is
            //        closed?
View Full Code Here

            }
        }

        public void viewClosing(ViewEvent e) {
            JComponent jc = e.getView();
            View view = getView(jc);

            // FIXME: avoid circular loop with the
            // removeDocument method (if the
            // file is closed from the menu,
            // rather than by clicking the X in
View Full Code Here

TOP

Related Classes of diva.gui.View

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.