Example usage for com.vaadin.client.ui.orderedlayout AbstractOrderedLayoutConnector getWidget

List of usage examples for com.vaadin.client.ui.orderedlayout AbstractOrderedLayoutConnector getWidget

Introduction

In this page you can find the example usage for com.vaadin.client.ui.orderedlayout AbstractOrderedLayoutConnector getWidget.

Prototype

@Override
    public VAbstractOrderedLayout getWidget() 

Source Link

Usage

From source file:fi.jasoft.draganddrop.client.configurations.OrderedLayoutDragAndDropConfiguration.java

License:Apache License

protected int getSlotIndex(AbstractOrderedLayoutConnector connector, DragAndDropEvent event) {
    Slot slot = getSlot(event);//from w  ww. ja  v a 2s  . com
    assert slot != null;
    return connector.getWidget().getWidgetIndex(slot);
}