Java JComboBox Text dictsReset(ArrayList listDicts, HashMap DictBoxSpinner, HashMap DictBoxTextField, HashMap DictBoxComboBox, HashMap DictRadioButtonSpinner, HashMap DictRadioButtonTextField)

Here you can find the source of dictsReset(ArrayList listDicts, HashMap DictBoxSpinner, HashMap DictBoxTextField, HashMap DictBoxComboBox, HashMap DictRadioButtonSpinner, HashMap DictRadioButtonTextField)

Description

dicts Reset

License

Open Source License

Declaration

public static void dictsReset(ArrayList<HashMap> listDicts, HashMap<JCheckBox, JSpinner> DictBoxSpinner,
            HashMap<JCheckBox, JTextField> DictBoxTextField, HashMap<JCheckBox, JComboBox> DictBoxComboBox,
            HashMap<JRadioButton, JSpinner> DictRadioButtonSpinner,
            HashMap<JRadioButton, JTextField> DictRadioButtonTextField) 

Method Source Code

//package com.java2s;
/*//from w  ww . j  ava 2 s  . co  m
*  Armadillo Workflow Platform v1.0
*  A simple pipeline system for phylogenetic analysis
*
*  Copyright (C) 2009-2011  Etienne Lord, Mickael Leclercq
*
*  This program is free software: you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation, either version 3 of the License, or
*  (at your option) any later version.
*
*  This program is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

import java.util.ArrayList;

import java.util.HashMap;

import javax.swing.JCheckBox;
import javax.swing.JComboBox;

import javax.swing.JRadioButton;

import javax.swing.JSpinner;
import javax.swing.JTextField;

public class Main {
    public static void dictsReset(ArrayList<HashMap> listDicts, HashMap<JCheckBox, JSpinner> DictBoxSpinner,
            HashMap<JCheckBox, JTextField> DictBoxTextField, HashMap<JCheckBox, JComboBox> DictBoxComboBox,
            HashMap<JRadioButton, JSpinner> DictRadioButtonSpinner,
            HashMap<JRadioButton, JTextField> DictRadioButtonTextField) {
        DictBoxSpinner.clear();
        DictBoxTextField.clear();
        DictBoxComboBox.clear();
        DictRadioButtonSpinner.clear();
        DictRadioButtonTextField.clear();

        listDicts.clear();
        listDicts.add(DictBoxSpinner);
        listDicts.add(DictBoxTextField);
        listDicts.add(DictBoxComboBox);
        listDicts.add(DictRadioButtonSpinner);
        listDicts.add(DictRadioButtonTextField);
    }
}

Related

  1. convertRawTextWithEOL(String rawText, JComboBox eolCombo)
  2. getComboBoxText(final JComboBox aComboBox)
  3. getComboBoxText(JComboBox comboBox)
  4. getJComboBoxJTextField(JComboBox comboBox)
  5. getTextComponent(JComboBox combo)