| | | 1 | if (telephoneComboBox.getSelectedIndex() == 12)↵
|
1 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 2 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
2 | PhoneModel.TYPE_BUSINESS_FAX));↵ | | 3 | PhoneModel.TYPE_PAGER));↵
|
3 | else if (telephoneComboBox.getSelectedIndex() == 3)↵ | | 4 | else if (telephoneComboBox.getSelectedIndex() == 13)↵
|
4 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 5 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
5 | PhoneModel.TYPE_CALLBACK_PHONE));↵ | | 6 | PhoneModel.TYPE_PRIMARY_PHONE));↵
|
6 | else if (telephoneComboBox.getSelectedIndex() == 4)↵ | | 7 | else if (telephoneComboBox.getSelectedIndex() == 14)↵
|
7 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 8 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
8 | PhoneModel.TYPE_CAR_PHONE));↵ | | 9 | PhoneModel.TYPE_RADIO));↵
|
9 | else if (telephoneComboBox.getSelectedIndex() == 5)↵ | | 10 | else if (telephoneComboBox.getSelectedIndex() == 15)↵
|
10 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 11 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
11 | PhoneModel.TYPE_COMPANY_PHONE));↵ | | 12 | PhoneModel.TYPE_TELEX));↵
|
12 | else if (telephoneComboBox.getSelectedIndex() == 6)↵ | | 13 | else if (telephoneComboBox.getSelectedIndex() == 16)↵
|
13 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵ | | 14 | destModel.addPhone(new PhoneModel(telephoneTextField.getText(),↵
|
14 | PhoneModel.TYPE_HOME_PHONE)); | | 15 | PhoneModel.TYPE_TTY));
|