| java.lang.Object com.gwtext.client.core.JsObject com.gwtext.client.core.BaseElement com.gwtext.client.core.CompositeElement
All known Subclasses: com.gwtext.client.core.CompositeElementLite,
CompositeElement | public class CompositeElement extends BaseElement (Code) | | Standard composite class that creates an ExtElement for every element in the collection.
|
Constructor Summary | |
public | CompositeElement(JavaScriptObject jsObj) Create a CompositeElement using a native element. |
CompositeElement | public CompositeElement(JavaScriptObject jsObj)(Code) | | Create a CompositeElement using a native element.
Parameters: jsObj - native object |
clear | native public void clear()(Code) | | Removes all elements.
|
contains | native public void contains(ExtElement element)(Code) | | Returns true if this composite contains the passed element.
Parameters: element - true if containts element |
filter | native public CompositeElement filter(String selector)(Code) | | Filters this composite to only elements that match the passed selector.
Parameters: selector - a CSS selector this |
first | native public ExtElement first()(Code) | | Returns the first Element
the first element |
getCount | native public int getCount()(Code) | | Returns the number of elements in this composite.
the element count |
indexOf | native public int indexOf(ExtElement element)(Code) | | Position of the Element in the CompositeElement list.
Parameters: element - the element index of element |
last | native public ExtElement last()(Code) | | Returns the last Element.
the last element |
removeElement | native public CompositeElement removeElement(int index)(Code) | | Removes the specified element.
Parameters: index - element to remove this |
removeElement | native public CompositeElement removeElement(int index, boolean removeDom)(Code) | | Removes the specified element.
Parameters: index - element to remove Parameters: removeDom - true to also remove element from the document this |
removeElement | native public CompositeElement removeElement(ExtElement element)(Code) | | Removes the specified element.
Parameters: element - the element to remove this |
removeElement | native public CompositeElement removeElement(ExtElement element, boolean removeDom)(Code) | | Removes the specified element.
Parameters: element - the element to remove Parameters: removeDom - true to also remove element from the document this |
replaceElement | native public CompositeElement replaceElement(int index, ExtElement replacement)(Code) | | Replaces the specified element with the passed element.
Parameters: index - the index of the element in this composite to replace Parameters: replacement - the element to replace with this |
replaceElement | native public CompositeElement replaceElement(int index, ExtElement replacement, boolean removeDom)(Code) | | Replaces the specified element with the passed element.
Parameters: index - the index of the element in this composite to replace Parameters: replacement - the element to replace with Parameters: removeDom - true to remove and replace the element in the document too this |
replaceElement | native public CompositeElement replaceElement(ExtElement element, ExtElement replacement)(Code) | | Replaces the specified element with the passed element.
Parameters: element - the element in this composite to replace Parameters: replacement - the element to replace with this |
replaceElement | native public CompositeElement replaceElement(ExtElement element, ExtElement replacement, boolean removeDom)(Code) | | Replaces the specified element with the passed element.
Parameters: element - the element in this composite to replace Parameters: replacement - the element to replace with Parameters: removeDom - true to remove and replace the element in the document too this |
Methods inherited from com.gwtext.client.core.BaseElement | native public BaseElement addClass(String className)(Code)(Java Doc) native public BaseElement addClass(String[] classNames)(Code)(Java Doc) native public BaseElement addClassOnClick(String className)(Code)(Java Doc) native public BaseElement addClassOnFocus(String className)(Code)(Java Doc) native public BaseElement addClassOnOver(String className)(Code)(Java Doc) native public BaseElement addClassOnOver(String className, boolean preventFlicker)(Code)(Java Doc) native public KeyMap addKeyListener(int keyCode, KeyListener listener)(Code)(Java Doc) native public KeyMap addKeyListener(int[] keyCodes, KeyListener listener)(Code)(Java Doc) native public KeyMap addKeyListener(String keys, KeyListener listener)(Code)(Java Doc) native public KeyMap addKeyMap(KeyMapConfig config)(Code)(Java Doc) native public void addListener(String eventName, EventCallback cb)(Code)(Java Doc) native public void addListener(String eventName, EventCallback cb, ListenerConfig config)(Code)(Java Doc) public BaseElement alignTo(String id, String anchorPosition)(Code)(Java Doc) native public BaseElement alignTo(String id, String anchorPosition, int[] offsetXY, boolean animate)(Code)(Java Doc) native public BaseElement anchorTo(String id, String anchorPosition)(Code)(Java Doc) native public BaseElement anchorTo(String id, String anchorPosition, int[] offsetXY, boolean animate, int bufferDelay)(Code)(Java Doc) native public BaseElement animate(GenericConfig args)(Code)(Java Doc) native public BaseElement animate(GenericConfig args, float duration, Function onComplete, Easing easing, String animType)(Code)(Java Doc) native public BaseElement applyStyles(String style)(Code)(Java Doc) native public BaseElement autoHeight()(Code)(Java Doc) native public BaseElement autoHeight(boolean animate, float duration, Function onComplete, Easing easing)(Code)(Java Doc) native public void clean()(Code)(Java Doc) native public void clean(boolean forceClean)(Code)(Java Doc) native public BaseElement clearOpacity()(Code)(Java Doc) native public BaseElement clip()(Code)(Java Doc) native public ExtElement createShim()(Code)(Java Doc) native public BaseElement enableDisplayMode()(Code)(Java Doc) native public BaseElement enableDisplayMode(String display)(Code)(Java Doc) native public Fx fadeIn()(Code)(Java Doc) native public Fx fadeIn(FxConfig config)(Code)(Java Doc) native public Fx fadeOut()(Code)(Java Doc) native public Fx fadeOut(FxConfig config)(Code)(Java Doc) native public Fx frame()(Code)(Java Doc) native public Fx frame(String color, int count, FxConfig config)(Code)(Java Doc) native public Fx ghost()(Code)(Java Doc) native public Fx ghost(String anchorPosition, FxConfig config)(Code)(Java Doc) native public boolean hasActiveFx()(Code)(Java Doc) native public boolean hasFxBlock()(Code)(Java Doc) native public BaseElement hide()(Code)(Java Doc) native public BaseElement hide(boolean animate)(Code)(Java Doc) native public BaseElement hide(AnimationConfig animateConfig)(Code)(Java Doc) native public Fx highlight()(Code)(Java Doc) native public Fx highlight(String color, FxConfig config)(Code)(Java Doc) native public Fx highlight(String color, String attr, String endColor, FxConfig config)(Code)(Java Doc) native public BaseElement move(Direction direction, int distance)(Code)(Java Doc) native public BaseElement move(Direction direction, int distance, boolean animate)(Code)(Java Doc) native public BaseElement move(Direction direction, int distance, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement moveTo(int x, int y)(Code)(Java Doc) native public BaseElement moveTo(int x, int y, boolean animate)(Code)(Java Doc) native public BaseElement moveTo(int x, int y, AnimationConfig animateConfig)(Code)(Java Doc) native public Fx pause(int seconds)(Code)(Java Doc) native public Fx puff()(Code)(Java Doc) native public Fx puff(boolean remove, FxConfig config)(Code)(Java Doc) native public BaseElement radioClass(String className)(Code)(Java Doc) native public BaseElement radioClass(String[] classNames)(Code)(Java Doc) native public void remove()(Code)(Java Doc) native public void removeAllListeners()(Code)(Java Doc) native public BaseElement removeClass(String className)(Code)(Java Doc) native public BaseElement removeClass(String[] classNames)(Code)(Java Doc) native public BaseElement repaint()(Code)(Java Doc) native public BaseElement replaceClass(String oldClassName, String newClassName)(Code)(Java Doc) native public Fx scale(int width, int height)(Code)(Java Doc) native public Fx scale(int width, int height, FxConfig config)(Code)(Java Doc) native public boolean scroll(Direction direction, int distance, boolean animate)(Code)(Java Doc) native public boolean scroll(Direction direction, int distance, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement scrollTo(String side, int value, boolean animate)(Code)(Java Doc) native public BaseElement scrollTo(String side, int value, AnimationConfig animateConfig)(Code)(Java Doc) native public Fx sequenceFx()(Code)(Java Doc) native public BaseElement setBottom(String bottom)(Code)(Java Doc) native public BaseElement setBounds(int x, int y, int width, int height)(Code)(Java Doc) native public BaseElement setBounds(int x, int y, int width, int height, boolean animate)(Code)(Java Doc) native public BaseElement setBounds(int x, int y, int width, int height, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setBox(Box box)(Code)(Java Doc) native public BaseElement setBox(Box box, boolean adjust, boolean animate)(Code)(Java Doc) native public BaseElement setBox(Box box, boolean adjust, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setDisplayed(boolean value)(Code)(Java Doc) native public BaseElement setHeight(int height, boolean animate)(Code)(Java Doc) native public BaseElement setHeight(int height, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setLeft(String left)(Code)(Java Doc) native public BaseElement setLeftTop(String left, String top)(Code)(Java Doc) native public BaseElement setLocation(int x, int y, boolean animate)(Code)(Java Doc) native public BaseElement setLocation(int x, int y, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setOpacity(float opacity, boolean animate)(Code)(Java Doc) native public BaseElement setOpacity(float opacity, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setRegion(Region region, boolean animate)(Code)(Java Doc) native public BaseElement setRegion(Region region, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setRight(String right)(Code)(Java Doc) native public BaseElement setSize(int width, int height, boolean animate)(Code)(Java Doc) native public BaseElement setSize(int width, int height, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setStyle(String style, String value)(Code)(Java Doc) native public BaseElement setStyles(GenericConfig styles)(Code)(Java Doc) native public BaseElement setTop(String top)(Code)(Java Doc) native public BaseElement setVisibilityMode(boolean useVisibleProperty)(Code)(Java Doc) public BaseElement setVisible(boolean visible)(Code)(Java Doc) native public BaseElement setVisible(boolean visible, boolean animate)(Code)(Java Doc) native public BaseElement setVisible(boolean visible, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setWidth(int width, boolean animate)(Code)(Java Doc) native public BaseElement setWidth(String width, boolean animate)(Code)(Java Doc) native public BaseElement setWidth(int width, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setX(int x, boolean animate)(Code)(Java Doc) native public BaseElement setX(int x, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setXY(int x, int y, boolean animate)(Code)(Java Doc) native public BaseElement setXY(int x, int y, AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement setY(int y, boolean animate)(Code)(Java Doc) native public BaseElement setY(int y, AnimationConfig animateConfig)(Code)(Java Doc) native public Fx shift(int x, int y, int width, int height, FxConfig config)(Code)(Java Doc) native public BaseElement show(boolean animate)(Code)(Java Doc) native public BaseElement show(AnimationConfig animateConfig)(Code)(Java Doc) native public Fx slideIn()(Code)(Java Doc) native public Fx slideIn(String anchorPosition, FxConfig config)(Code)(Java Doc) native public Fx slideOut()(Code)(Java Doc) native public Fx slideOut(boolean remove, String anchorPosition, FxConfig config)(Code)(Java Doc) native public Fx stopFx()(Code)(Java Doc) native public BaseElement swallowEvent(String eventName)(Code)(Java Doc) native public BaseElement swallowEvent(String eventName, boolean preventDefault)(Code)(Java Doc) native public Fx switchOff()(Code)(Java Doc) native public Fx switchOff(boolean remove, FxConfig config)(Code)(Java Doc) native public Fx syncFx()(Code)(Java Doc) native public BaseElement toggle(boolean animate)(Code)(Java Doc) native public BaseElement toggle(AnimationConfig animateConfig)(Code)(Java Doc) native public BaseElement toggleClass(String className)(Code)(Java Doc) native public void unselectable()(Code)(Java Doc) public void update(String html)(Code)(Java Doc) native public void update(String html, boolean loadScripts)(Code)(Java Doc) native public Element wrap(DomConfig config)(Code)(Java Doc)
|
Fields inherited from com.gwtext.client.core.JsObject | protected JavaScriptObject jsObj(Code)(Java Doc)
|
|
|