Package org.jsynthlib.device.model

Examples of org.jsynthlib.device.model.AbstractSender


    @SuppressWarnings("unchecked")
    void setSender(MidiSender midiSenderSpec, ISender sender) {
        midiSenderSpec.setSenderClass(sender.getClass().getName());
        if (sender instanceof AbstractSender) {
            AbstractSender aSender = (AbstractSender) sender;
            PropertySpec property = midiSenderSpec.addNewProperty();
            property.setName("offset");
            property.setValue(Integer.toString(aSender.getOffset()));
        } else {
            try {
                Map<String, String> map =
                        BeanUtilsBean.getInstance().describe(sender);
                Iterator<Entry<String, String>> iterator =
View Full Code Here

TOP

Related Classes of org.jsynthlib.device.model.AbstractSender

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.