Package de.dermoba.srcp.model.power

Examples of de.dermoba.srcp.model.power.SRCPPowerSupplyChangeListener


            setTitle(AdHocRailway.TITLE + " [" + url + "]");
        }
        initProceeded("Loading Control Layer (Power Supplies)");
        powerControl = SRCPPowerControl.getInstance();
        powerControl.addPowerSupplyChangeListener
            (new SRCPPowerSupplyChangeListener() {
            @Override
            public void powerSupplyChanged(SRCPPowerSupply powerSupply) {
                if (daemonPowerOnItem != null) {
                    daemonPowerOnItem.setEnabled
                        (!powerControl.isCommonState(SRCPPowerState.ON));
View Full Code Here

TOP

Related Classes of de.dermoba.srcp.model.power.SRCPPowerSupplyChangeListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.