@Override public Frame copy() throws AWException { return new Frame(this); }
@Override public Info copy() throws AWException { return new Info(this); }
@Override public Element build(Element element) { MenuContainer menuContainer = new MenuContainer(); menuContainer.setId(getId()); if (getType() != null) { menuContainer.setType(getType().toString()); } if (getStyle() != null) { menuContainer.setStyle(getStyle()); } return menuContainer; }
@Override public MenuContainer copy() throws AWException { return new MenuContainer(this); }
@Override public WidgetParameter copy() throws AWException { return new WidgetParameter(this); }
@Override public Widget copy() throws AWException { return new Widget(this); }
@Override public Resizable copy() throws AWException { return new Resizable(this); }
@Override public TagList copy() throws AWException { return new TagList(this); }
@Override public Window copy() throws AWException { return new Window(this); }
@Override public Dialog copy() throws AWException { return new Dialog(this); }
/** * Get print element list (to be overwritten) * * @param printElementList Print element list * @param label Previous label * @param parameters Parameters * @param dataSuffix Data suffix * @return Print bean */ @JsonIgnore public List<Element> getReportStructure(List<Element> printElementList, String label, ObjectNode parameters, String dataSuffix) { return super.getReportStructure(printElementList, getLabel() == null ? label : getLabel(), parameters, dataSuffix); } }
/** * Returns if window allows to maximize/restore itself * * @return Window allows to maximize/restore itself */ public boolean allowMaximize() { if ("true".equalsIgnoreCase(this.getMaximize())) { return this.getLabel() != null; } else { return false; } }
/** * Returns a serialized list with the context menu description * * @return Context Menu List */ @JsonGetter("contextMenu") public List<Object> getContextMenuConverter() { Class[] classes = new Class[]{ContextButton.class, ContextSeparator.class}; return getChildrenByType(classes); }
@Override public Video copy() throws AWException { return new Video(this); }
/** * Retrieve component tag (to be overriden) tag * * @return Component tag */ @JsonIgnore public String getComponentTag() { return getComponentType(); }
@JsonIgnore @Override public String getComponentTag() { return getType(); } }
/** * Returns the element's TYPE * * @return Element TYPE */ @JsonGetter("inputType") @Override public String getType() { return super.getType(); }
/** * @return the onClose */ @JsonGetter("accept") public Boolean acceptConverter() { return this.acceptOnClose(); }
/** * Returns the criteria dependency model for JSON serialization * * @return Dependency List */ @JsonGetter("dependencies") public List<Dependency> getDependencyConverter() { return getChildrenByType(Dependency.class); }