001package jmri.jmrit.throttle.buttons;
002
003import jmri.jmrit.catalog.NamedIcon;
004
005/**
006 * 
007 * A Large button handling layout power
008 * 
009 * <hr>
010 * This file is part of JMRI.
011 * <p>
012 * JMRI is free software; you can redistribute it and/or modify it under the
013 * terms of version 2 of the GNU General Public License as published by the Free
014 * Software Foundation. See the "COPYING" file for a copy of this license.
015 * <p>
016 * JMRI is distributed in the hope that it will be useful, but WITHOUT ANY
017 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
018 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
019 *
020 */
021
022public class LargePowerManagerButton extends PowerManagerButton {
023
024    public LargePowerManagerButton(Boolean fullText) {
025        super(fullText);
026    }
027
028    public LargePowerManagerButton() {
029        super();
030    }
031
032    @Override
033    protected void loadIcons() {
034        setPowerOnIcon(new NamedIcon("resources/icons/throttles/power_green.png", "resources/icons/throttles/power_green.png"));
035        setPowerOffIcon(new NamedIcon("resources/icons/throttles/power_red.png", "resources/icons/throttles/power_red.png"));
036        setPowerUnknownIcon(new NamedIcon("resources/icons/throttles/power_yellow.png", "resources/icons/throttles/power_yellow.png"));
037    }
038
039}