Package com.cburch.logisim.gui.generic

Examples of com.cburch.logisim.gui.generic.CardPanel


    // set up the left-side components
    ToolbarModel projectToolbarModel = new ExplorerToolbarModel(this, menuListener);
    projectToolbar = new Toolbar(projectToolbarModel);
    toolbox = new Toolbox(proj, menuListener);
    simExplorer = new SimulationExplorer(proj, menuListener);
    explorerPane = new CardPanel();
    explorerPane.addView(VIEW_TOOLBOX, toolbox);
    explorerPane.addView(VIEW_SIMULATION, simExplorer);
    explorerPane.setView(VIEW_TOOLBOX);
    attrTable = new AttrTable(this);
    zoom = new ZoomControl(layoutZoomModel);

    // set up the central area
    CanvasPane canvasPane = new CanvasPane(layoutCanvas);
    mainPanelSuper = new JPanel(new BorderLayout());
    canvasPane.setZoomModel(layoutZoomModel);
    mainPanel = new CardPanel();
    mainPanel.addView(EDIT_LAYOUT, canvasPane);
    mainPanel.setView(EDIT_LAYOUT);
    mainPanelSuper.add(mainPanel, BorderLayout.CENTER);

    // set up the contents, split down the middle, with the canvas
View Full Code Here


        // set up the left-side components
        ToolbarModel projectToolbarModel = new ExplorerToolbarModel(this, menuListener);
        projectToolbar = new Toolbar(projectToolbarModel);
        toolbox = new Toolbox(proj, menuListener);
        simExplorer = new SimulationExplorer(proj, menuListener);
        explorerPane = new CardPanel();
        explorerPane.addView(VIEW_TOOLBOX, toolbox);
        explorerPane.addView(VIEW_SIMULATION, simExplorer);
        explorerPane.setView(VIEW_TOOLBOX);
        attrTable = new AttrTable(this);
        zoom = new ZoomControl(layoutZoomModel);

        // set up the central area
        CanvasPane canvasPane = new CanvasPane(layoutCanvas);
        mainPanelSuper = new JPanel(new BorderLayout());
        canvasPane.setZoomModel(layoutZoomModel);
        mainPanel = new CardPanel();
        mainPanel.addView(EDIT_LAYOUT, canvasPane);
        mainPanel.setView(EDIT_LAYOUT);
        mainPanelSuper.add(mainPanel, BorderLayout.CENTER);

        // set up the contents, split down the middle, with the canvas
View Full Code Here

TOP

Related Classes of com.cburch.logisim.gui.generic.CardPanel

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.