|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.widget.escalator.PositionFunction.TranslatePosition
public static class PositionFunction.TranslatePosition
A position function using "transform: translate(x,y)" to position elements in the DOM.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.vaadin.client.widget.escalator.PositionFunction |
|---|
PositionFunction.AbsolutePosition, PositionFunction.Translate3DPosition, PositionFunction.TranslatePosition, PositionFunction.WebkitTranslate3DPosition |
| Constructor Summary | |
|---|---|
PositionFunction.TranslatePosition()
|
|
| Method Summary | |
|---|---|
void |
reset(Element e)
Resets any previously applied positioning, clearing the used style attributes. |
void |
set(Element e,
double x,
double y)
Position an element in an (x,y) coordinate system in the DOM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PositionFunction.TranslatePosition()
| Method Detail |
|---|
public void set(Element e,
double x,
double y)
PositionFunction
set in interface PositionFunctione - the element to position. Never null.x - the x coordinate, in pixelsy - the y coordinate, in pixelspublic void reset(Element e)
PositionFunction
reset in interface PositionFunctione - the element for which to reset the positioning
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||