Package fr.soleil.salsa.entity.event

Examples of fr.soleil.salsa.entity.event.ActuatorModel


                        view.clearActuators();
                        if (actuators != null) {
                            for (int i = 0; i < actuators.size(); i++) {
                                IActuator a = actuators.get(i);
                                if (a.isEnabled()) {
                                    ActuatorModel eActuator = (ActuatorModel) a;
                                    eActuator.addListener(actuatorListener);
                                    view.addActuator(a.getName(), a.getName());
                                    if (i == postScanBehaviour.getActuator()) {
                                        view.setActuatorSelected(i);
                                    }
                                }
View Full Code Here


    @Override
    public void addActuator(String actuatorName, boolean yActuator) {
        List<IActuator> actuatorList = getActuatorList();
        if (getDevice(actuatorName, actuatorList) == null) {
            IActuator device = new ActuatorModel();
            device.setName(actuatorName);
            device.setEnabled(true);

            IDimension dimension = getDimensionX();
            if (yActuator && (this instanceof IConfig2D)) {
                dimension = ((IConfig2D) this).getDimensionY();
            }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.event.ActuatorModel

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.