It looks like your design might need a look. A few tips:
- Add the init method to your listing. So you can iterate over the array of your enums and call the init method on it, so the enumeration knows how to perform its own initialization
- Command,
.
,
.
- - . , .
TextBox, , .
TextBox A = new TextBox(Field.A);
TextBox B = new TextBox(Field.B);
, TextBox , A, B, C, D, E, [], TextBox, ( enum). , TextBox -, , , API .
, . Java , . , , Google API ( , , Go...). (), (ifs switch) . TextBox, .