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