Package com.compomics.util.gui.renderers

Examples of com.compomics.util.gui.renderers.AlignedListCellRenderer


        spectrumTableJScrollPane.getViewport().setOpaque(false);
        peptideShakerJScrollPane.getViewport().setOpaque(false);
        idResultsTableJScrollPane.getViewport().setOpaque(false);

        fileNamesCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));

        setUpGUI();
        setTableProperties();
    }
View Full Code Here


        costBenefitPlot.setDomainAxis(costAxis);
        costBenefitPlot.setRangeAxis(0, benefitAxis);
        costBenefitPlot.setRangeAxisLocation(0, AxisLocation.TOP_OR_LEFT);
        costBenefitPlot.setRangeAxisLocation(1, AxisLocation.BOTTOM_OR_RIGHT);

        fdrCombo1.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        thresholdTypeCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));

        // make the tabs in the spectrum tabbed pane go from right to left
        optimizationTabbedPane.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);

        formComponentResized(null);
View Full Code Here

    public FollowupPreferencesDialog(PeptideShakerGUI peptideShakerGUI) {
        super(peptideShakerGUI, true);
        this.peptideShakerGUI = peptideShakerGUI;
        initComponents();

        spectrumRecalibrationCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        spectrumValidationCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        inclusionListFormat.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        proteinExportCmb1.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        proteinExportCmb2.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        psmSelectionComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        graphDatabaseFormat.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        psmSelectionComboBoxSwath.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));

        this.setLocationRelativeTo(peptideShakerGUI);

        setVisible(true);
    }
View Full Code Here

        referenceTableColumnToolTips.add(null);
        referenceTableColumnToolTips.add("The reference tag");
        referenceTableColumnToolTips.add("PubMed ID");
        referenceTableColumnToolTips.add("Digital Object Identifier");

        referenceGroupsJComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        contactGroupsJComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        sampleJComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        protocolJComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        instrumentJComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
    }
View Full Code Here

        sampleCvTermsJTable.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        sampleCvTermsJTable.getTableHeader().setReorderingAllowed(false);
        sampleCvTermsJTable.getColumn(" ").setMaxWidth(40);
        sampleCvTermsJTable.getColumn(" ").setMinWidth(40);

        speciesJComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        tissueJComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        cellTypeJComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));

        columnToolTips = new Vector();
        columnToolTips.add(null);
        columnToolTips.add(null);
        columnToolTips.add(null);
View Full Code Here

        qualityFiltersTableScrollPane.getViewport().setOpaque(false);

        // disable column reordering
        qualityFiltersTable.getTableHeader().setReorderingAllowed(false);

        validationLevelJComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));

        // set up the table header tooltips
        validationTableToolTips = new ArrayList<String>();
        validationTableToolTips.add(null);
        validationTableToolTips.add("Quality Test");
View Full Code Here

        // centrally align the spinner 
        ((NumberEditor) nAASpinner.getEditor()).getTextField().setHorizontalAlignment(JTextField.CENTER);

        // set the values
        nAASpinner.setValue(peptideShakerGUI.getDisplayPreferences().getnAASurroundingPeptides());
        methodCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        probabilitsticScoreCalculationCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        neutralLossesCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        insertSpectrumCountingPreferences();
        insertPTMScoringPreferences();

        setLocationRelativeTo(peptideShakerGUI);
        setVisible(true);
View Full Code Here

            public void keyReleased(KeyEvent event) {
                filterInputGiven();
            }
        });

        assaysComboBox.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
    }
View Full Code Here

        this.setCursor(new java.awt.Cursor(java.awt.Cursor.WAIT_CURSOR));

        initComponents();

        proteinPICmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        proteinPiComparisonCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        spectrumCountingCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        proteinCoverageCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        nPeptidesCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        proteinNSpectraCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        proteinScoreCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        proteinConfidenceCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));

        peptidePICmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        peptidePiComparisonCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        peptideNSpectraCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        peptideScoreCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        peptideConfidenceCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));

        precursorRTCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        precursorMzCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        precursorErrorCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        psmConfidenceCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));

        proteinSplitPane.setDividerLocation(0.5);
        peptidesSplitPane.setDividerLocation(0.5);
        psmSplitPane.setDividerLocation(0.5);
View Full Code Here

        initComponents();
        this.proteinFilter = proteinFilter;
        this.peptideFilter = peptideFilter;
        this.psmFilter = psmFilter;

        proteinEffectCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        peptideEffectCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));
        psmEffectCmb.setRenderer(new AlignedListCellRenderer(SwingConstants.CENTER));

        if (proteinFilter != null) {
            proteinSplitPane.setDividerLocation(1.0);
            this.setTitle("Protein Filter");
            if (filterType == FilterType.HIDE) {
View Full Code Here

TOP

Related Classes of com.compomics.util.gui.renderers.AlignedListCellRenderer

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.