001package jmri.jmrit.display.layoutEditor;
002
003import java.awt.geom.Point2D;
004
005import javax.annotation.Nonnull;
006
007/**
008 * MVC View component for the LayoutDoubleXOver class.
009 *
010 * @author Bob Jacobsen  Copyright (c) 2020
011 * 
012 */
013public class LayoutDoubleXOverView extends LayoutXOverView {
014
015    /**
016     * Constructor method.
017     * @param xover the layout double crossover to view.
018     * @param c 2D point.
019     * @param rot rotation.
020     * @param xFactor horizontal factor.
021     * @param yFactor vertical factor.
022     * @param layoutEditor main layout editor.
023     */
024    public LayoutDoubleXOverView(@Nonnull LayoutDoubleXOver 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.LayoutDoubleXOverEditor(layoutEditor);
032    }
033        
034    // final private LayoutDoubleXOver xover;
035
036    // private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LayoutDoubleXOverView.class);
037}