Ext.NET
5.3.0
.NET Component Framework for Enterprise Level Apps
|
Public Member Functions | |||||||||
Element (string el) | |||||||||
Element (string el, bool chaining) | |||||||||
Element (AbstractComponent el) | |||||||||
Element (AbstractComponent el, bool chaining) | |||||||||
virtual Dom | GetDom () | ||||||||
override void | Call (string name) | ||||||||
override void | Call (string name, params object[] args) | ||||||||
override string | ToScript () | ||||||||
virtual Element | DelayOn (int delay) | ||||||||
Turn on delay execution for subsequent methods calling More... | |||||||||
virtual Element | DelayOff () | ||||||||
Turn off delay execution More... | |||||||||
virtual Element | ChainOn () | ||||||||
Turn on script chaining More... | |||||||||
virtual Element | ChainOff () | ||||||||
Turn off script chaining More... | |||||||||
virtual Element | Up () | ||||||||
Return original element, uses with Chaining only More... | |||||||||
virtual Element | AddCls (string className) | ||||||||
Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out. More... | |||||||||
virtual Element | AddCls (string[] classNames) | ||||||||
Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out. More... | |||||||||
virtual Element | AddClsOnClick (string className) | ||||||||
Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect) More... | |||||||||
virtual Element | AddClsOnClick (string className, JFunction testFn) | ||||||||
Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect) More... | |||||||||
virtual Element | AddClsOnClick (string className, JFunction testFn, string scope) | ||||||||
Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect) More... | |||||||||
virtual Element | AddClsOnFocus (string className) | ||||||||
Sets up event handlers to add and remove a css class when this element has the focus More... | |||||||||
virtual Element | AddClsOnFocus (string className, JFunction testFn) | ||||||||
Sets up event handlers to add and remove a css class when this element has the focus More... | |||||||||
virtual Element | AddClsOnFocus (string className, JFunction testFn, string scope) | ||||||||
Sets up event handlers to add and remove a css class when this element has the focus More... | |||||||||
virtual Element | AddClsOnOver (string className) | ||||||||
Sets up event handlers to add and remove a css class when the mouse is over this element More... | |||||||||
virtual Element | AddClsOnOver (string className, JFunction testFn) | ||||||||
Sets up event handlers to add and remove a css class when the mouse is over this element More... | |||||||||
virtual Element | AddClsOnOver (string className, JFunction testFn, string scope) | ||||||||
Sets up event handlers to add and remove a css class when the mouse is over this element More... | |||||||||
virtual void | AddKeyListener (KeyBinding key) | ||||||||
Convenience method for constructing a KeyMap More... | |||||||||
virtual void | AddListener (ElementListeners listeners) | ||||||||
Appends an events handlers to this element. More... | |||||||||
virtual void | AddListener (string eventName, string fn) | ||||||||
Appends an event handler to this element. More... | |||||||||
virtual void | AddListener (string eventName, JFunction fn) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | AddListener (string eventName, string fn, string scope) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | AddListener (string eventName, JFunction fn, string scope) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | AddListener (string eventName, string fn, string scope, HandlerConfig options) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | AddListener (string eventName, JFunction fn, string scope, HandlerConfig options) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | On (ElementListeners listeners) | ||||||||
Appends an events handlers to this element. More... | |||||||||
virtual void | On (string eventName, string fn) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | On (string eventName, JFunction fn) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | On (string eventName, string fn, string scope) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | On (string eventName, JFunction fn, string scope) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | On (string eventName, string fn, string scope, HandlerConfig options) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | On (string eventName, JFunction fn, string scope, HandlerConfig options) | ||||||||
Appends an event handler to this element.
| |||||||||
virtual void | PurgeAllListeners () | ||||||||
Recursively removes all previous added listeners from this element and its children More... | |||||||||
virtual Element | AlignTo (Element element, string position, int[] offsets, bool animate) | ||||||||
Aligns this element with another element relative to the specified anchor points. If the other element is the document it aligns it to the viewport. More... | |||||||||
virtual Element | AlignTo (Element element, string position, int[] offsets, ElementFxConfig animate) | ||||||||
Aligns this element with another element relative to the specified anchor points. If the other element is the document it aligns it to the viewport. More... | |||||||||
virtual Element | AlignTo (Element element, string position, int[] offsets) | ||||||||
Aligns this element with another element relative to the specified anchor points. If the other element is the document it aligns it to the viewport. More... | |||||||||
virtual Element | AlignTo (Element element, string position) | ||||||||
Aligns this element with another element relative to the specified anchor points. If the other element is the document it aligns it to the viewport. More... | |||||||||
virtual Element | AlignTo (Element element) | ||||||||
Aligns this element with another element relative to the specified anchor points. If the other element is the document it aligns it to the viewport. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets, bool animate, bool monitorScroll, JFunction callback) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets, ElementFxConfig animate, bool monitorScroll, JFunction callback) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets, bool animate, int monitorScroll, JFunction callback) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets, ElementFxConfig animate, int monitorScroll, JFunction callback) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets, bool animate, int monitorScroll) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets, ElementFxConfig animate, int monitorScroll) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets, bool animate, bool monitorScroll) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets, ElementFxConfig animate, bool monitorScroll) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets, bool animate) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets, ElementFxConfig animate) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position, int[] offsets) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | AnchorTo (Element element, string position) | ||||||||
Anchors an element to another element and realigns it when the window is resized. More... | |||||||||
virtual Element | Animate (AnimConfig args) | ||||||||
Perform custom animation on this element. More... | |||||||||
virtual Element | AppendChild (Element element) | ||||||||
Appends the passed element(s) to this element More... | |||||||||
virtual Element | AppendChild (string element) | ||||||||
Appends the passed element(s) to this element More... | |||||||||
virtual Element | AppendTo (Element element) | ||||||||
Appends this element to the passed element More... | |||||||||
virtual Element | ApplyStyles (string styles) | ||||||||
More flexible version of setStyle for setting style properties. More... | |||||||||
virtual Element | ApplyStyles (JsonObject styles) | ||||||||
More flexible version of setStyle for setting style properties. More... | |||||||||
virtual Element | ApplyStyles (JFunction styles) | ||||||||
More flexible version of setStyle for setting style properties. More... | |||||||||
virtual Element | Blur () | ||||||||
Tries to blur the element. Any exceptions are caught and ignored. More... | |||||||||
virtual Element | BoxWrap (string cssClass) | ||||||||
Wraps the specified element with a special 9 element markup/CSS block that renders by default as a gray container with a gradient background, rounded corners and a 4-way shadow. This special markup is used throughout Ext when box wrapping elements (Ext.Button, Ext.Panel when frame=true, Ext.Window). More... | |||||||||
virtual Element | BoxWrap () | ||||||||
Wraps the specified element with a special 9 element markup/CSS block that renders by default as a gray container with a gradient background, rounded corners and a 4-way shadow. This special markup is used throughout Ext when box wrapping elements (Ext.Button, Ext.Panel when frame=true, Ext.Window). More... | |||||||||
virtual Element | Center (Element centerIn) | ||||||||
Centers the Element in either the viewport, or another Element. More... | |||||||||
virtual Element | Center () | ||||||||
Centers the Element in either the viewport, or another Element. More... | |||||||||
virtual Element | Child (string selector) | ||||||||
Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id). More... | |||||||||
virtual Element | Clean (bool forceReclean) | ||||||||
Removes worthless text nodes More... | |||||||||
virtual Element | Clean () | ||||||||
Removes worthless text nodes More... | |||||||||
virtual Element | ClearOpacity () | ||||||||
Clears any opacity settings from this element. Required in some cases for IE. More... | |||||||||
virtual Element | ClearPositioning (string value) | ||||||||
Clear positioning back to the default when the document was loaded More... | |||||||||
virtual Element | Clip () | ||||||||
Store the current overflow setting and clip overflow on the element - use unclip to remove More... | |||||||||
virtual Element | CreateChild (DomObject config, Element insertBefore) | ||||||||
Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element. More... | |||||||||
virtual Element | CreateChild (DomObject config) | ||||||||
Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element. More... | |||||||||
virtual Element | CreateProxy (DomObject config, string renderTo, bool matchBox) | ||||||||
Creates a proxy element of this element More... | |||||||||
virtual Element | CreateProxy (DomObject config, Element renderTo, bool matchBox) | ||||||||
Creates a proxy element of this element More... | |||||||||
virtual Element | CreateProxy (string className, string renderTo, bool matchBox) | ||||||||
Creates a proxy element of this element More... | |||||||||
virtual Element | CreateProxy (string className, Element renderTo, bool matchBox) | ||||||||
Creates a proxy element of this element More... | |||||||||
virtual Element | CreateProxy (string className) | ||||||||
Creates a proxy element of this element More... | |||||||||
virtual Element | CreateProxy (DomObject config) | ||||||||
Creates a proxy element of this element More... | |||||||||
virtual Element | CreateShim () | ||||||||
Creates an iframe shim for this element to keep selects and other windowed objects from showing through. More... | |||||||||
virtual Element | Down (string selector) | ||||||||
Selects a single direct child based on the passed CSS selector (the selector should not contain an id). More... | |||||||||
virtual Element | EnableDisplayMode (string display) | ||||||||
Convenience method for setVisibilityMode(Element.DISPLAY) More... | |||||||||
virtual Element | EnableDisplayMode () | ||||||||
Convenience method for setVisibilityMode(Element.DISPLAY) More... | |||||||||
virtual Element | FindParent (string selector, int maxDepth) | ||||||||
Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child) More... | |||||||||
virtual Element | FindParent (string selector, Element maxDepth) | ||||||||
Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child) More... | |||||||||
virtual Element | FindParent (string selector) | ||||||||
Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child) More... | |||||||||
virtual Element | FindParentNode (string selector, int maxDepth) | ||||||||
Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child) More... | |||||||||
virtual Element | FindParentNode (string selector, Element maxDepth) | ||||||||
Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child) More... | |||||||||
virtual Element | FindParentNode (string selector) | ||||||||
Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child) More... | |||||||||
virtual Element | First (string selector) | ||||||||
Gets the first child, skipping text nodes More... | |||||||||
virtual Element | First () | ||||||||
Gets the first child, skipping text nodes More... | |||||||||
virtual Element | Focus (int defer) | ||||||||
Tries to focus the element. Any exceptions are caught and ignored. More... | |||||||||
virtual Element | Focus () | ||||||||
Tries to focus the element. Any exceptions are caught and ignored. More... | |||||||||
virtual Element | Hide (bool animate) | ||||||||
Hide this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible. More... | |||||||||
virtual Element | Hide (ElementFxConfig animate) | ||||||||
Hide this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible. More... | |||||||||
virtual Element | Hide () | ||||||||
Hide this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible. More... | |||||||||
virtual Element | Hover (JFunction overFn, JFunction outFn, string scope, HandlerConfig options) | ||||||||
Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element. More... | |||||||||
virtual Element | Hover (JFunction overFn, JFunction outFn, string scope) | ||||||||
Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element. More... | |||||||||
virtual Element | Hover (JFunction overFn, JFunction outFn) | ||||||||
Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element. More... | |||||||||
virtual Element | InitDD (string group, DD config, JsonObject overrides) | ||||||||
Initializes a Ext.dd.DD drag drop object for this element. More... | |||||||||
virtual Element | InitDDProxy (string group, DDProxy config, JsonObject overrides) | ||||||||
Initializes a Ext.dd.DDProxy object for this element. More... | |||||||||
virtual Element | InitDDTarget (string group, DDTarget config, JsonObject overrides) | ||||||||
Initializes a Ext.dd.DDTarget object for this element. More... | |||||||||
virtual Element | InsertAfter (Element element) | ||||||||
Inserts this element after the passed element in the DOM More... | |||||||||
virtual Element | InsertBefore (Element element) | ||||||||
Inserts this element before the passed element in the DOM More... | |||||||||
virtual Element | InsertFirst (Element element) | ||||||||
Inserts an element as the first child of this element More... | |||||||||
virtual Element | InsertFirst (string element) | ||||||||
Inserts an element as the first child of this element More... | |||||||||
virtual Element | InsertFirst (DomObject element) | ||||||||
Creates an DomHelper config as the first child of this element More... | |||||||||
virtual Element | InsertHtml (InsertPosition where, string html) | ||||||||
Inserts an html fragment into this element More... | |||||||||
virtual Element | InsertSibling (Element element, InsertPosition where) | ||||||||
Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element More... | |||||||||
virtual Element | InsertSibling (string element, InsertPosition where) | ||||||||
Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element More... | |||||||||
virtual Element | InsertSibling (DomObject element, InsertPosition where) | ||||||||
Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element More... | |||||||||
virtual Element | InsertSibling (Element element) | ||||||||
Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element More... | |||||||||
virtual Element | InsertSibling (string element) | ||||||||
Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element More... | |||||||||
virtual Element | InsertSibling (DomObject element) | ||||||||
Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element More... | |||||||||
virtual Element | Last (string selector) | ||||||||
Gets the last child, skipping text nodes More... | |||||||||
virtual Element | Last () | ||||||||
Gets the last child, skipping text nodes More... | |||||||||
virtual Element | Load (BaseLoadConfig config) | ||||||||
Direct access to the Updater Ext.Updater.update method. More... | |||||||||
virtual Element | Mask (string msg, string msgCls) | ||||||||
Puts a mask over this element to disable user interaction. Requires core.css. This method can only be applied to elements which accept child nodes. More... | |||||||||
virtual Element | Mask (string msg) | ||||||||
Puts a mask over this element to disable user interaction. Requires core.css. This method can only be applied to elements which accept child nodes. More... | |||||||||
virtual Element | Mask () | ||||||||
Puts a mask over this element to disable user interaction. Requires core.css. This method can only be applied to elements which accept child nodes. More... | |||||||||
virtual Element | Move (Direction direction, int distance, bool animate) | ||||||||
Move this element relative to its current position. More... | |||||||||
virtual Element | Move (Direction direction, int distance, ElementFxConfig animate) | ||||||||
Move this element relative to its current position. More... | |||||||||
virtual Element | Move (Direction direction, int distance) | ||||||||
Move this element relative to its current position. More... | |||||||||
virtual Element | MoveTo (int x, int y, bool animate) | ||||||||
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | MoveTo (int x, int y, ElementFxConfig animate) | ||||||||
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | MoveTo (int x, int y) | ||||||||
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | Next (string selector) | ||||||||
Gets the next sibling, skipping text nodes More... | |||||||||
virtual Element | Next () | ||||||||
Gets the next sibling, skipping text nodes More... | |||||||||
virtual Element | Parent (string selector) | ||||||||
Gets the parent node for this element, optionally chaining up trying to match a selector More... | |||||||||
virtual Element | Parent () | ||||||||
Gets the parent node for this element, optionally chaining up trying to match a selector More... | |||||||||
virtual Element | Position (CssPosition position, int zIndex, int x, int y) | ||||||||
Initializes positioning on this element. If a desired position is not passed, it will make the the element positioned relative IF it is not already positioned. More... | |||||||||
virtual Element | Position (CssPosition position, int zIndex) | ||||||||
Initializes positioning on this element. If a desired position is not passed, it will make the the element positioned relative IF it is not already positioned. More... | |||||||||
virtual Element | Position (CssPosition position) | ||||||||
Initializes positioning on this element. If a desired position is not passed, it will make the the element positioned relative IF it is not already positioned. More... | |||||||||
virtual Element | Position () | ||||||||
Initializes positioning on this element. If a desired position is not passed, it will make the the element positioned relative IF it is not already positioned. More... | |||||||||
virtual Element | Prev (string selector) | ||||||||
Gets the previous sibling, skipping text nodes More... | |||||||||
virtual Element | Prev () | ||||||||
Gets the previous sibling, skipping text nodes More... | |||||||||
virtual Element | RadioClass (string className) | ||||||||
Adds one or more CSS classes to this element and removes the same class(es) from all siblings. More... | |||||||||
virtual Element | RadioClass (string[] classNames) | ||||||||
Adds one or more CSS classes to this element and removes the same class(es) from all siblings. More... | |||||||||
virtual Element | RelayEvent (string eventName, Observable observable) | ||||||||
Create an event handler on this element such that when the event fires and is handled by this element, it will be relayed to another object (i.e., fired again as if it originated from that object instead). More... | |||||||||
virtual Element | RelayEvent (string eventName, string observable) | ||||||||
Create an event handler on this element such that when the event fires and is handled by this element, it will be relayed to another object (i.e., fired again as if it originated from that object instead). More... | |||||||||
virtual Element | Remove () | ||||||||
Removes this element from the DOM and deletes it from the cache More... | |||||||||
virtual Element | RemoveAllListeners () | ||||||||
Removes all previous added listeners from this element More... | |||||||||
virtual Element | RemoveAttribute (string attr) | ||||||||
Removes the attribute from an underlying DOM object of this element. More... | |||||||||
virtual Element | RemoveCls (string className) | ||||||||
Removes one or more CSS classes from the element. More... | |||||||||
virtual Element | RemoveCls (string[] classNames) | ||||||||
Removes one or more CSS classes from the element. More... | |||||||||
virtual void | RemoveListener (string eventName, string funcName, string scope) | ||||||||
Removes an event handler from this element. Note: if a scope was explicitly specified when adding the listener, the same scope must be specified here. More... | |||||||||
virtual void | RemoveListener (string eventName, string funcName) | ||||||||
Removes an event handler from this element. Note: if a scope was explicitly specified when adding the listener, the same scope must be specified here. More... | |||||||||
virtual Element | RemoveStyleProperty (string prop) | ||||||||
Removes the style's property from this element. More... | |||||||||
virtual Element | Repaint () | ||||||||
Forces the browser to repaint this element More... | |||||||||
virtual Element | Replace (Element element) | ||||||||
Replaces the passed element with this element More... | |||||||||
virtual Element | ReplaceClass (string oldClassName, string newClassName) | ||||||||
Replaces a CSS class on the element with another. If the old name does not exist, the new name will simply be added. More... | |||||||||
virtual Element | ReplaceWith (Element element) | ||||||||
Replaces this element with the passed element More... | |||||||||
virtual Element | ReplaceWith (DomObject element) | ||||||||
Replaces this element with the passed element More... | |||||||||
virtual Element | Scroll (Direction direction, int distance, bool animate) | ||||||||
Scrolls this element the specified direction. Does bounds checking to make sure the scroll is within this element's scrollable range. More... | |||||||||
virtual Element | Scroll (Direction direction, int distance, ElementFxConfig animate) | ||||||||
Scrolls this element the specified direction. Does bounds checking to make sure the scroll is within this element's scrollable range. More... | |||||||||
virtual Element | Scroll (Direction direction, int distance) | ||||||||
Scrolls this element the specified direction. Does bounds checking to make sure the scroll is within this element's scrollable range. More... | |||||||||
virtual Element | ScrollIntoView (Element container, bool hscroll) | ||||||||
Scrolls this element into view within the passed container. More... | |||||||||
virtual Element | ScrollIntoView (Element container) | ||||||||
Scrolls this element into view within the passed container. More... | |||||||||
virtual Element | ScrollIntoView () | ||||||||
Scrolls this element into view within the passed container. More... | |||||||||
virtual Element | ScrollTo (Direction side, int value, bool animate) | ||||||||
Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll(). More... | |||||||||
virtual Element | ScrollTo (Direction side, int value, ElementFxConfig animate) | ||||||||
Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll(). More... | |||||||||
virtual Element | ScrollTo (Direction side, int value) | ||||||||
Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll(). More... | |||||||||
virtual Element | Set (JsonObject o, bool useSet) | ||||||||
Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function) More... | |||||||||
virtual Element | Set (JsonObject o) | ||||||||
Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function) More... | |||||||||
virtual Element | SetBottom (string bottom) | ||||||||
Sets the element's CSS bottom style. More... | |||||||||
virtual Element | SetBounds (int x, int y, int width, int height, bool animate) | ||||||||
Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently. More... | |||||||||
virtual Element | SetBounds (int x, int y, int width, int height, ElementFxConfig animate) | ||||||||
Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently. More... | |||||||||
virtual Element | SetBounds (int x, int y, string width, string height) | ||||||||
Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently. More... | |||||||||
virtual Element | SetBounds (int x, int y, int width, string height) | ||||||||
Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently. More... | |||||||||
virtual Element | SetBounds (int x, int y, string width, int height) | ||||||||
Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently. More... | |||||||||
virtual Element | SetBox (Box box, bool adjust, bool animate) | ||||||||
Sets the element's box. More... | |||||||||
virtual Element | SetBox (Box box, bool adjust, ElementFxConfig animate) | ||||||||
Sets the element's box. More... | |||||||||
virtual Element | SetBox (Box box, bool adjust) | ||||||||
Sets the element's box. More... | |||||||||
virtual Element | SetBox (Box box) | ||||||||
Sets the element's box. More... | |||||||||
virtual Element | SetDisplayed (bool value) | ||||||||
Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true. More... | |||||||||
virtual Element | SetDisplayed (string value) | ||||||||
Sets the CSS display property. More... | |||||||||
virtual Element | SetHeight (int value, bool animate) | ||||||||
Set the height of this Element. More... | |||||||||
virtual Element | SetHeight (int value, ElementFxConfig animate) | ||||||||
Set the height of this Element. More... | |||||||||
virtual Element | SetHeight (string value) | ||||||||
Set the height of this Element. More... | |||||||||
virtual Element | SetLeft (string left) | ||||||||
Sets the element's left position directly using CSS style (instead of setX). More... | |||||||||
virtual Element | SetLeftTop (string left, string top) | ||||||||
Quick set left and top adding default units More... | |||||||||
virtual Element | SetLocation (int x, int y, bool animate) | ||||||||
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetLocation (int x, int y, ElementFxConfig animate) | ||||||||
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetLocation (int x, int y) | ||||||||
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetOpacity (double opacity, bool animate) | ||||||||
Set the opacity of the element More... | |||||||||
virtual Element | SetOpacity (double opacity) | ||||||||
Set the opacity of the element More... | |||||||||
virtual Element | SetOpacity (double opacity, ElementFxConfig animate) | ||||||||
Set the opacity of the element More... | |||||||||
virtual Element | SetRight (string right) | ||||||||
Sets the element's CSS right style. More... | |||||||||
virtual Element | SetSize (int width, int height, bool animate) | ||||||||
Set the size of this Element. If animation is true, both width and height will be animated concurrently. More... | |||||||||
virtual Element | SetSize (int width, int height, ElementFxConfig animate) | ||||||||
Set the size of this Element. If animation is true, both width and height will be animated concurrently. More... | |||||||||
virtual Element | SetSize (int width, int height) | ||||||||
Set the size of this Element. If animation is true, both width and height will be animated concurrently. More... | |||||||||
virtual Element | SetSize (string width, string height) | ||||||||
Set the size of this Element. If animation is true, both width and height will be animated concurrently. More... | |||||||||
virtual Element | SetSize (int width, string height) | ||||||||
Set the size of this Element. If animation is true, both width and height will be animated concurrently. More... | |||||||||
virtual Element | SetSize (string width, int height) | ||||||||
Set the size of this Element. If animation is true, both width and height will be animated concurrently. More... | |||||||||
virtual Element | SetStyle (JsonObject properties) | ||||||||
Wrapper for setting style properties, also takes single object parameter of multiple styles. More... | |||||||||
virtual Element | SetStyle (string property, string value) | ||||||||
Wrapper for setting style properties, also takes single object parameter of multiple styles. More... | |||||||||
virtual Element | SetTop (string top) | ||||||||
Sets the element's top position directly using CSS style (instead of setY). More... | |||||||||
virtual Element | SetValue (object value) | ||||||||
Sets the .value property of the Elements dom object if it exists. More... | |||||||||
virtual Element | SetVisibilityMode (VisibilityMode mode) | ||||||||
Sets the element's visibility mode. When setVisible() is called it will use this to determine whether to set the visibility or the display property. More... | |||||||||
virtual Element | SetVisible (bool visible, bool animate) | ||||||||
Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use the display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property. More... | |||||||||
virtual Element | SetVisible (bool visible, ElementFxConfig animate) | ||||||||
Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use the display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property. More... | |||||||||
virtual Element | SetWidth (int width, bool animate) | ||||||||
Set the width of this Element. More... | |||||||||
virtual Element | SetWidth (int width, ElementFxConfig animate) | ||||||||
Set the width of this Element. More... | |||||||||
virtual Element | SetWidth (string width) | ||||||||
Set the width of this Element. More... | |||||||||
virtual Element | SetX (int x, bool animate) | ||||||||
Sets the X position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetX (int x, ElementFxConfig animate) | ||||||||
Sets the X position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetX (int x) | ||||||||
Sets the X position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetY (int y, bool animate) | ||||||||
Sets the Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetY (int y, ElementFxConfig animate) | ||||||||
Sets the Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetY (int y) | ||||||||
Sets the Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetXY (int x, int y, bool animate) | ||||||||
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetXY (int x, int y, ElementFxConfig animate) | ||||||||
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | SetXY (int x, int y) | ||||||||
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false). More... | |||||||||
virtual Element | Select (string selector, bool unique, string root) | ||||||||
Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement More... | |||||||||
virtual Element | Select (string selector, bool unique) | ||||||||
Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement More... | |||||||||
virtual Element | Select (string selector) | ||||||||
Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement More... | |||||||||
virtual void | SetCls (string className) | ||||||||
Sets the specified CSS class on this element's DOM node. More... | |||||||||
virtual void | SetCls (string[] className) | ||||||||
Sets the specified CSS class on this element's DOM node. More... | |||||||||
virtual void | SetHtml (string html) | ||||||||
Sets the innerHTML of this element. More... | |||||||||
virtual Element | SetMaxHeight (int height) | ||||||||
Set the maximum height of this Element. More... | |||||||||
virtual Element | SetMaxHeight (string height) | ||||||||
Set the maximum height of this Element. More... | |||||||||
virtual Element | SetMaxWidth (int width) | ||||||||
Set the maximum width of this Element. More... | |||||||||
virtual Element | SetMaxWidth (string width) | ||||||||
Set the maximum width of this Element. More... | |||||||||
virtual Element | SetMinHeight (int height) | ||||||||
Set the minimum height of this Element. More... | |||||||||
virtual Element | SetMinHeight (string height) | ||||||||
Set the minimum height of this Element. More... | |||||||||
virtual Element | SetMinWidth (int width) | ||||||||
Set the minimum width of this Element. More... | |||||||||
virtual Element | SetMinWidth (string width) | ||||||||
Set the minimum width of this Element. More... | |||||||||
virtual Element | SingleSelect (string selector) | ||||||||
Selects first element based on the passed CSS selector More... | |||||||||
virtual Element | SingleSelect (string selector, bool unique) | ||||||||
Selects first element based on the passed CSS selector More... | |||||||||
virtual Element | Show (bool animate) | ||||||||
Show this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible. More... | |||||||||
virtual Element | Show (ElementFxConfig animate) | ||||||||
Show this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible. More... | |||||||||
virtual Element | Show () | ||||||||
Show this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible. More... | |||||||||
virtual Element | SwallowEvent (string eventName, bool preventDefault) | ||||||||
Stops the specified event(s) from bubbling and optionally prevents the default action More... | |||||||||
virtual Element | SwallowEvent (string eventName) | ||||||||
Stops the specified event(s) from bubbling and optionally prevents the default action More... | |||||||||
virtual Element | SwallowEvent (string[] eventNames, bool preventDefault) | ||||||||
Stops the specified event(s) from bubbling and optionally prevents the default action More... | |||||||||
virtual Element | SwallowEvent (string[] eventNames) | ||||||||
Stops the specified event(s) from bubbling and optionally prevents the default action More... | |||||||||
virtual Element | Toggle (bool animate) | ||||||||
Toggles the element's visibility or display, depending on visibility mode. More... | |||||||||
virtual Element | Toggle (ElementFxConfig animate) | ||||||||
Toggles the element's visibility or display, depending on visibility mode. More... | |||||||||
virtual Element | Toggle () | ||||||||
Toggles the element's visibility or display, depending on visibility mode. More... | |||||||||
virtual Element | ToggleCls (string className) | ||||||||
Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it). More... | |||||||||
virtual Element | Unclip () | ||||||||
Return clipping (overflow) to original clipping before clip was called More... | |||||||||
virtual Element | Unmask () | ||||||||
Removes a previously applied mask. More... | |||||||||
virtual Element | Unselectable () | ||||||||
Disables text selection for this element (normalized across browsers) More... | |||||||||
virtual Element | Up (string selector, int maxDepth) | ||||||||
Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child). This is a shortcut for findParentNode() that always returns an Ext.Element. More... | |||||||||
virtual Element | Up (string selector, Element maxDepth) | ||||||||
Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child). This is a shortcut for findParentNode() that always returns an Ext.Element. More... | |||||||||
virtual Element | Up (string selector) | ||||||||
Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child). This is a shortcut for findParentNode() that always returns an Ext.Element. More... | |||||||||
virtual Element | Update (string html, bool loadScripts, JFunction callback) | ||||||||
Update the innerHTML of this element, optionally searching for and processing scripts More... | |||||||||
virtual Element | Update (string html, bool loadScripts) | ||||||||
Update the innerHTML of this element, optionally searching for and processing scripts More... | |||||||||
virtual void | Update (string html) | ||||||||
Update the innerHTML of this element, optionally searching for and processing scripts More... | |||||||||
virtual void | UpdateText (string text) | ||||||||
Updates the text value of this element. Replaces the content of this element with a single text node containing the passed text. More... | |||||||||
virtual Element | Wrap (DomObject config) | ||||||||
Creates and wraps this element with another element More... | |||||||||
virtual Element | Wrap () | ||||||||
Creates and wraps this element with another element More... | |||||||||
virtual Element | Add (string selector) | ||||||||
Adds elements to this composite. More... | |||||||||
virtual Element | Add (Element[] elements) | ||||||||
Adds elements to this composite. More... | |||||||||
virtual Element | Each (JFunction fn, string scope) | ||||||||
Calls the passed function passing (el, this, index) for each element in this composite. More... | |||||||||
virtual Element | Each (JFunction fn) | ||||||||
Calls the passed function passing (el, this, index) for each element in this composite. More... | |||||||||
virtual Element | Filter (string selector) | ||||||||
Filters this composite to only elements that match the passed selector. More... | |||||||||
virtual Element | Item (int index) | ||||||||
Returns the Element object at the specified index More... | |||||||||
virtual Element | RemoveElement (int index, bool removeDom) | ||||||||
Removes the specified element(s). More... | |||||||||
virtual Element | RemoveElement (int index) | ||||||||
Removes the specified element(s). More... | |||||||||
virtual Element | RemoveElement (string id, bool removeDom) | ||||||||
Removes the specified element(s). More... | |||||||||
virtual Element | RemoveElement (string id) | ||||||||
Removes the specified element(s). More... | |||||||||
virtual Element | FadeIn (FadeInConfig config) | ||||||||
Fade an element in (from transparent to opaque). The ending opacity can be specified using the endOpacity config option. More... | |||||||||
virtual Element | FadeOut (FadeOutConfig config) | ||||||||
Fade an element out (from opaque to transparent). The ending opacity can be specified using the endOpacity config option. Note that IE may require useDisplay:true in order to redisplay correctly. More... | |||||||||
virtual Element | Frame (string color, int count, FxConfig config) | ||||||||
Shows a ripple of exploding, attenuating borders to draw attention to an Element More... | |||||||||
virtual Element | Frame (string color, int count) | ||||||||
Shows a ripple of exploding, attenuating borders to draw attention to an Element More... | |||||||||
virtual Element | Frame (string color) | ||||||||
Shows a ripple of exploding, attenuating borders to draw attention to an Element More... | |||||||||
virtual Element | Frame () | ||||||||
Shows a ripple of exploding, attenuating borders to draw attention to an Element More... | |||||||||
virtual Element | Ghost (string anchor, FxConfig config) | ||||||||
Slides the element while fading it out of view. An anchor point can be optionally passed to set the ending point of the effect. More... | |||||||||
virtual Element | Ghost (string anchor) | ||||||||
Slides the element while fading it out of view. An anchor point can be optionally passed to set the ending point of the effect. More... | |||||||||
virtual Element | Ghost () | ||||||||
Slides the element while fading it out of view. An anchor point can be optionally passed to set the ending point of the effect. More... | |||||||||
virtual Element | Highlight (string color, HighlightConfig config) | ||||||||
Highlights the Element by setting a color (applies to the background-color by default, but can be changed using the "attr" config option) and then fading back to the original color. If no original color is available, you should provide the "endColor" config option which will be cleared after the animation. More... | |||||||||
virtual Element | Highlight (string color) | ||||||||
Highlights the Element by setting a color (applies to the background-color by default, but can be changed using the "attr" config option) and then fading back to the original color. If no original color is available, you should provide the "endColor" config option which will be cleared after the animation. More... | |||||||||
virtual Element | Highlight () | ||||||||
Highlights the Element by setting a color (applies to the background-color by default, but can be changed using the "attr" config option) and then fading back to the original color. If no original color is available, you should provide the "endColor" config option which will be cleared after the animation. More... | |||||||||
virtual Element | Pause (int seconds) | ||||||||
Creates a pause before any subsequent queued effects begin. If there are no effects queued after the pause it will have no effect. More... | |||||||||
virtual Element | Puff (FxConfig config) | ||||||||
Fades the element out while slowly expanding it in all directions. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired. More... | |||||||||
virtual Element | Puff () | ||||||||
Fades the element out while slowly expanding it in all directions. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired. More... | |||||||||
virtual Element | Scale (int? width, int? height, FxConfig config) | ||||||||
Animates the transition of an element's dimensions from a starting height/width to an ending height/width. This method is a convenience implementation of shift. More... | |||||||||
virtual Element | Scale (int? width, int? height) | ||||||||
Animates the transition of an element's dimensions from a starting height/width to an ending height/width. This method is a convenience implementation of shift. More... | |||||||||
virtual Element | SequenceFx () | ||||||||
Ensures that all effects queued after sequenceFx is called on the element are run in sequence. This is the opposite of syncFx. More... | |||||||||
virtual Element | Shift (ShiftConfig config) | ||||||||
Animates the transition of any combination of an element's dimensions, xy position and/or opacity. Any of these properties not specified in the config object will not be changed. This effect requires that at least one new dimension, position or opacity setting must be passed in on the config object in order for the function to have any effect. More... | |||||||||
virtual Element | SlideIn (string anchor, FxConfig config) | ||||||||
Slides the element into view. An anchor point can be optionally passed to set the point of origin for the slide effect. This function automatically handles wrapping the element with a fixed-size container if needed. See the Fx class overview for valid anchor point options. More... | |||||||||
virtual Element | SlideIn (string anchor) | ||||||||
Slides the element into view. An anchor point can be optionally passed to set the point of origin for the slide effect. This function automatically handles wrapping the element with a fixed-size container if needed. See the Fx class overview for valid anchor point options. More... | |||||||||
virtual Element | SlideIn () | ||||||||
Slides the element into view. An anchor point can be optionally passed to set the point of origin for the slide effect. This function automatically handles wrapping the element with a fixed-size container if needed. See the Fx class overview for valid anchor point options. More... | |||||||||
virtual Element | SlideOut (string anchor, FxConfig config) | ||||||||
Slides the element out of view. An anchor point can be optionally passed to set the end point for the slide effect. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired. This function automatically handles wrapping the element with a fixed-size container if needed. More... | |||||||||
virtual Element | SlideOut (string anchor) | ||||||||
Slides the element out of view. An anchor point can be optionally passed to set the end point for the slide effect. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired. This function automatically handles wrapping the element with a fixed-size container if needed. More... | |||||||||
virtual Element | SlideOut () | ||||||||
Slides the element out of view. An anchor point can be optionally passed to set the end point for the slide effect. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired. This function automatically handles wrapping the element with a fixed-size container if needed. More... | |||||||||
virtual Element | StopFx () | ||||||||
Stops any running effects and clears the element's internal effects queue if it contains any additional effects that haven't started yet. More... | |||||||||
virtual Element | SwitchOff (FxConfig config) | ||||||||
Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television). When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired. More... | |||||||||
virtual Element | SwitchOff () | ||||||||
Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television). When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired. More... | |||||||||
virtual Element | SyncFx () | ||||||||
Ensures that all effects queued after syncFx is called on the element are run concurrently. This is the opposite of sequenceFx. More... | |||||||||
Public Member Functions inherited from Ext.Net.ScriptClass | |||||||||
virtual void | Render () | ||||||||
virtual void | Set (string name, object value) | ||||||||
virtual void | AddScript (string template, params object[] args) | ||||||||
virtual void | AddScript (string script) | ||||||||
Static Public Member Functions | |
static implicit | operator Element (Control control) |
static Element | Get (Control control) |
Retrieves Ext.Element objects. This method does not retrieve Components. This method retrieves Ext.Element objects which encapsulate DOM elements. Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM. More... | |
static Element | Get (object node) |
Retrieves Ext.Element objects. This method does not retrieve Components. This method retrieves Ext.Element objects which encapsulate DOM elements. Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM. More... | |
static Element | Fly (object node) |
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class. More... | |
static Element | Fly (Control control) |
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class. More... | |
static Element | Fly (object node, string named) |
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class. More... | |
static Element | Body () |
Returns the current document body as an Ext.Element. More... | |
static Element | Form () |
Returns the current document body as an Ext.Element. More... | |
static Element | Document () |
Returns the current HTML document object as an Ext.Element. More... | |
static Element | Head () |
Returns the current HTML head object as an Ext.Element. More... | |
static Element | Window () |
Returns the current window object as an Ext.dom.Element. Typically used for attaching event listeners to the window. Note: since the window object is not an HTMLElement many of the Ext.dom.Element methods are not applicable and may throw errors if called on the returned Element instance. More... | |
static string | ConvertToSafeJSHtml (string html) |
Protected Member Functions | |
virtual void | CallDelay (string name, params object[] args) |
virtual int | GetID () |
virtual void | EnsureChaining () |
virtual Element | ResetChain () |
Ends the existing method chaining and starts a new More... | |
Protected Member Functions inherited from Ext.Net.ScriptClass | |
virtual void | CallTemplate (string template, string name, params object[] args) |
virtual string | FormatCall (string name, params object[] args) |
virtual string | FormatCallTemplate (string template, string name, params object[] args) |
virtual string | FormatArgs (object[] args) |
Properties | |
virtual Dom | Dom [get] |
virtual StringBuilder | Buffer [get] |
virtual string? | Descriptor [get] |
virtual string | RealDescriptor [get] |
virtual string | ID [get] |
virtual bool | Chaining [get, set] |
virtual int | Delay [get, set] |
override string | InstanceOf [get] |
Properties inherited from Ext.Net.ScriptClass | |
virtual string | InstanceOf [get] |
virtual Page | Page [get] |
virtual ResourceManager | ResourceManager [get] |
Properties inherited from Ext.Net.IScriptable | |
string | InstanceOf [get] |
Properties inherited from Ext.Net.IResourceManager | |
ResourceManager | ResourceManager [get] |
Get an instance of the ResourceManager More... | |
Page | Page [get] |
Get an instance of the Page More... | |
|
inline |
|
inline |
|
inline |
|
inline |
Adds elements to this composite.
elements | an array of elements or an element |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)
className | The CSS class to add on click |
Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)
className | The CSS class to add on click |
testFn | A test function to execute before adding the class. The passed parameter will be the Element instance. If this functions returns false, the class will not be added. |
|
inlinevirtual |
Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)
className | The CSS class to add on click |
testFn | A test function to execute before adding the class. The passed parameter will be the Element instance. If this functions returns false, the class will not be added. |
scope | The scope to execute the testFn in. |
|
inlinevirtual |
Sets up event handlers to add and remove a css class when this element has the focus
className | The CSS class to add on focus |
Sets up event handlers to add and remove a css class when this element has the focus
className | The CSS class to add on focus |
testFn | A test function to execute before adding the class. The passed parameter will be the Element instance. If this functions returns false, the class will not be added. |
|
inlinevirtual |
Sets up event handlers to add and remove a css class when this element has the focus
className | The CSS class to add on focus |
testFn | A test function to execute before adding the class. The passed parameter will be the Element instance. If this functions returns false, the class will not be added. |
scope | The scope to execute the testFn in. |
|
inlinevirtual |
Sets up event handlers to add and remove a css class when the mouse is over this element
className | The CSS class to add on over |
Sets up event handlers to add and remove a css class when the mouse is over this element
className | The CSS class to add on over |
testFn | A test function to execute before adding the class. The passed parameter will be the Element instance. If this functions returns false, the class will not be added. |
|
inlinevirtual |
Sets up event handlers to add and remove a css class when the mouse is over this element
className | The CSS class to add on over |
testFn | A test function to execute before adding the class. The passed parameter will be the Element instance. If this functions returns false, the class will not be added. |
scope | The scope to execute the testFn in. |
|
inlinevirtual |
|
inlinevirtual |
Appends an events handlers to this element.
listeners | Listeners object |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invoke |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invokes. |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to this Element.. |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invokes. |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to this Element. |
options | An object containing handler configuration properties. |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invokes. This function is passed the following parameters: evt : EventObject The EventObject describing the event. el : Element The Element which was the target of the event. Note that this may be filtered by using the delegate option. o : Object The options object from the addListener call. |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invokes. This function is passed the following parameters: evt : EventObject The EventObject describing the event. el : Element The Element which was the target of the event. Note that this may be filtered by using the delegate option. o : Object The options object from the addListener call. |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to this Element.. |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invokes. This function is passed the following parameters: evt : EventObject The EventObject describing the event. el : Element The Element which was the target of the event. Note that this may be filtered by using the delegate option. o : Object The options object from the addListener call. |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to this Element. |
options | An object containing handler configuration properties. |
Aligns this element with another element relative to the specified anchor points. If the other element is the document it aligns it to the viewport.
element | The element to align to. |
Aligns this element with another element relative to the specified anchor points. If the other element is the document it aligns it to the viewport.
element | The element to align to. |
position | The position to align to. The position parameter is optional, and can be specified in any one of the following formats: Blank: Defaults to aligning the element's top-left corner to the target's bottom-left corner ("tl-bl"). One anchor (deprecated): The passed anchor position is used as the target element's anchor point. The element being aligned will position its top-left corner (tl) to that point. This method has been deprecated in favor of the newer two anchor syntax below. Two anchors: If two values from the table below are passed separated by a dash, the first value is used as the element's anchor point, and the second value is used as the target's anchor point. In addition to the anchor points, the position parameter also supports the "?" character. If "?" is passed at the end of the position string, the element will attempt to align as specified, but the position will be adjusted to constrain to the viewport if necessary. Note that the element being aligned might be swapped to align to a different position than that specified in order to enforce the viewport constraints. Following are all of the supported anchor positions: Value Description |
tl The top left corner (default) t The center of the top edge tr The top right corner l The center of the left edge c In the center of the element r The center of the right edge bl The bottom left corner b The center of the bottom edge br The bottom right corner Example Usage: align el to other-el using the default positioning ("tl-bl", non-constrained) el.alignTo("other-el");
align the top left corner of el with the top right corner of other-el (constrained to viewport) el.alignTo("other-el", "tr?");
align the bottom right corner of el with the center left edge of other-el el.alignTo("other-el", "br-l?");
align the center of el with the bottom left corner of other-el and adjust the x position by -6 pixels (and the y position by 0) el.alignTo("other-el", "c-bl", [-6, 0]);
|
inlinevirtual |
Aligns this element with another element relative to the specified anchor points. If the other element is the document it aligns it to the viewport.
element | The element to align to. |
position | The position to align to. The position parameter is optional, and can be specified in any one of the following formats: Blank: Defaults to aligning the element's top-left corner to the target's bottom-left corner ("tl-bl"). One anchor (deprecated): The passed anchor position is used as the target element's anchor point. The element being aligned will position its top-left corner (tl) to that point. This method has been deprecated in favor of the newer two anchor syntax below. Two anchors: If two values from the table below are passed separated by a dash, the first value is used as the element's anchor point, and the second value is used as the target's anchor point. In addition to the anchor points, the position parameter also supports the "?" character. If "?" is passed at the end of the position string, the element will attempt to align as specified, but the position will be adjusted to constrain to the viewport if necessary. Note that the element being aligned might be swapped to align to a different position than that specified in order to enforce the viewport constraints. Following are all of the supported anchor positions: Value Description |
tl The top left corner (default) t The center of the top edge tr The top right corner l The center of the left edge c In the center of the element r The center of the right edge bl The bottom left corner b The center of the bottom edge br The bottom right corner Example Usage: align el to other-el using the default positioning ("tl-bl", non-constrained) el.alignTo("other-el");
align the top left corner of el with the top right corner of other-el (constrained to viewport) el.alignTo("other-el", "tr?");
align the bottom right corner of el with the center left edge of other-el el.alignTo("other-el", "br-l?");
align the center of el with the bottom left corner of other-el and adjust the x position by -6 pixels (and the y position by 0) el.alignTo("other-el", "c-bl", [-6, 0]);
offsets | Offset the positioning by [x, y] |
|
inlinevirtual |
Aligns this element with another element relative to the specified anchor points. If the other element is the document it aligns it to the viewport.
element | The element to align to. |
position | The position to align to. The position parameter is optional, and can be specified in any one of the following formats: Blank: Defaults to aligning the element's top-left corner to the target's bottom-left corner ("tl-bl"). One anchor (deprecated): The passed anchor position is used as the target element's anchor point. The element being aligned will position its top-left corner (tl) to that point. This method has been deprecated in favor of the newer two anchor syntax below. Two anchors: If two values from the table below are passed separated by a dash, the first value is used as the element's anchor point, and the second value is used as the target's anchor point. In addition to the anchor points, the position parameter also supports the "?" character. If "?" is passed at the end of the position string, the element will attempt to align as specified, but the position will be adjusted to constrain to the viewport if necessary. Note that the element being aligned might be swapped to align to a different position than that specified in order to enforce the viewport constraints. Following are all of the supported anchor positions: Value Description |
tl The top left corner (default) t The center of the top edge tr The top right corner l The center of the left edge c In the center of the element r The center of the right edge bl The bottom left corner b The center of the bottom edge br The bottom right corner Example Usage: align el to other-el using the default positioning ("tl-bl", non-constrained) el.alignTo("other-el");
align the top left corner of el with the top right corner of other-el (constrained to viewport) el.alignTo("other-el", "tr?");
align the bottom right corner of el with the center left edge of other-el el.alignTo("other-el", "br-l?");
align the center of el with the bottom left corner of other-el and adjust the x position by -6 pixels (and the y position by 0) el.alignTo("other-el", "c-bl", [-6, 0]);
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
|
inlinevirtual |
Aligns this element with another element relative to the specified anchor points. If the other element is the document it aligns it to the viewport.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | Animation config |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
monitorScroll | True to monitor body scroll and reposition. If this parameter is a number, it is used as the buffer delay (defaults to 50ms). |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
monitorScroll | True to monitor body scroll and reposition. If this parameter is a number, it is used as the buffer delay (defaults to 50ms). |
callback | The function to call after the animation finishes |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
monitorScroll | True to monitor body scroll and reposition. If this parameter is a number, it is used as the buffer delay (defaults to 50ms). |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
monitorScroll | True to monitor body scroll and reposition. If this parameter is a number, it is used as the buffer delay (defaults to 50ms). |
callback | The function to call after the animation finishes |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
monitorScroll | True to monitor body scroll and reposition. If this parameter is a number, it is used as the buffer delay (defaults to 50ms). |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
monitorScroll | True to monitor body scroll and reposition. If this parameter is a number, it is used as the buffer delay (defaults to 50ms). |
callback | The function to call after the animation finishes |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
monitorScroll | True to monitor body scroll and reposition. If this parameter is a number, it is used as the buffer delay (defaults to 50ms). |
|
inlinevirtual |
Anchors an element to another element and realigns it when the window is resized.
element | The element to align to. |
position | The position to align to. |
offsets | Offset the positioning by [x, y] |
animate | True for the default animation |
monitorScroll | True to monitor body scroll and reposition. If this parameter is a number, it is used as the buffer delay (defaults to 50ms). |
callback | The function to call after the animation finishes |
|
inlinevirtual |
Perform custom animation on this element.
args | The animation control args |
Appends the passed element(s) to this element
element | element |
|
inlinevirtual |
Appends the passed element(s) to this element
element | element |
Appends this element to the passed element
element | The new parent element |
More flexible version of setStyle for setting style properties.
styles | Function which returns styles specification, like {width:"100px"} |
|
inlinevirtual |
More flexible version of setStyle for setting style properties.
styles | A style specification object in the form {width:"100px"} |
|
inlinevirtual |
More flexible version of setStyle for setting style properties.
styles | A style specification string, e.g. "width:100px" |
|
inlinevirtual |
Tries to blur the element. Any exceptions are caught and ignored.
|
inlinestatic |
Returns the current document body as an Ext.Element.
|
inlinevirtual |
Wraps the specified element with a special 9 element markup/CSS block that renders by default as a gray container with a gradient background, rounded corners and a 4-way shadow. This special markup is used throughout Ext when box wrapping elements (Ext.Button, Ext.Panel when frame=true, Ext.Window).
|
inlinevirtual |
Wraps the specified element with a special 9 element markup/CSS block that renders by default as a gray container with a gradient background, rounded corners and a 4-way shadow. This special markup is used throughout Ext when box wrapping elements (Ext.Button, Ext.Panel when frame=true, Ext.Window).
cssClass | A base CSS class to apply to the containing wrapper element (defaults to 'x-box'). Note that there are a number of CSS rules that are dependent on this name to make the overall effect work, so if you supply an alternate base class, make sure you also supply all of the necessary rules. |
|
inlinevirtual |
Reimplemented from Ext.Net.ScriptClass.
|
inlinevirtual |
Reimplemented from Ext.Net.ScriptClass.
|
inlineprotectedvirtual |
|
inlinevirtual |
|
inlinevirtual |
Turn off script chaining
|
inlinevirtual |
Turn on script chaining
|
inlinevirtual |
|
inlinevirtual |
Removes worthless text nodes
|
inlinevirtual |
Removes worthless text nodes
forceReclean | By default the element keeps track if it has been cleaned already so you can call this over and over. However, if you update the element and need to force a reclean, you can pass true. |
|
inlinevirtual |
Clears any opacity settings from this element. Required in some cases for IE.
|
inlinevirtual |
Clear positioning back to the default when the document was loaded
value | The value to use for the left,right,top,bottom, defaults to '' (empty string). You could use 'auto'. |
|
inlinevirtual |
Store the current overflow setting and clip overflow on the element - use unclip to remove
|
inlinestatic |
Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.
config | DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be automatically generated with the specified attributes. |
|
inlinevirtual |
Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.
config | DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be automatically generated with the specified attributes. |
insertBefore | a child element of this element |
Creates a proxy element of this element
config | The DomHelper config object of the proxy element |
|
inlinevirtual |
Creates a proxy element of this element
config | The DomHelper config object of the proxy element |
renderTo | The element to render the proxy to (defaults to document.body) |
matchBox | True to align and size the proxy to this element now (defaults to false) |
|
inlinevirtual |
Creates a proxy element of this element
config | The DomHelper config object of the proxy element |
renderTo | The element id to render the proxy to (defaults to document.body) |
matchBox | True to align and size the proxy to this element now (defaults to false) |
|
inlinevirtual |
Creates a proxy element of this element
className | The class name of the proxy element |
|
inlinevirtual |
Creates a proxy element of this element
className | The class name of the proxy element |
renderTo | The element to render the proxy to (defaults to document.body) |
matchBox | True to align and size the proxy to this element now (defaults to false) |
|
inlinevirtual |
Creates a proxy element of this element
className | The class name of the proxy element |
renderTo | The element id to render the proxy to (defaults to document.body) |
matchBox | True to align and size the proxy to this element now (defaults to false) |
|
inlinevirtual |
Creates an iframe shim for this element to keep selects and other windowed objects from showing through.
|
inlinevirtual |
Turn off delay execution
|
inlinevirtual |
Turn on delay execution for subsequent methods calling
delay | Delay amount |
|
inlinestatic |
Returns the current HTML document object as an Ext.Element.
|
inlinevirtual |
Calls the passed function passing (el, this, index) for each element in this composite.
fn | The function to call |
Calls the passed function passing (el, this, index) for each element in this composite.
fn | The function to call |
scope | The this object (defaults to the element) |
|
inlinevirtual |
Convenience method for setVisibilityMode(Element.DISPLAY)
|
inlinevirtual |
Convenience method for setVisibilityMode(Element.DISPLAY)
display | What to set display to when visible |
|
inlineprotectedvirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Filters this composite to only elements that match the passed selector.
selector | A string CSS selector |
|
inlinevirtual |
Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
selector | The simple selector to test |
Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
selector | The simple selector to test |
maxDepth | The max depth to search as a element (defaults to 50 || document.body) |
|
inlinevirtual |
Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
selector | The simple selector to test |
maxDepth | The max depth to search as a number (defaults to 50 || document.body) |
|
inlinevirtual |
Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
selector | The simple selector to test |
Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
selector | The simple selector to test |
maxDepth | The max depth to search as a element (defaults to 10 || document.body) |
|
inlinevirtual |
Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
selector | The simple selector to test |
maxDepth | The max depth to search as a number (defaults to 10 || document.body) |
|
inlinevirtual |
Gets the first child, skipping text nodes
|
inlinevirtual |
Gets the first child, skipping text nodes
selector | Find the next sibling that matches the passed simple selector |
|
inlinestatic |
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class.
control | The Control to get as an Element object. |
|
inlinestatic |
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class.
node | The id of the node or any object which represents an Ext.Element |
|
inlinestatic |
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element - the dom node can be overwritten by other code. Shorthand of Ext.Element.fly Use this to make one-time references to DOM elements which are not going to be accessed again either by application code, or by Ext's classes. If accessing an element which will be processed regularly, then Ext.get will be more appropriate to take advantage of the caching provided by the Ext.Element class.
node | The id of the node or any object which represents an Ext.Element |
named | Allows for creation of named reusable flyweights to prevent conflicts |
|
inlinevirtual |
Tries to focus the element. Any exceptions are caught and ignored.
|
inlinevirtual |
Tries to focus the element. Any exceptions are caught and ignored.
defer | Milliseconds to defer the focus |
|
inlinestatic |
Returns the current document body as an Ext.Element.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Shows a ripple of exploding, attenuating borders to draw attention to an Element
color | The color of the border. Should be a 6 char hex color without the leading # (defaults to light blue: 'C3DAF9'). |
count | The number of ripples to display (defaults to 1) |
config | Object literal with any of the Fx config options |
|
inlinestatic |
Retrieves Ext.Element objects. This method does not retrieve Components. This method retrieves Ext.Element objects which encapsulate DOM elements. Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM.
control | The Control to get as an Element object. |
|
inlinestatic |
Retrieves Ext.Element objects. This method does not retrieve Components. This method retrieves Ext.Element objects which encapsulate DOM elements. Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM.
node | The id of the node or any object which represents an Ext.Element |
|
inlinevirtual |
|
inlineprotectedvirtual |
|
inlinevirtual |
Slides the element while fading it out of view. An anchor point can be optionally passed to set the ending point of the effect.
|
inlinevirtual |
|
inlinestatic |
Returns the current HTML head object as an Ext.Element.
|
inlinevirtual |
Hide this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible.
|
inlinevirtual |
Hide this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible.
animate | true for the default animation |
|
inlinevirtual |
Hide this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible.
animate | true for the default animation |
|
inlinevirtual |
Highlights the Element by setting a color (applies to the background-color by default, but can be changed using the "attr" config option) and then fading back to the original color. If no original color is available, you should provide the "endColor" config option which will be cleared after the animation.
|
inlinevirtual |
Highlights the Element by setting a color (applies to the background-color by default, but can be changed using the "attr" config option) and then fading back to the original color. If no original color is available, you should provide the "endColor" config option which will be cleared after the animation.
color | The highlight color. Should be a 6 char hex color without the leading # (defaults to yellow: 'ffff9c') |
|
inlinevirtual |
Highlights the Element by setting a color (applies to the background-color by default, but can be changed using the "attr" config option) and then fading back to the original color. If no original color is available, you should provide the "endColor" config option which will be cleared after the animation.
color | The highlight color. Should be a 6 char hex color without the leading # (defaults to yellow: 'ffff9c') |
config | Object literal with any of the Fx config options |
|
inlinevirtual |
Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element.
overFn | The function to call when the mouse enters the Element. |
outFn | The function to call when the mouse leaves the Element. |
scope | The scope (this reference) in which the functions are executed. Defaults to the Element's DOM element. |
|
inlinevirtual |
Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element.
overFn | The function to call when the mouse enters the Element. |
outFn | The function to call when the mouse leaves the Element. |
scope | The scope (this reference) in which the functions are executed. Defaults to the Element's DOM element. |
options | Options for the listener. |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Inserts this element after the passed element in the DOM
element | The element to insert after |
Inserts this element before the passed element in the DOM
element | The element before which this element will be inserted |
Inserts an element as the first child of this element
element | The id or element to insert |
|
inlinevirtual |
Inserts an element as the first child of this element
element | The id or element to insert |
|
inlinevirtual |
Inserts an html fragment into this element
where | Where to insert the html in relation to this element-beforeBegin, afterBegin, beforeEnd, afterEnd. |
html | The HTML fragment |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Gets the last child, skipping text nodes
|
inlinevirtual |
Gets the last child, skipping text nodes
selector | Find the previous sibling that matches the passed simple selector |
|
inlinevirtual |
Direct access to the Updater Ext.Updater.update method.
config | Load config |
|
inlinevirtual |
Puts a mask over this element to disable user interaction. Requires core.css. This method can only be applied to elements which accept child nodes.
|
inlinevirtual |
Puts a mask over this element to disable user interaction. Requires core.css. This method can only be applied to elements which accept child nodes.
msg | A message to display in the mask |
|
inlinevirtual |
Puts a mask over this element to disable user interaction. Requires core.css. This method can only be applied to elements which accept child nodes.
msg | A message to display in the mask |
msgCls | A css class to apply to the msg element |
Move this element relative to its current position.
direction | Moving direction |
distance | How far to move the element in pixels |
|
inlinevirtual |
Move this element relative to its current position.
direction | Moving direction |
distance | How far to move the element in pixels |
animate | true for the default animation |
|
inlinevirtual |
Move this element relative to its current position.
direction | Moving direction |
distance | How far to move the element in pixels |
animate | standard Element animation config object |
|
inlinevirtual |
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
|
inlinevirtual |
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
animate | True for the default animation |
|
inlinevirtual |
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
animate | standard Element animation config object |
|
inlinevirtual |
Gets the next sibling, skipping text nodes
|
inlinevirtual |
Gets the next sibling, skipping text nodes
selector | Find the next sibling that matches the passed simple selector |
|
inlinevirtual |
Appends an events handlers to this element.
listeners | Listeners object |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invoke |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invokes. |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to this Element.. |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invokes. |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to this Element. |
options | An object containing handler configuration properties. |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invokes. This function is passed the following parameters: evt : EventObject The EventObject describing the event. el : Element The Element which was the target of the event. Note that this may be filtered by using the delegate option. o : Object The options object from the addListener call. |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invokes. This function is passed the following parameters: evt : EventObject The EventObject describing the event. el : Element The Element which was the target of the event. Note that this may be filtered by using the delegate option. o : Object The options object from the addListener call. |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to this Element.. |
|
inlinevirtual |
Appends an event handler to this element.
eventName | The type of event to handle |
fn | The handler function the event invokes. This function is passed the following parameters: evt : EventObject The EventObject describing the event. el : Element The Element which was the target of the event. Note that this may be filtered by using the delegate option. o : Object The options object from the addListener call. |
scope | The scope (this reference) in which the handler function is executed. If omitted, defaults to this Element. |
options | An object containing handler configuration properties. |
|
inlinestatic |
|
inlinevirtual |
Gets the parent node for this element, optionally chaining up trying to match a selector
|
inlinevirtual |
Gets the parent node for this element, optionally chaining up trying to match a selector
selector | Find a parent node that matches the passed simple selector |
|
inlinevirtual |
Creates a pause before any subsequent queued effects begin. If there are no effects queued after the pause it will have no effect.
seconds | The length of time to pause (in seconds) |
|
inlinevirtual |
Initializes positioning on this element. If a desired position is not passed, it will make the the element positioned relative IF it is not already positioned.
|
inlinevirtual |
Initializes positioning on this element. If a desired position is not passed, it will make the the element positioned relative IF it is not already positioned.
position | Positioning to use "relative", "absolute" or "fixed" |
|
inlinevirtual |
Initializes positioning on this element. If a desired position is not passed, it will make the the element positioned relative IF it is not already positioned.
position | Positioning to use "relative", "absolute" or "fixed" |
zIndex | The zIndex to apply |
|
inlinevirtual |
Initializes positioning on this element. If a desired position is not passed, it will make the the element positioned relative IF it is not already positioned.
position | Positioning to use "relative", "absolute" or "fixed" |
zIndex | The zIndex to apply |
x | Set the page X position |
y | Set the page Y position |
|
inlinevirtual |
Gets the previous sibling, skipping text nodes
|
inlinevirtual |
Gets the previous sibling, skipping text nodes
selector | Find the previous sibling that matches the passed simple selector |
|
inlinevirtual |
Fades the element out while slowly expanding it in all directions. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired.
Fades the element out while slowly expanding it in all directions. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired.
config | Object literal with any of the Fx config options |
|
inlinevirtual |
Recursively removes all previous added listeners from this element and its children
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Create an event handler on this element such that when the event fires and is handled by this element, it will be relayed to another object (i.e., fired again as if it originated from that object instead).
eventName | The type of event to relay |
observable | Any object that extends Ext.util.Observable that will provide the context for firing the relayed event |
|
inlinevirtual |
Create an event handler on this element such that when the event fires and is handled by this element, it will be relayed to another object (i.e., fired again as if it originated from that object instead).
eventName | The type of event to relay |
observable | Any object that extends Ext.util.Observable that will provide the context for firing the relayed event |
|
inlinevirtual |
Removes this element from the DOM and deletes it from the cache
|
inlinevirtual |
Removes all previous added listeners from this element
|
inlinevirtual |
Removes the attribute from an underlying DOM object of this element.
attr | The attribute's name. |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Removes the specified element(s).
index | the index of the element in this composite |
|
inlinevirtual |
Removes the specified element(s).
index | the index of the element in this composite |
removeDom | True to also remove the element from the document |
|
inlinevirtual |
Removes the specified element(s).
id | The id of an element |
|
inlinevirtual |
Removes the specified element(s).
id | The id of an element |
removeDom | True to also remove the element from the document |
|
inlinevirtual |
Removes an event handler from this element. Note: if a scope was explicitly specified when adding the listener, the same scope must be specified here.
eventName | the type of event to remove |
funcName | the method the event invokes |
|
inlinevirtual |
Removes an event handler from this element. Note: if a scope was explicitly specified when adding the listener, the same scope must be specified here.
eventName | the type of event to remove |
funcName | the method the event invokes |
scope | The scope (The this reference) of the handler function. Defaults to this Element. |
|
inlinevirtual |
Removes the style's property from this element.
prop | The style's property name. For example, "background-color". |
|
inlinevirtual |
Forces the browser to repaint this element
Replaces the passed element with this element
element | The element to replace |
|
inlinevirtual |
Replaces this element with the passed element
element | The new element or a DomHelper config of an element to create |
Replaces this element with the passed element
element | The new element or a DomHelper config of an element to create |
|
inlineprotectedvirtual |
Ends the existing method chaining and starts a new
|
inlinevirtual |
Animates the transition of an element's dimensions from a starting height/width to an ending height/width. This method is a convenience implementation of shift.
width | The new width (pass undefined to keep the original width) |
height | The new height (pass undefined to keep the original height) |
Animates the transition of an element's dimensions from a starting height/width to an ending height/width. This method is a convenience implementation of shift.
width | The new width (pass undefined to keep the original width) |
height | The new height (pass undefined to keep the original height) |
config | Object literal with any of the Fx config options |
Scrolls this element the specified direction. Does bounds checking to make sure the scroll is within this element's scrollable range.
direction | Scroll direction |
distance | How far to scroll the element in pixels |
|
inlinevirtual |
Scrolls this element the specified direction. Does bounds checking to make sure the scroll is within this element's scrollable range.
direction | Scroll direction |
distance | How far to scroll the element in pixels |
animate | true for the default animation |
|
inlinevirtual |
Scrolls this element the specified direction. Does bounds checking to make sure the scroll is within this element's scrollable range.
direction | Scroll direction |
distance | How far to scroll the element in pixels |
animate | standard Element animation config object |
|
inlinevirtual |
Scrolls this element into view within the passed container.
Scrolls this element into view within the passed container.
container | The container element to scroll (defaults to document.body). |
Scrolls this element into view within the passed container.
container | The container element to scroll (defaults to document.body). |
hscroll | False to disable horizontal scroll (defaults to true) |
Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().
side | Either "Left" for scrollLeft values or "Top" for scrollTop values. |
value | The new scroll value |
Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().
side | Either "Left" for scrollLeft values or "Top" for scrollTop values. |
value | The new scroll value |
animate | true for the default animation |
|
inlinevirtual |
Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().
side | Either "Left" for scrollLeft values or "Top" for scrollTop values. |
value | The new scroll value |
animate | standard Element animation config object |
|
inlinevirtual |
|
inlinevirtual |
Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement
selector | The CSS selector or an array of elements |
unique | true to create a unique Ext.Element for each element (defaults to a shared flyweight object) |
|
inlinevirtual |
Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in one statement
selector | The CSS selector or an array of elements |
unique | true to create a unique Ext.Element for each element (defaults to a shared flyweight object) |
root | id of the root |
|
inlinevirtual |
Ensures that all effects queued after sequenceFx is called on the element are run in sequence. This is the opposite of syncFx.
|
inlinevirtual |
Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)
o | The object with the attributes |
|
inlinevirtual |
Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)
o | The object with the attributes |
useSet | false to override the default setAttribute to use expandos. |
|
inlinevirtual |
|
inlinevirtual |
Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
width | The new width |
height | The new height |
animate | true for the default animation |
|
inlinevirtual |
Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
width | The new width |
height | The new height |
animate | true for the default animation |
|
inlinevirtual |
Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
width | The new width |
height | The new height |
|
inlinevirtual |
Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
width | The new width |
height | The new height |
|
inlinevirtual |
Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
width | The new width |
height | The new height |
Sets the element's box.
box | The box to fill {x, y, width, height} |
Sets the element's box.
box | The box to fill {x, y, width, height} |
adjust | Whether to adjust for box-model issues automatically |
Sets the element's box.
box | The box to fill {x, y, width, height} |
adjust | Whether to adjust for box-model issues automatically |
animate | true for the default animation |
|
inlinevirtual |
Sets the element's box.
box | The box to fill {x, y, width, height} |
adjust | Whether to adjust for box-model issues automatically |
animate | true for the default animation |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.
value | Boolean value to display the element using its default display |
|
inlinevirtual |
Sets the CSS display property.
value | String to set the display directly. |
|
inlinevirtual |
Set the height of this Element.
value | The new height |
animate | true for the default animation |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Sets the innerHTML of this element.
html | The new HTML |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
|
inlinevirtual |
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
animate | True for the default animation |
|
inlinevirtual |
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
x | X value for new position (coordinates are page-based) |
y | Y value for new position (coordinates are page-based) |
animate | Standard Element animation config object |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Set the opacity of the element
opacity | The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc |
|
inlinevirtual |
Set the opacity of the element
opacity | The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc |
animate | true for the default animation |
|
inlinevirtual |
Set the opacity of the element
opacity | The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc |
animate | standard Element animation config object |
|
inlinevirtual |
|
inlinevirtual |
Set the size of this Element. If animation is true, both width and height will be animated concurrently.
width | A Number specifying the new width |
height | A Number specifying the new height |
|
inlinevirtual |
Set the size of this Element. If animation is true, both width and height will be animated concurrently.
width | A Number specifying the new width |
height | A Number specifying the new height |
animate | true for the default animation |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Wrapper for setting style properties, also takes single object parameter of multiple styles.
properties | Object of multiple styles |
|
inlinevirtual |
Wrapper for setting style properties, also takes single object parameter of multiple styles.
property | The style property to be set |
value | The value to apply to the given property |
|
inlinevirtual |
|
inlinevirtual |
Sets the .value property of the Elements dom object if it exists.
value | The value to set the Elements dom object with. |
|
inlinevirtual |
Sets the element's visibility mode. When setVisible() is called it will use this to determine whether to set the visibility or the display property.
mode | Visibility mode |
|
inlinevirtual |
Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use the display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property.
visible | Whether the element is visible |
animate | True for the default animation |
|
inlinevirtual |
Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use the display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property.
visible | Whether the element is visible |
animate | standard Element animation config object |
|
inlinevirtual |
Set the width of this Element.
width | The new width |
animate | true for the default animation |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
x | X position of the element |
y | Y position of the element |
|
inlinevirtual |
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
x | X position of the element |
y | Y position of the element |
animate | True for the default animation |
|
inlinevirtual |
Sets the position of the element in page coordinates, regardless of how the element is positioned. The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
x | X position of the element |
y | Y position of the element |
animate | Standard Element animation config object |
|
inlinevirtual |
Sets the Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
y | Y position of the element |
|
inlinevirtual |
Sets the Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
y | Y position of the element |
animate | True for the default animation |
|
inlinevirtual |
|
inlinevirtual |
Animates the transition of any combination of an element's dimensions, xy position and/or opacity. Any of these properties not specified in the config object will not be changed. This effect requires that at least one new dimension, position or opacity setting must be passed in on the config object in order for the function to have any effect.
config | Object literal with any of the Fx config options |
|
inlinevirtual |
Show this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible.
|
inlinevirtual |
Show this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible.
animate | true for the default animation |
|
inlinevirtual |
Show this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible.
animate | Standard Element animation config object |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Slides the element into view. An anchor point can be optionally passed to set the point of origin for the slide effect. This function automatically handles wrapping the element with a fixed-size container if needed. See the Fx class overview for valid anchor point options.
anchor | One of the valid Fx anchor positions (defaults to top: 't') |
Slides the element into view. An anchor point can be optionally passed to set the point of origin for the slide effect. This function automatically handles wrapping the element with a fixed-size container if needed. See the Fx class overview for valid anchor point options.
anchor | One of the valid Fx anchor positions (defaults to top: 't') |
config | Object literal with any of the Fx config options |
|
inlinevirtual |
Slides the element out of view. An anchor point can be optionally passed to set the end point for the slide effect. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired. This function automatically handles wrapping the element with a fixed-size container if needed.
|
inlinevirtual |
Slides the element out of view. An anchor point can be optionally passed to set the end point for the slide effect. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired. This function automatically handles wrapping the element with a fixed-size container if needed.
anchor | One of the valid Fx anchor positions (defaults to top: 't') |
Slides the element out of view. An anchor point can be optionally passed to set the end point for the slide effect. When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired. This function automatically handles wrapping the element with a fixed-size container if needed.
anchor | One of the valid Fx anchor positions (defaults to top: 't') |
config | Object literal with any of the Fx config options |
|
inlinevirtual |
Stops any running effects and clears the element's internal effects queue if it contains any additional effects that haven't started yet.
|
inlinevirtual |
Stops the specified event(s) from bubbling and optionally prevents the default action
eventName | an event / array of events to stop from bubbling |
|
inlinevirtual |
Stops the specified event(s) from bubbling and optionally prevents the default action
eventName | an event / array of events to stop from bubbling |
preventDefault | true to prevent the default action too |
|
inlinevirtual |
Stops the specified event(s) from bubbling and optionally prevents the default action
eventNames | an event / array of events to stop from bubbling |
|
inlinevirtual |
Stops the specified event(s) from bubbling and optionally prevents the default action
eventNames | an event / array of events to stop from bubbling |
preventDefault | true to prevent the default action too |
|
inlinevirtual |
Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television). When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired.
Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television). When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired.
config | Object literal with any of the Fx config options |
|
inlinevirtual |
Ensures that all effects queued after syncFx is called on the element are run concurrently. This is the opposite of sequenceFx.
|
inlinevirtual |
Toggles the element's visibility or display, depending on visibility mode.
|
inlinevirtual |
Toggles the element's visibility or display, depending on visibility mode.
animate | true for the default animation |
|
inlinevirtual |
Toggles the element's visibility or display, depending on visibility mode.
animate | Standard Element animation config object |
|
inlinevirtual |
|
inlinevirtual |
Implements Ext.Net.ScriptClass.
|
inlinevirtual |
Return clipping (overflow) to original clipping before clip was called
|
inlinevirtual |
Removes a previously applied mask.
|
inlinevirtual |
Disables text selection for this element (normalized across browsers)
|
inlinevirtual |
Return original element, uses with Chaining only
|
inlinevirtual |
Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child). This is a shortcut for findParentNode() that always returns an Ext.Element.
selector | The simple selector to test |
Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child). This is a shortcut for findParentNode() that always returns an Ext.Element.
selector | The simple selector to test |
maxDepth | The max depth to search as a element |
|
inlinevirtual |
Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child). This is a shortcut for findParentNode() that always returns an Ext.Element.
selector | The simple selector to test |
maxDepth | The max depth to search as a number |
|
inlinevirtual |
Update the innerHTML of this element, optionally searching for and processing scripts
html | The new HTML |
|
inlinevirtual |
Update the innerHTML of this element, optionally searching for and processing scripts
html | The new HTML |
loadScripts | True to look for and process scripts (defaults to false) |
|
inlinevirtual |
Update the innerHTML of this element, optionally searching for and processing scripts
html | The new HTML |
loadScripts | True to look for and process scripts (defaults to false) |
callback | For async script loading you can be notified when the update completes |
|
inlinevirtual |
Updates the text value of this element. Replaces the content of this element with a single text node containing the passed text.
text | The text to display in this Element. |
|
inlinestatic |
Returns the current window object as an Ext.dom.Element. Typically used for attaching event listeners to the window. Note: since the window object is not an HTMLElement many of the Ext.dom.Element methods are not applicable and may throw errors if called on the returned Element instance.
|
inlinevirtual |
Creates and wraps this element with another element
Creates and wraps this element with another element
config | DomHelper element config object for the wrapper element |
|
getprotected |
|
getset |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |