com.allen_sauer.gwt.dnd.client.util
Interface LocationWidgetComparator


public interface LocationWidgetComparator


Field Summary
static LocationWidgetComparator BOTTOM_HALF_COMPARATOR
           
static LocationWidgetComparator BOTTOM_RIGHT_COMPARATOR
           
static LocationWidgetComparator RIGHT_HALF_COMPARATOR
           
 
Method Summary
 boolean locationIndicatesIndexFollowingWidget(Area widgetArea, Location location)
          Determine whether or not location indicates insertion following widgetArea.
 

Field Detail

BOTTOM_HALF_COMPARATOR

static final LocationWidgetComparator BOTTOM_HALF_COMPARATOR

BOTTOM_RIGHT_COMPARATOR

static final LocationWidgetComparator BOTTOM_RIGHT_COMPARATOR

RIGHT_HALF_COMPARATOR

static final LocationWidgetComparator RIGHT_HALF_COMPARATOR
Method Detail

locationIndicatesIndexFollowingWidget

boolean locationIndicatesIndexFollowingWidget(Area widgetArea,
                                              Location location)
Determine whether or not location indicates insertion following widgetArea.

Parameters:
widgetArea - the widget area to consider
location - the location to consider
Returns:
true if the location is indicates an index position following the widget


Copyright © 2011 Sage Software, Inc. All rights reserved.