com.smartgwt.client.widgets.events
Interface HasDragStartHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
Button, Calendar, Canvas, ColorPicker, ColumnTree, DateChooser, DetailViewer, Dialog, DynamicForm, EdgedCanvas, FilterBuilder, FlowLayout, GridRenderer, HeaderControl, HLayout, HStack, HTMLFlow, HTMLPane, IButton, Img, ImgButton, ImgSectionHeader, ImgSplitbar, ImgTab, Label, Layout, LayoutSpacer, ListGrid, Menu, MenuBar, MenuButton, MultiFilePicker, Progressbar, PropertySheet, RichTextEditor, Scrollbar, SearchForm, SectionHeader, SectionStack, Slider, Snapbar, Splitbar, StatefulCanvas, StretchImg, StretchImgButton, TabSet, TileGrid, TileLayout, Toolbar, ToolStrip, ToolStripResizer, ToolStripSeparator, TransferImgButton, TreeGrid, ViewLoader, VLayout, VStack, WidgetCanvas, Window

public interface HasDragStartHandlers
extends HasHandlers


Method Summary
 HandlerRegistration addDragStartHandler(DragStartHandler handler)
          Executed when dragging first starts.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addDragStartHandler

HandlerRegistration addDragStartHandler(DragStartHandler handler)
Executed when dragging first starts. Your widget can use this opportunity to set things up for the drag, such as setting the drag tracker. Returning false from this event handler will cancel the drag action entirely.

A drag action is considered to be begin when the mouse has moved dragStartDistance with the left mouse down.

Parameters:
handler - the dragStart handler
Returns:
HandlerRegistration used to remove this handler