public CssStyleDeclaration getComputedStyle(Element element, string pseudoElement) { return default(CssStyleDeclaration); }
public CssRuleList getMatchedCSSRules(Element element, string pseudoElement) { return default(CssRuleList); }
/// <summary> /// @protected /// @param {Ext.Component} owner The Panel that owns this DockLayout /// @param {Ext.Element} target The target in which we are going to render the docked items /// @param {Array} args The arguments passed to the ComponentLayout.layout method /// </summary> public void onLayout(Ext.Component width, Element height){}
/// <summary> /// @private /// Renders the given Component into the target Element. /// @param {Ext.Component} c The Component to render /// @param {Number} position The position within the target to render the item to /// @param {Ext.Element} target The target Element /// </summary> public void renderItem(Ext.Component item, JsNumber position, Element target){}
public bool drawFocusRing(Element element, float xCaret, float yCaret) { return default(bool); }
public void addElement(Element element) {}
public void @lock(Element target, VoidCallback successCallback, VoidCallback failureCallback) {}
public static CSSStyleDeclaration getComputedStyle(Element elt, JsString pseudoElt) { return null; }
public CssStyleDeclaration getOverrideStyle(Element element, string pseudoElement) { return default(CssStyleDeclaration); }
public void @lock(Element target) {}
/// <summary> /// Get the width of the object, including border and margins. /// </summary> /// <param name="elem"></param> /// <returns></returns> private int getOuterWidth(Element elem) { int returnVal = elem.clientWidth; returnVal += (Helpah.Parse(elem.style.borderWidth) * 2); returnVal += Helpah.Parse(elem.style.marginLeft); returnVal += Helpah.Parse(elem.style.marginRight); //return elem.clientWidth + (int.Parse(elem.style.borderWidth) * 2) + int.Parse(elem.style.marginLeft) + int.Parse(elem.style.marginRight); return returnVal; }
private int getOuterHeight(Element elem) { return elem.offsetHeight + (Helpah.Parse(elem.style.borderWidth) * 2) + Helpah.Parse(elem.style.marginTop) + Helpah.Parse(elem.style.marginBottom); }
// Window-1 public CSSStyleDeclaration getComputedStyle(Element elt) { return default(CSSStyleDeclaration); }
public Element insertAdjacentElement(string where, Element element) { return default(Element); }
private static void Initialize() { //set default css Element link = document.createElement("link"); link.setAttribute("type", "text/css"); link.setAttribute("rel", "stylesheet"); link.setAttribute("href", "http://yui.yahooapis.com/3.6.0/build/cssreset/cssreset-min.css"); document.getElementsByTagName("head")[0].appendChild(link); //create top level surface container surface = document.createElement("div"); surface.setAttribute("id", "surface"); J(surface).css("position", "absolute"); J(surface).width("100%"); J(surface).height("100%"); document.body.appendChild(surface); initialized = true; //capture events window.onresize += resizeHandler; //surface.onclick += clickHandler; //surface.onmousemove += mouseHoverHandler; //surface.onkeydown += keyDownHandler; //surface.onkeyup += keyUpHandler; new jQuery(HtmlContext.document).bind("onclick", clickHandler); new jQuery(HtmlContext.document).bind("mousemove", mouseHoverHandler); new jQuery(HtmlContext.document).bind("onkeydown", keyDownHandler); new jQuery(HtmlContext.document).bind("onkeyup", keyUpHandler); }
// Window-1 public static CSSStyleDeclaration getComputedStyle(Element elt) { return null; }
public ShadowRoot(Element host) {}
public short startElement(Element elementArg) { return default(short); }
/// <summary> /// @private /// We're just preparing the data for the superclass by pulling out the record nodes we want /// @param {Element} root The XML root node /// @return {Array} The records /// </summary> public JsArray extractData(Element root, object returnRecords){return null;}
public bool drawFocusRing(Element element, float xCaret, float yCaret, bool canDrawCustom) { return default(bool); }
public void setDragImage(Element image, int x, int y) {}