Examples of VoiceParameterSelection


Examples of com.pcmsolutions.device.EMU.E4.selections.VoiceParameterSelection

            }
            Object obj = getModel().getValueAt(row, 0);

            Integer[] ids = (Integer[]) idList.toArray(new Integer[idList.size()]);
            if (obj instanceof ReadablePreset.ReadableVoice)
                return new VoiceParameterSelection((ReadablePreset.ReadableVoice) obj, ids);
            else if (obj instanceof ReadablePreset.ReadableVoice.ReadableZone)
                return new VoiceParameterSelection(((ReadablePreset.ReadableVoice.ReadableZone) obj).getVoice(), ids, ((ReadablePreset.ReadableVoice.ReadableZone) obj).getZoneParams(ids));
            else
                throw new IllegalStateException("column 0 is not a voice nor a zone");
        }
        return null;
    }
View Full Code Here

Examples of com.pcmsolutions.device.EMU.E4.selections.VoiceParameterSelection

            }

        Integer[] arrIds = new Integer[ids.size()];
        ids.toArray(arrIds);
        try {
            return new VoiceParameterSelection(voice, arrIds, VoiceParameterSelection.voiceCategoryStringToEnum(category));
        } catch (ZDeviceNotRunningException e) {
            e.printStackTrace();
        } catch (IllegalParameterIdException e) {
            e.printStackTrace();
        } catch (PresetEmptyException e) {
View Full Code Here

Examples of com.pcmsolutions.device.EMU.E4.selections.VoiceParameterSelection

    public String getTableTitle() {
        return title;
    }

    public VoiceParameterSelection getSelection() {
        VoiceParameterSelection vps = super.getSelection();
        if (vps != null)
            return new CordParameterSelection(vps);
        return null;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.