com.vaadin.client.ui.dd
Class DDUtil

java.lang.Object
  extended by com.vaadin.client.ui.dd.DDUtil

public class DDUtil
extends java.lang.Object


Constructor Summary
DDUtil()
           
 
Method Summary
static com.vaadin.shared.ui.dd.HorizontalDropLocation getHorizontalDropLocation(Element element, NativeEvent event, double leftRightRatio)
           
static com.vaadin.shared.ui.dd.VerticalDropLocation getVerticalDropLocation(Element element, int offsetHeight, int clientY, double topBottomRatio)
           
static com.vaadin.shared.ui.dd.VerticalDropLocation getVerticalDropLocation(Element element, int offsetHeight, NativeEvent event, double topBottomRatio)
           
static com.vaadin.shared.ui.dd.VerticalDropLocation getVerticalDropLocation(Element element, NativeEvent event, double topBottomRatio)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDUtil

public DDUtil()
Method Detail

getVerticalDropLocation

public static com.vaadin.shared.ui.dd.VerticalDropLocation getVerticalDropLocation(Element element,
                                                                                   NativeEvent event,
                                                                                   double topBottomRatio)

getVerticalDropLocation

public static com.vaadin.shared.ui.dd.VerticalDropLocation getVerticalDropLocation(Element element,
                                                                                   int offsetHeight,
                                                                                   NativeEvent event,
                                                                                   double topBottomRatio)

getVerticalDropLocation

public static com.vaadin.shared.ui.dd.VerticalDropLocation getVerticalDropLocation(Element element,
                                                                                   int offsetHeight,
                                                                                   int clientY,
                                                                                   double topBottomRatio)

getHorizontalDropLocation

public static com.vaadin.shared.ui.dd.HorizontalDropLocation getHorizontalDropLocation(Element element,
                                                                                       NativeEvent event,
                                                                                       double leftRightRatio)


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