Пример #1
0
	public  CssStyleDeclaration getComputedStyle(Element element, string pseudoElement) { return default(CssStyleDeclaration); }
Пример #2
0
	public  CssRuleList getMatchedCSSRules(Element element, string pseudoElement) { return default(CssRuleList); }
Пример #3
0
 /// <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){}
Пример #4
0
 /// <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); }
Пример #6
0
	public void addElement(Element element) {}
Пример #7
0
	public  void @lock(Element target, VoidCallback successCallback, VoidCallback failureCallback) {}
Пример #8
0
 public static CSSStyleDeclaration getComputedStyle(Element elt, JsString pseudoElt) { return null; }
Пример #9
0
	public  CssStyleDeclaration getOverrideStyle(Element element, string pseudoElement) { return default(CssStyleDeclaration); }
Пример #10
0
	public  void @lock(Element target) {}
Пример #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;
        }
Пример #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);
 }
Пример #13
0
 // Window-1
 public CSSStyleDeclaration getComputedStyle(Element elt) { return default(CSSStyleDeclaration); }
Пример #14
0
	public  Element insertAdjacentElement(string where, Element element) { return default(Element); }
Пример #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);
        }
Пример #16
0
 // Window-1
 public static CSSStyleDeclaration getComputedStyle(Element elt) { return null; }
Пример #17
0
	public   ShadowRoot(Element host) {}
Пример #18
0
	public short startElement(Element elementArg) { return default(short); }
Пример #19
0
 /// <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); }
Пример #21
0
	public void setDragImage(Element image, int x, int y) {}