001package jmri.jmrit.display.layoutEditor;
002
003import java.awt.geom.Point2D;
004
005import javax.annotation.Nonnull;
006
007/**
008 * MVC View component for the LayoutRHTurnout class.
009 *
010 * @author Bob Jacobsen  Copyright (c) 2020
011 * 
012 */
013public class LayoutRHTurnoutView extends LayoutTurnoutView {
014
015    /**
016     * Constructor method.
017     * @param turnout the turnout to view.
018     * @param c       where to put it
019     * @param rot     for display
020     * @param xFactor     for display
021     * @param yFactor     for display
022     * @param layoutEditor what layout editor panel to put it in
023     */
024    public LayoutRHTurnoutView(@Nonnull LayoutRHTurnout 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.LayoutRHTurnoutEditor(layoutEditor);
033    }
034        
035    // final private LayoutRHTurnout turnout;
036
037    // private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LayoutRHTurnoutView.class);
038}