to.etc.domui.util
Interface IDraggable

All Known Implementing Classes:
AbstractDivControl, AbstractFloatingLookup, AccessDeniedPage, AsyncContainer, BasicEditPage, BasicListPage, BasicPage, BorderLayoutPanel, 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, RadioGroup, ScrollableTabPanel, ShelveBreadCrumb, SimpleLookup, SimplePopupMenu, SplitLine, SplitterPanel, TableModelTableBase, TabPanel, TabPanelBase, TabularComponentBase, TR, Tree, TreeSelect, TreeSelectionWindow, UrlPage, VerticalSpacer, WeekAgendaComponent

public interface IDraggable

This interface handles drag-related events for objects. Objects that can be dragged must have been associated with an IDraggable instance.

Author:
Frits Jalvingh Created on Dec 9, 2008

Method Summary
 IDragHandler getDragHandler()
          Returns the current handler for dragging.
 void setDragHandler(IDragHandler dh)
          Set the drag handler to use for this thingy.
 

Method Detail

setDragHandler

void setDragHandler(IDragHandler dh)
Set the drag handler to use for this thingy. When set (no an actual instance) this means the associated class can be dragged. When set to null the instance is undraggable.

Parameters:
dh -

getDragHandler

IDragHandler getDragHandler()
Returns the current handler for dragging. If null this node cannot be dragged.

Returns: