com.sencha.gxt.fx.client
Class FxElement

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.dom.client.Node
          extended by com.google.gwt.dom.client.Element
              extended by com.google.gwt.user.client.Element
                  extended by com.sencha.gxt.core.client.dom.XElement
                      extended by com.sencha.gxt.fx.client.FxElement

public class FxElement
extends XElement


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sencha.gxt.core.client.dom.XElement
XElement.VisMode
 
Field Summary
 
Fields inherited from class com.google.gwt.dom.client.Element
DRAGGABLE_AUTO, DRAGGABLE_FALSE, DRAGGABLE_TRUE
 
Fields inherited from class com.google.gwt.dom.client.Node
DOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE
 
Method Summary
 void blink()
          Blinks the element.
 void blink(Fx fx, int interval)
          Blinks the element.
 void blink(int interval)
          Blinks the element.
 void fadeToggle()
          Toggles the element visibility using a fade effect.
 void fadeToggle(Fx fx)
          Toggles the element visibility using a fade effect.
 void scrollTo(Style.ScrollDirection side, int value, boolean animate)
          Scrolls this element the specified scroll point.
 void scrollTo(Style.ScrollDirection side, int value, boolean animate, Fx fx)
          Scrolls this element the specified scroll point.
 void setXY(int x, int y, Fx fx)
          Sets the elements position in page coordinates and animates using Move.
 void slideIn(Style.Direction direction)
          Slides the element in.
 void slideIn(Style.Direction direction, Fx fx)
          Slides the element in.
 void slideOut(Style.Direction direction)
          Slides the element out.
 void slideOut(Style.Direction direction, Fx fx)
          Slides the element out.
 
Methods inherited from class com.sencha.gxt.core.client.dom.XElement
addClassName, addEventsSunk, addUnits, adjustForConstraints, alignTo, applyStyles, as, center, center, center, child, childElement, click, createChild, createElement, disable, disableTextSelection, down, enable, ensureVisible, findParent, findParentElement, getAlignToXY, getAlignToXY, getAnchorXY, getBounds, getBounds, getBounds, getChildIndex, getComputedHeight, getComputedStyle, getComputedStyle, getComputedWidth, getFrameSize, getFrameWidth, getHeight, getId, getLeft, getLeft, getMargins, getOffsetsTo, getPadding, getPosition, getRegion, getRight, getScroll, getSize, getSize, getStyleSize, getStyleSize, getSubChild, getTextWidth, getTop, getTop, getVisMode, getWidth, getX, getXY, getY, getZIndex, hasClassName, hide, indexOf, insertBefore, insertBefore, insertChild, insertFirst, insertHtml, is, isBorderBox, isBorderBox, isConnected, isStyleAttribute, isStyleProperty, isVisible, isVisible, load, makePositionable, makePositionable, mask, removeChildren, removeClassName, repaint, replaceClassName, restoreVisible, scrollIntoView, scrollIntoView, scrollTo, select, selectNode, setAttributeNS, setBorders, setBounds, setBounds, setBounds, setBounds, setClassName, setDisplayed, setHeight, setHeight, setHeight, setLeft, setLeftTop, setMargins, setMargins, setOpacity, setPadding, setSize, setSize, setSize, setTop, setVisibility, setVisible, setVisMode, setWidth, setWidth, setWidth, setX, setXY, setXY, setY, setZIndex, show, swapClassName, toggleClassName, translatePoints, unmask, unwrap, updateZIndex, wrap
 
Methods inherited from class com.google.gwt.dom.client.Element
addClassName, as, blur, dispatchEvent, focus, getAbsoluteBottom, getAbsoluteLeft, getAbsoluteRight, getAbsoluteTop, getAttribute, getClassName, getClientHeight, getClientWidth, getDir, getDraggable, getElementsByTagName, getFirstChildElement, getId, getInnerHTML, getInnerText, getLang, getNextSiblingElement, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getPropertyBoolean, getPropertyDouble, getPropertyInt, getPropertyJSO, getPropertyObject, getPropertyString, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getString, getStyle, getTabIndex, getTagName, getTitle, hasAttribute, hasTagName, is, is, removeAttribute, removeClassName, replaceClassName, scrollIntoView, setAttribute, setClassName, setDir, setDraggable, setId, setInnerHTML, setInnerText, setLang, setPropertyBoolean, setPropertyDouble, setPropertyInt, setPropertyJSO, setPropertyObject, setPropertyString, setScrollLeft, setScrollTop, setTabIndex, setTitle
 
Methods inherited from class com.google.gwt.dom.client.Node
appendChild, cloneNode, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, hasChildNodes, hasParentElement, insertAfter, insertBefore, insertFirst, isOrHasChild, removeChild, removeFromParent, replaceChild, setNodeValue
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

blink

public final void blink()
Blinks the element.


blink

public final void blink(Fx fx,
                        int interval)
Blinks the element.

Parameters:
fx - the fx instance
interval - the rate of blink

blink

public final void blink(int interval)
Blinks the element.

Parameters:
interval - the rate of blink

fadeToggle

public final void fadeToggle()
Toggles the element visibility using a fade effect. The passed Fx object will run the animation and fire applicable events.


fadeToggle

public final void fadeToggle(Fx fx)
Toggles the element visibility using a fade effect. The passed Fx object will run the animation and fire applicable events.

Parameters:
fx - the Fx object

scrollTo

public final void scrollTo(Style.ScrollDirection side,
                           int value,
                           boolean animate)
Scrolls this element the specified scroll point.

Parameters:
side - side either "left" for scrollLeft values or "top" for scrollTop values.
value - the new scroll value
animate - true to animate

scrollTo

public final void scrollTo(Style.ScrollDirection side,
                           int value,
                           boolean animate,
                           Fx fx)
Scrolls this element the specified scroll point.

Parameters:
side - side either "left" for scrollLeft values or "top" for scrollTop values.
value - the new scroll value
animate - true to animate

setXY

public final void setXY(int x,
                        int y,
                        Fx fx)
Sets the elements position in page coordinates and animates using Move.

Parameters:
x - the x coordinate
y - the y coordinate
fx - the fx instance

slideIn

public final void slideIn(Style.Direction direction)
Slides the element in.

Parameters:
direction - the direction

slideIn

public final void slideIn(Style.Direction direction,
                          Fx fx)
Slides the element in.

Parameters:
direction - the direction
fx - the fx config

slideOut

public final void slideOut(Style.Direction direction)
Slides the element out.

Parameters:
direction - the direction

slideOut

public final void slideOut(Style.Direction direction,
                           Fx fx)
Slides the element out.

Parameters:
direction - the direction
fx - the fx


Copyright © 2012. All Rights Reserved.