Package com.cburch.logisim.gui.generic

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


    computeTitle();
   
    // set up elements for the Layout view
    layoutToolbarModel = new LayoutToolbarModel(this, proj);
    layoutCanvas = new Canvas(proj);
    layoutZoomModel = new BasicZoomModel(AppPreferences.LAYOUT_SHOW_GRID,
        AppPreferences.LAYOUT_ZOOM, ZOOM_OPTIONS);

    layoutCanvas.getGridPainter().setZoomModel(layoutZoomModel);
    layoutEditHandler = new LayoutEditHandler(this);
    attrTableSelectionModel = new AttrTableSelectionModel(proj, this);
View Full Code Here


  public AppearanceView() {
    attrs = new DrawingAttributeSet();
    SelectTool selectTool = new SelectTool();
    canvas = new AppearanceCanvas(selectTool);
    toolbarModel = new AppearanceToolbarModel(selectTool, canvas, attrs);
    zoomModel = new BasicZoomModel(AppPreferences.APPEARANCE_SHOW_GRID,
        AppPreferences.APPEARANCE_ZOOM, ZOOM_OPTIONS);
    canvas.getGridPainter().setZoomModel(zoomModel);
    attrTableManager = null;
    canvasPane = new CanvasPane(canvas);
    canvasPane.setZoomModel(zoomModel);
View Full Code Here

        computeTitle();

        // set up elements for the Layout view
        layoutToolbarModel = new LayoutToolbarModel(this, proj);
        layoutCanvas = new Canvas(proj);
        layoutZoomModel = new BasicZoomModel(AppPreferences.LAYOUT_SHOW_GRID,
                AppPreferences.LAYOUT_ZOOM, ZOOM_OPTIONS);

        layoutCanvas.getGridPainter().setZoomModel(layoutZoomModel);
        layoutEditHandler = new LayoutEditHandler(this);
        attrTableSelectionModel = new AttrTableSelectionModel(proj, this);
View Full Code Here

    public AppearanceView() {
        attrs = new DrawingAttributeSet();
        SelectTool selectTool = new SelectTool();
        canvas = new AppearanceCanvas(selectTool);
        toolbarModel = new AppearanceToolbarModel(selectTool, canvas, attrs);
        zoomModel = new BasicZoomModel(AppPreferences.APPEARANCE_SHOW_GRID,
                AppPreferences.APPEARANCE_ZOOM, ZOOM_OPTIONS);
        canvas.getGridPainter().setZoomModel(zoomModel);
        attrTableManager = null;
        canvasPane = new CanvasPane(canvas);
        canvasPane.setZoomModel(zoomModel);
View Full Code Here

TOP

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

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.