final Object ro = tm.getValueAt(row, 0);
if (ro instanceof ReadablePreset.ReadableVoice) {
ReadablePreset.ReadableVoice voice = (ReadablePreset.ReadableVoice) ro;
Object co = tm.getValueAt(row, col + 1);
if (co instanceof ReadableParameterModel) {
ReadableParameterModel pm = (ReadableParameterModel) co;
int id = pm.getParameterDescriptor().getId().intValue();
if (ParameterUtilities.isKeyWinId(id)) {
values = voice.getVoiceParams(ID.voiceKeyWin);
type = WinValueProfile.KEY_WIN;
} else if (ParameterUtilities.isVelWinId(id)) {
values = voice.getVoiceParams(ID.voiceVelWin);
type = WinValueProfile.VEL_WIN;
} else if (ParameterUtilities.isRTWinId(id)) {
values = voice.getVoiceParams(ID.voiceRTWin);
type = WinValueProfile.RT_WIN;
} else
return null;
} else
return null;
} else if (ro instanceof ReadablePreset.ReadableVoice.ReadableZone) {
ReadablePreset.ReadableVoice.ReadableZone zone = (ReadablePreset.ReadableVoice.ReadableZone) ro;
Object co = tm.getValueAt(row, col + 1);
if (co instanceof ReadableParameterModel) {
ReadableParameterModel pm = (ReadableParameterModel) co;
int id = pm.getParameterDescriptor().getId().intValue();
if (ParameterUtilities.isKeyWinId(id)) {
values = zone.getZoneParams(ID.voiceKeyWin);
type = WinValueProfile.KEY_WIN;
} else if (ParameterUtilities.isVelWinId(id)) {
values = zone.getZoneParams(ID.voiceVelWin);