String[] values = new String[PeriodPropertyElement.values().length];
for (final Control control : parent.getChildren()) {
if (control instanceof Spinner) {
final String periodKey = (String) control.getData("PERIOD_KEY");
final PeriodPropertyElement element = PeriodPropertyElement.byShortFormat(periodKey);
if (element != null) {
final int elementValue = ((Spinner) control).getSelection();
final String elementStringValue = elementValue + element.getShortFormat();
values[element.getOrder()] = elementStringValue;
}
}
}
final StringBuilder builder = new StringBuilder();