001package jmri.jmrit.display.layoutEditor;
002
003import java.awt.geom.Point2D;
004
005import javax.annotation.Nonnull;
006
007/**
008 * MVC View component for the LayoutXOver class.
009 *
010 * @author Bob Jacobsen  Copyright (c) 2020
011 * 
012 */
013public class LayoutXOverView extends LayoutTurnoutView {
014
015    /**
016     * Constructor method.
017     * @param xover the layout crossover
018     * @param c displays location
019     * @param rot for display
020     * @param xFactor for display
021     * @param yFactor for display
022     * @param layoutEditor for access to tools
023     */
024    public LayoutXOverView(@Nonnull LayoutXOver xover, 
025            @Nonnull Point2D c, double rot,
026            double xFactor, double yFactor, 
027            @Nonnull LayoutEditor layoutEditor) {
028        super(xover, c, rot, xFactor, yFactor, layoutEditor);
029        // this.xover = xover;
030
031        editor = new jmri.jmrit.display.layoutEditor.LayoutEditorDialogs.LayoutXOverEditor(layoutEditor);
032    }
033        
034    // final private LayoutXOver xover;
035
036    // private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LayoutXOverView.class);
037}