Module:libutilPackage:org.milescript.dndParent:ObjectCopyright (c) 2007, 2008 Point5U, LLC
Milescript - LibUtil Library: Project Home | Documentation

org.milescript.dnd.DragWrapper

Inheritance : Object

Constructors

Signature
public DragWrapper(HTMLElement toWrap)
public DragWrapper(HTMLElement toWrap, HTMLElement target)

Methods

NameSignature
assignTargetvoid assignTarget(HTMLElement target)
attachvoid attach()
beginDragboolean beginDrag(Event e)
detachvoid detach()
endDragboolean endDrag(Event e)
onDragboolean onDrag(Event e)

Constructors

public DragWrapper(HTMLElement toWrap)

Parameters

NameTypeDescription
toWraporg.milescript.dom.HTMLElement



public DragWrapper(HTMLElement toWrap, HTMLElement target)

Parameters

NameTypeDescription
toWraporg.milescript.dom.HTMLElement
targetorg.milescript.dom.HTMLElement



Methods

assignTarget

void assignTarget(HTMLElement target)

Parameters

NameTypeDescription
targetorg.milescript.dom.HTMLElement

attach

void attach()


beginDrag

boolean beginDrag(Event e)

Returns
core.boolean

Parameters

NameTypeDescription
eorg.milescript.javascript.Event

detach

void detach()


endDrag

boolean endDrag(Event e)

Returns
core.boolean

Parameters

NameTypeDescription
eorg.milescript.javascript.Event

onDrag

boolean onDrag(Event e)

Returns
core.boolean

Parameters

NameTypeDescription
eorg.milescript.javascript.Event

Module:libutilPackage:org.milescript.dndParent:ObjectCopyright (c) 2007, 2008 Point5U, LLC
Milescript - LibUtil Library: Project Home | Documentation