1
2 package hoplugins.transfers.ui.component;
3
4 import hoplugins.transfers.constants.TransferTypes;
5
6 import javax.swing.JComboBox;
7
8
9 /***
10 * ComboBox to edit the TrainingType
11 *
12 * @author <a href=mailto:draghetto@users.sourceforge.net>Massimiliano Amato</a>
13 */
14 public class TransferTypeComboBox extends JComboBox {
15
16
17 /***
18 * Creates a new TrainingComboBox object.
19 */
20 public TransferTypeComboBox() {
21 super();
22
23 for (int i = -1; i < TransferTypes.NUMBER; i++) {
24 addItem(TransferTypes.getTransferDesc(i));
25 }
26 }
27 }