stage.show();
fxForm.addFilters(new ReorderFilter(new String[]{"age", "mail"}));
}
private FXForm<DemoObject> createFXForm() {
DelegateFactory.addGlobalFactory(new NamedFieldHandler("height"), new NodeFactory<ElementController>() {
public Node createNode(ElementController controller) throws NodeCreationException {
return new Button("Custom factory");
}
});
FXForm<DemoObject> fxForm = new FXForm<DemoObject>(new DelegateFactory());