Package org.jsynthlib.xmldevice

Examples of org.jsynthlib.xmldevice.EnvelopeSpec


        }
    }

    void handleEnvelope(PatchParams patchParams, EnvelopeWidget envWidget)
            throws IllegalAccessException, NoSuchFieldException {
        EnvelopeSpec envelopeSpec = patchParams.addNewEnvelopeSpec();
        envelopeSpec.setName(envWidget.getLabel());
        envelopeSpec.setUuid(generateUuid());

        Node[] nodes = envWidget.getNodes();
        for (Node node : nodes) {
            EnvelopeNodeSpec nodeSpec = envelopeSpec.addNewEnvelopeNodeSpec();
            XEnvelopeParamSpec xParam = nodeSpec.addNewXParam();
            YEnvelopeParamSpec yParam = nodeSpec.addNewYParam();
            xParam.setInvert(node.isInvertX());
            xParam.setMax(node.getMaxX());
            if (node.getSenderX() != null) {
View Full Code Here

TOP

Related Classes of org.jsynthlib.xmldevice.EnvelopeSpec

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.