Example #1
0
	public  CssStyleDeclaration getComputedStyle(Element element, string pseudoElement) { return default(CssStyleDeclaration); }
Example #2
0
	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); }
Example #6
0
	public void addElement(Element element) {}
Example #7
0
	public  void @lock(Element target, VoidCallback successCallback, VoidCallback failureCallback) {}
Example #8
0
 public static CSSStyleDeclaration getComputedStyle(Element elt, JsString pseudoElt) { return null; }
Example #9
0
	public  CssStyleDeclaration getOverrideStyle(Element element, string pseudoElement) { return default(CssStyleDeclaration); }
Example #10
0
	public  void @lock(Element target) {}
Example #11
0
        /// <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;
        }
Example #12
0
 private int getOuterHeight(Element elem)
 {
     return elem.offsetHeight + (Helpah.Parse(elem.style.borderWidth) * 2) + Helpah.Parse(elem.style.marginTop) + Helpah.Parse(elem.style.marginBottom);
 }
Example #13
0
 // Window-1
 public CSSStyleDeclaration getComputedStyle(Element elt) { return default(CSSStyleDeclaration); }
Example #14
0
	public  Element insertAdjacentElement(string where, Element element) { return default(Element); }
Example #15
0
        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);
        }
Example #16
0
 // Window-1
 public static CSSStyleDeclaration getComputedStyle(Element elt) { return null; }
Example #17
0
	public   ShadowRoot(Element host) {}
Example #18
0
	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); }
Example #21
0
	public void setDragImage(Element image, int x, int y) {}