001package jmri.jmrit.display.layoutEditor; 002 003import java.awt.geom.Point2D; 004 005import javax.annotation.Nonnull; 006 007/** 008 * MVC View component for the LayoutLHTurnout class. 009 * 010 * @author Bob Jacobsen Copyright (c) 2020 011 * 012 */ 013public class LayoutLHTurnoutView extends LayoutTurnoutView { 014 015 /** 016 * Constructor method. 017 * @param turnout the layout left hand turnout to create view for. 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 LayoutLHTurnoutView(@Nonnull LayoutLHTurnout turnout, 025 @Nonnull Point2D c, double rot, 026 double xFactor, double yFactor, 027 @Nonnull LayoutEditor layoutEditor) { 028 super(turnout, c, rot, xFactor, yFactor, layoutEditor); 029 030 // this.turnout = turnout; 031 032 editor = new jmri.jmrit.display.layoutEditor.LayoutEditorDialogs.LayoutLHTurnoutEditor(layoutEditor); 033 } 034 035 // final private LayoutLHTurnout turnout; 036 037 // private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LayoutLHTurnoutView.class); 038}