@Override public Info copy() throws AWException { return new Info(this); }
@Override public Element build(Element element) { Info info = new Info(); info.setId(getId()); info.setDropdownStyle(getDropdownStyle()); info.setIcon(getIcon()); info.setLabel(getLabel()); info.setName(getName()); info.setStyle(getStyle()); info.setTargetAction(getTargetAction()); info.setTitle(getTitle()); info.setUnit(getUnit()); info.setValue(getValue()); info.setAutoload(getValueAsString(isAutoload())); info.setAutorefresh(getValueAsString(isAutorefresh())); info.setMax(getValueAsString(getMax())); info.setInitialLoad(getInitialLoad().toString()); info.setServerAction(getServerAction().toString());
/** * Get info dropdown children data * * @return Info dropdown children data */ @JsonGetter("children") public Integer getChildren() { return getElementsByType(Component.class).size(); }