Class PositionFunction.AbsolutePosition
- java.lang.Object
-
- com.vaadin.client.widget.escalator.PositionFunction.AbsolutePosition
-
- All Implemented Interfaces:
PositionFunction
- Enclosing interface:
- PositionFunction
public static class PositionFunction.AbsolutePosition extends Object implements PositionFunction
A position function using "left: x" and "top: 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
Constructors Constructor Description AbsolutePosition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reset(com.google.gwt.dom.client.Element e)
Resets any previously applied positioning, clearing the used style attributes.void
set(com.google.gwt.dom.client.Element e, double x, double y)
Position an element in an (x,y) coordinate system in the DOM.
-
-
-
Method Detail
-
set
public void set(com.google.gwt.dom.client.Element e, double x, double y)
Description copied from interface:PositionFunction
Position an element in an (x,y) coordinate system in the DOM.- Specified by:
set
in interfacePositionFunction
- Parameters:
e
- the element to position. Nevernull
.x
- the x coordinate, in pixelsy
- the y coordinate, in pixels
-
reset
public void reset(com.google.gwt.dom.client.Element e)
Description copied from interface:PositionFunction
Resets any previously applied positioning, clearing the used style attributes.- Specified by:
reset
in interfacePositionFunction
- Parameters:
e
- the element for which to reset the positioning
-
-