Class PositionFunction.Translate3DPosition

  • All Implemented Interfaces:
    PositionFunction
    Enclosing interface:
    PositionFunction

    public static class PositionFunction.Translate3DPosition
    extends Object
    implements PositionFunction
    A position function using "transform: translate3d(x,y,z)" to position elements in the DOM.
    • Constructor Detail

      • Translate3DPosition

        public Translate3DPosition()
    • 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 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​(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 interface PositionFunction
        Parameters:
        e - the element for which to reset the positioning