} else if(formDataResult instanceof FormDataStringResult) {
FormDataResultString stringFormDatasResultComponent = new FormDataResultString();
stringFormDatasResultComponent.setStringFormDataResult((FormDataStringResult)formDataResult);
panelGrid.getChildren().add(stringFormDatasResultComponent);
} else if(formDataResult instanceof FormDataFloatResult) {
FormDataResultFloat floatFormDatasResultComponent = new FormDataResultFloat();
floatFormDatasResultComponent.setFloatFormDataResult((FormDataFloatResult)formDataResult);
panelGrid.getChildren().add(floatFormDatasResultComponent);
}
}
component.getChildren().add(panelGrid);
}