com.vaadin.client.widget.escalator
Class PositionFunction.WebkitTranslate3DPosition

java.lang.Object
  extended by com.vaadin.client.widget.escalator.PositionFunction.WebkitTranslate3DPosition
All Implemented Interfaces:
PositionFunction
Enclosing interface:
PositionFunction

public static class PositionFunction.WebkitTranslate3DPosition
extends java.lang.Object
implements PositionFunction

A position function using "-webkit-transform: translate3d(x,y,z)" 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.WebkitTranslate3DPosition()
           
 
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

PositionFunction.WebkitTranslate3DPosition

public PositionFunction.WebkitTranslate3DPosition()
Method Detail

set

public void set(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 interface PositionFunction
Parameters:
e - the element to position. Never null.
x - the x coordinate, in pixels
y - the y coordinate, in pixels

reset

public void reset(Element e)
Description copied from interface: PositionFunction
Resets any previously applied positioning, clearing the used style attributes.

Specified by:
reset in interface PositionFunction
Parameters:
e - the element for which to reset the positioning


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.