Package com.pcmsolutions.device.EMU.E4.parameter

Examples of com.pcmsolutions.device.EMU.E4.parameter.EditableParameterModel


        //else
        if (applyNamedState)
            state = STATE_NAMED;

        if (peh != null)
            peh.postPresetEvent(new PresetNameChangeEvent(this, preset));
    }
View Full Code Here


        return status;
    }

    public void setStatus(double status) {
        this.status = status;
        peh.postSampleEvent(new SampleInitializationStatusChangedEvent(this, sample));
    }
View Full Code Here

        if (name.length() > MAX_NAME_LENGTH)
            this.name = name.substring(0, MAX_NAME_LENGTH);
        else
            this.name = name;

        seh.postSampleEvent(new SampleNameChangeEvent(this, sample));
    }
View Full Code Here

                } catch (IllegalParameterIdException e) {
                    e.printStackTrace();
                }
            EditableParameterModel[] pms = new EditableParameterModel[models.size()];
            models.toArray(pms);
            globalPanel.add(new HideablePanel(new RowHeaderedAndSectionedTablePanel().init(new EditablePresetParameterTable(cp, cats.get(i).toString(), pms, cats.get(i).toString().toUpperCase()), "SHOW " + cats.get(i).toString().toUpperCase(), UIColors.getTableBorder(), rp, false), false) {
                public Color getBackground() {
                    return UIColors.getDefaultBG();
                }

            });
View Full Code Here

            }
        });

        lp = new RowHeaderedAndSectionedTablePanel().init(linkTable, "SHOW LINKS", UIColors.getTableBorder(), rp);
        lp.getRowHeaderedTable().getRowHeader().addFocusListener(FocusAlerter.getInstance());
        linkPanel = new HideablePanel(lp, false) {
            public Color getBackground() {
                return UIColors.getDefaultBG();
            }
        };
    }
View Full Code Here

            ((VoiceOverviewTableModel) voiceOverviewTable.getModel()).setExpansionMemory(expansionMemory);

        setVoiceOverviewTableCustomAction(voiceOverviewTable, rp);
        vp = new RowHeaderedAndSectionedTablePanel().init(voiceOverviewTable, "SHOW VOICES", UIColors.getTableBorder(), rp);
        vp.getRowHeaderedTable().getRowHeader().addFocusListener(FocusAlerter.getInstance());
        voicePanel = new HideablePanel(vp, false) {
            public Color getBackground() {
                return UIColors.getDefaultBG();
            }
        };
    }
View Full Code Here

    public interface PresetParameterSelectionAcceptor {
        public void setSelection(PresetParameterSelection pps);
    }

    public EditablePresetParameterTable(ContextEditablePreset p, String category, EditableParameterModel[] parameterModels, String title) throws ZDeviceNotRunningException {
        this(p, category, new EditableSingleColumnParameterModelTableModel(parameterModels), title);
    }
View Full Code Here

    public boolean isPresetEmpty(Integer preset) throws NoSuchPresetException, NoSuchContextException {
        return getPresetState(preset) == RemoteObjectStates.STATE_EMPTY;
    }

    private Impl_ReadablePreset getPresetImplementation(Integer preset) throws NoSuchPresetException {
        DesktopEditingMediator dem = null;
        //  if (mainView != null)
        //    dem = ((DeviceInternalFrame) mainView).getDesktopEditingMediator();

        if (isPresetInContext(preset))
            if (preset.intValue() <= DeviceContext.MAX_USER_PRESET)
View Full Code Here

        this.setFocusCycleRoot(true);

        generatePanels();

        if (voice.getPreset().getIcon() instanceof PresetIcon)
            icon = new VoiceEditingIcon((PresetIcon) voice.getPreset().getIcon());

        pla = new PresetListenerAdapter() {
            public void presetNameChanged(PresetNameChangeEvent ev) {
            }
View Full Code Here

    }

    protected void updateTitle() {
        title = rle.toString();
        if (voices[0].getPreset().getIcon() instanceof PresetIcon)
            icon = new VoiceEditingIcon((PresetIcon) voices[0].getPreset().getIcon());
        else
            icon = null;
        tplh.fireTitleProviderDataChanged();
    }
View Full Code Here

TOP

Related Classes of com.pcmsolutions.device.EMU.E4.parameter.EditableParameterModel

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.