to.etc.domui.util
Interface IDropTargetable

All Known Implementing Classes:
AbstractDivControl, AccessDeniedPage, AppPageTitleBar, AsyncContainer, BasePageTitleBar, BasicEditPage, BasicListPage, BasicPage, BreadCrumb, CaptionedPanel, CheckBoxDataTable, ColorPicker, ColorPickerButton, DataCellTable, DataPager, DataTable, DisplayHtml, Div, ErrorMessageDiv, ErrorPanel, ExpandingEditTable, ExpiredDataPage, Explanation, FileUpload, FloatingWindow, InfoPanel, InternalParentTree, ListShuttle, LookupForm, LookupInput, ModificationFenceDiv, MonthPanel, MsgBox, MultipleSelectionDataTable, MultipleSelectionLookup, OddCharacters, PercentageCompleteRuler, PollingDiv, PopInPanel, ScrollableTabPanel, ShelveBreadCrumb, SimpleLookup, SplitterPanel, TableModelTableBase, TabPanel, TabPanelBase, TabularComponentBase, Tree, TreeSelect, TreeSelectionWindow, UrlPage, VerticalSpacer, WeekAgendaComponent

public interface IDropTargetable

This interface is present on node types that have the possibility to be used as drag 'n drop drop targets, i.e. that can receive a node being dragged. This is present on specific HTML DOM nodes only. The interface itself does not indicate that dropping is allowed; it only exposes the setter and getter for an IDropHandler interface. Only when an instance of this interface is set on the node implementing this interface will it be able to accept dropped nodes.

Author:
Frits Jalvingh Created on Dec 9, 2008

Method Summary
 IDropHandler getDropHandler()
          Return the current drop handler for a node.
 void setDropHandler(IDropHandler handler)
          Make this node acceptable for dropping dragged items into.
 

Method Detail

setDropHandler

void setDropHandler(IDropHandler handler)
Make this node acceptable for dropping dragged items into. The handler specified handles the actual drop events and drop accept events. When set to null this node will no longer accept dropped thingerydoo's.

Parameters:
handler -

getDropHandler

IDropHandler getDropHandler()
Return the current drop handler for a node. If null the node does not accept dropped thingerydoo's.

Returns: