package greencode.jscript.dom.elements; import greencode.jscript.DOMHandle; import greencode.jscript.dom.Element; import greencode.jscript.dom.ElementHandle; import greencode.jscript.dom.Window; /**Only supported in HTML5.*/ public class DetailsElement extends Element { protected DetailsElement(Window window) {super(window, "details");} public void open(Boolean open) { DOMHandle.setProperty(this, "open", open); } public Boolean open() { return DOMHandle.getVariableValueByProperty(this, "open", Boolean.class, "open"); } public static DetailsElement cast(Element e) { return ElementHandle.cast(e, DetailsElement.class); } }