Package edu.mit.blocks.codeblockutil

Examples of edu.mit.blocks.codeblockutil.Explorer


     * If event is of type "2" then shows the Minimize page button
     * Event type details can be found in the GlassExplorerEvent class
     */
    @Override
    public void explorerEventOccurred(ExplorerEvent event) {
        final Explorer exp = event.getSource();
        if (event.getEventType() == 1) {
            for (final Page p : blockCanvas.getLeftmostPages(exp.getSelectedCanvasWidth())) {
                p.disableMinimize();
            }
        } else if (event.getEventType() == 2) {
            for (final Page p : blockCanvas.getLeftmostPages(exp.getSelectedCanvasWidth())) {
                p.enableMinimize();
            }
        }
    }
View Full Code Here

TOP

Related Classes of edu.mit.blocks.codeblockutil.Explorer

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.