Package fr.soleil.comete.swing

Examples of fr.soleil.comete.swing.ComboBox


    }

    private void initComboPanel() {
        // EnergyScale
        energyScaleCombo = new ComboBox();
        energyScaleCombo.setValueList("Kinetic", "Binding");
        energyScaleCombo.setBorder(BorderFactory.createTitledBorder("Energy Scale"));

        // Pass Mode
        passModeCombo = new ComboBox();
        passModeCombo.setBorder(BorderFactory.createTitledBorder("Pass Mode"));

        // Pass Energy
        passEnergyCombo = new ComboBox();
        passEnergyCombo.setValueList("1", "2", "5", "10", "20", "50", "100", "200", "500");
        passEnergyCombo.setBorder(BorderFactory.createTitledBorder("Pass Energy"));

        // Acquisition Mode
        acquisitionModeCombo = new ComboBox();
        acquisitionModeCombo.setValueList("Fixed", "Swept");
        acquisitionModeCombo.setBorder(BorderFactory.createTitledBorder("Acquisition Mode"));

        comboPanel = new JPanel();
        comboPanel.setLayout(new MigLayout("insets 0, wrap 2", "[fill, 105::][fill, 135::]", ""));
View Full Code Here


        return epsilonViewer;
    }

    private ComboBox getFittingFunctionTypeEditor() {
        if (functionTypeEditor == null) {
            functionTypeEditor = new ComboBox();
            functionTypeEditor.setToolTipText(FUNCTION_TYPE_INFO);
            functionTypeEditor.setValueList(new String[] { Parameters.GAUSSIAN,
                    Parameters.GAUSSIANB, Parameters.LORENTZIAN, Parameters.LORENTZIANB,
                    Parameters.SIGMOID, Parameters.SIGMOIDB, Parameters.MEANWITHTHESHOLD });
        }
View Full Code Here

    /**
     * Constructor
     */
    public ConfigComboBox() {
        super();
        comboBox = new ComboBox();
        comboBox.addComboBoxListener(this);
        setLayout(new BorderLayout());
        add((JComponent) comboBox, BorderLayout.CENTER);
    }
View Full Code Here

    }

    protected void initSymbolPanel() {
        symbolPanel = new JPanel(new GridBagLayout());

        symbolListComboBox = new ComboBox();

        insertSymbolButton = new JButton("Insert");
        insertSymbolButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
View Full Code Here

        model.updateDataModelDialogModel(currentDialogModel);
    }

    @Override
    protected void initPanelComponents() {
        dataModelSelectionComboBox = new ComboBox();
        dataModelSelectionTitle = new JLabel("Current datamodel:");
        dataModelDocumentListener = new DocumentListener() {
            @Override
            public void removeUpdate(DocumentEvent e) {
                updateCombo(true);
View Full Code Here

    }

    protected void initSymbolPanel() {
        symbolPanel = new JPanel(new GridBagLayout());

        symbolListComboBox = new ComboBox();

        insertSymbolButton = new JButton("Insert");
        insertSymbolButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
View Full Code Here

        // label expression
        JLabel lblExpression = new JLabel();
        lblExpression.setText("Variable :");

        // champ variable selection
        this.variableSelection = new ComboBox();
        this.variableSelection.addActionListener(this);

        // this.jListExpression.setValueAt(new String[]{"Expression"},0);

        // label where
View Full Code Here

    /**
     * Constructor
     */
    public ConfigComboBox() {
        super();
        comboBox = new ComboBox();
        comboBox.addComboBoxListener(this);
        setLayout(new BorderLayout());
        add((JComponent) comboBox, BorderLayout.CENTER);
    }
View Full Code Here

        stringBox.setSettable(deleteConfigButton, false);
        stringBox.setConfirmation(deleteConfigButton, true);
        deleteConfigButton.setText("Delete");
        deleteConfigButton.setButtonLook(true);

        configurationComboBox = new ComboBox();
        configurationComboBox.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                updateCombo(true);
                synchronized (configurationComboBox) {
View Full Code Here

        if (XIA_DEVICE.equals(deviceTypeName)) {
            timeTypeLabel.setText("Preset Type");
            timeTypeViewer = generateLabel();
            timeTypeViewer
            .setCometeFont(FontTool.getCometeFont(new Font("Default", Font.BOLD, 15)));
            timeTypeSetter = new ComboBox();
            timeTypeSetter.setValueList("0", "1", "2", "3", "4");
            timeTypeSetter.setDisplayedList("NONE", "FIXED_REAL", "FIXED_LIVE", "FIXED_EVENTS",
                    "FIXED_TRIGGER");
        }
        else {
View Full Code Here

TOP

Related Classes of fr.soleil.comete.swing.ComboBox

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.