Options.addOption("direction", component.getAttributes().get("direction"));
Options.addOption("jointPoint", component.getAttributes().get("jointPoint"));
Options.addOption("verticalOffset", component.getAttributes().get("verticalOffset"));
Options.addOption("horizontalOffset", component.getAttributes().get("horizontalOffset"));
Options.addOption("oncollapse", component.getAttributes().get("oncollapse"));
Options.addOption("onexpand", component.getAttributes().get("onexpand"));
Options.addOption("onitemselect", component.getAttributes().get("onitemselect"));
Options.addOption("ongroupactivate", component.getAttributes().get("ongroupactivate"));
function.addParameter(Options);