001package jmri.jmrit.throttle;
002
003import jmri.jmrit.catalog.NamedIcon;
004
005public class SmallPowerManagerButton extends PowerManagerButton {
006
007    public SmallPowerManagerButton(Boolean fullText) {
008        super(fullText);
009    }
010
011    public SmallPowerManagerButton() {
012        super();
013    }
014    
015    @Override
016    protected void initComponents() {
017        setBorderPainted(false);
018    }
019
020    @Override
021    protected void loadIcons() {
022        setPowerOnIcon(new NamedIcon("resources/icons/throttles/GreenPowerLED.gif", "resources/icons/throttles/GreenPowerLED.gif"));
023        setPowerOffIcon(new NamedIcon("resources/icons/throttles/RedPowerLED.gif", "resources/icons/throttles/RedPowerLED.gif"));
024        setPowerUnknownIcon(new NamedIcon("resources/icons/throttles/YellowPowerLED.gif", "resources/icons/throttles/YellowPowerLED.gif"));
025    }
026
027}