public class FxElement extends XElement
XElement.VisMode
Modifier | Constructor and Description |
---|---|
protected |
FxElement()
Not directly instantiable.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addClassName, addClassName, addEventsSunk, addUnits, adjustForConstraints, adjustForConstraints, adjustForConstraints, adjustForConstraints, alignTo, applyStyles, as, center, center, center, child, childElement, click, createChild, createElement, disable, disableTextSelection, disableTextSelectionSingle, down, enable, ensureVisible, findParent, findParentElement, getAlignToXY, getAnchorXY, getBorders, getBorders, getBorders, getBounds, getBounds, getBounds, getChildIndex, getComputedHeight, getComputedStyle, getComputedStyle, getComputedWidth, getConstrainToXY, getFrameSize, getFrameWidth, getFrameWidth, getFrameWidth, getHeight, getId, getLeft, getLeft, getMargins, getMargins, getMargins, getOffsetsTo, getPadding, getPadding, getPosition, getRegion, getRight, getScroll, getSize, getSize, getStyleSize, getStyleSize, getSubChild, getTextWidth, getTop, getTop, getVisMode, getWidth, getX, getXY, getY, getZIndex, hide, indexOf, insertBefore, insertBefore, insertChild, insertFirst, insertHtml, is, isBorderBox, isBorderBox, isConnected, isOrHasChild, isScrollable, isScrollableX, isScrollableY, isStyleAttribute, isStyleProperty, isVisible, isVisible, load, makePositionable, makePositionable, mask, removeChildren, removeClassName, 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, translatePoints, unmask, unwrap, updateZIndex, wrap
protected FxElement()
public final void blink()
public final void blink(Fx fx, int interval)
fx
- the fx instanceinterval
- the rate of blinkpublic final void blink(int interval)
interval
- the rate of blinkpublic final void fadeToggle()
Fx
object will run the animation and fire applicable events.public final void fadeToggle(Fx fx)
Fx
object will run the animation and fire applicable events.fx
- the Fx
objectpublic final void scrollTo(Style.ScrollDirection side, int value, boolean animate)
side
- side either "left" for scrollLeft values or "top" for scrollTop
values.value
- the new scroll valueanimate
- true to animatepublic final void scrollTo(Style.ScrollDirection side, int value, boolean animate, Fx fx)
side
- side either "left" for scrollLeft values or "top" for scrollTop
values.value
- the new scroll valueanimate
- true to animatefx
- the fx instancepublic final void setXY(int x, int y, Fx fx)
Move
.x
- the x coordinatey
- the y coordinatefx
- the fx instancepublic final void slideIn(Style.Direction direction)
direction
- the directionpublic final void slideIn(Style.Direction direction, Fx fx)
direction
- the directionfx
- the fx configpublic final void slideOut(Style.Direction direction)
direction
- the directionpublic final void slideOut(Style.Direction direction, Fx fx)
direction
- the directionfx
- the fxCopyright © 2018. All rights reserved.