Package com.pcmsolutions.device.EMU.E4.gui.parameter2

Examples of com.pcmsolutions.device.EMU.E4.gui.parameter2.ParameterModelTableCellEditor


            if (columnData[i].columnClass == ReadableParameterModel.class) {
                if (i == 0)
                    try {
                        columnData[i].editor = new LinkPresetTableCellEditor(preset.getPresetContext().getDeviceContext(), sectionData[columnData[i].sectionIndex].sectionBG, sectionData[columnData[i].sectionIndex].sectionFG);
                    } catch (ZDeviceNotRunningException e) {
                        columnData[i].editor = new ParameterModelTableCellEditor(sectionData[columnData[i].sectionIndex].sectionBG, sectionData[columnData[i].sectionIndex].sectionFG);
                    }
                else
                    columnData[i].editor = new ParameterModelTableCellEditor(sectionData[columnData[i].sectionIndex].sectionBG, sectionData[columnData[i].sectionIndex].sectionFG);
                columnData[i].columnClass = EditableParameterModel.class;
            }
        }
    }
View Full Code Here


        super(parameterModels);
    }

    protected void buildColumnAndSectionData() {
        super.buildColumnAndSectionData();
        columnData[0].editor = new ParameterModelTableCellEditor(sectionData[columnData[0].sectionIndex].sectionBG, sectionData[columnData[0].sectionIndex].sectionFG);
        columnData[0].columnClass = EditableParameterModel.class;
    }
View Full Code Here

        super(parameterModels);
    }

    protected void buildColumnAndSectionData() {
        super.buildColumnAndSectionData();
        columnData[0].editor = new ParameterModelTableCellEditor(sectionData[columnData[0].sectionIndex].sectionBG, sectionData[columnData[0].sectionIndex].sectionFG);
        columnData[0].columnClass = EditableParameterModel.class;
    }
View Full Code Here

        super(parameterModels);
    }

    protected void buildColumnAndSectionData() {
        super.buildColumnAndSectionData();
        columnData[0].editor = new ParameterModelTableCellEditor(sectionData[columnData[0].sectionIndex].sectionBG, sectionData[columnData[0].sectionIndex].sectionFG);
        columnData[0].columnClass = EditableParameterModel.class;
        columnData[1].editor = new ParameterModelTableCellEditor(sectionData[columnData[1].sectionIndex].sectionBG, sectionData[columnData[1].sectionIndex].sectionFG);
        columnData[1].columnClass = EditableParameterModel.class;
        columnData[2].editor = new ParameterModelTableCellEditor(sectionData[columnData[2].sectionIndex].sectionBG, sectionData[columnData[2].sectionIndex].sectionFG);
        columnData[2].columnClass = EditableParameterModel.class;
    }
View Full Code Here

    private MultiModePresetTableCellEditor mmptce;

    public MultiModeTableModel(DeviceContext d, boolean just16) throws ZDeviceNotRunningException {
        this.multimodeContext = d.getMultiModeContext();
        this.device = d;
        pmtce = new ParameterModelTableCellEditor(Color.white, Color.black);
        mmptce = new MultiModePresetTableCellEditor(device);
        try {
            readablePresets = d.getDefaultPresetContext().getDatabasePresets();
        } catch (NoSuchContextException e) {
            readablePresets = new ArrayList();
View Full Code Here

    protected void buildColumnAndSectionData() {
        super.buildColumnAndSectionData();
        columnData[0].width += 12;
        sectionData[0].sectionWidth += 12;
        rowHeaderColumnData.width += 50;
        columnData[0].editor = new ParameterModelTableCellEditor(sectionData[columnData[0].sectionIndex].sectionBG, sectionData[columnData[0].sectionIndex].sectionFG);
        columnData[0].columnClass = EditableParameterModel.class;
    }
View Full Code Here

        super(parameterModels);
    }

    protected void buildColumnAndSectionData() {
        super.buildColumnAndSectionData();
        columnData[0].editor = new ParameterModelTableCellEditor(sectionData[columnData[0].sectionIndex].sectionBG, sectionData[columnData[0].sectionIndex].sectionFG);
        columnData[0].columnClass = EditableParameterModel.class;
    }
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.gui.parameter2.ParameterModelTableCellEditor

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.