Module:libextPackage:wrap.ext.ddParent:ObjectCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation

wrap.ext.dd.DragDropMgr

Inheritance : Object

Constructors

Signature
public DragDropMgr()

Methods

NameSignature
getBestMatchDragDrop getBestMatch(Array<DragDrop> dds)
getDDByIdDragDrop getDDById(String id)
getLocationRegion getLocation(DragDrop dd)
getRelatedDragDrop getRelated(DragDrop dd, boolean bTargetsOnly)
getScrollLeftint getScrollLeft()
getScrollTopint getScrollTop()
handleWasClickedvoid handleWasClicked(HTMLElement theNode)
isDragDropboolean isDragDrop(String id)
isHandleboolean isHandle(String id)
isLegalTargetboolean isLegalTarget(DragDrop obj, DragDrop target)
isLockedboolean isLocked()
isTypeOfDDboolean isTypeOfDD(Object object)
lockvoid lock()
moveToElvoid moveToEl(HTMLElement moveEl, HTMLElement targetEl)
numericSortvoid numericSort()
refreshCachevoid refreshCache(Array<String> groups)
regDragDropvoid regDragDrop(DragDrop oDD, String sGroup)
regHandlevoid regHandle(String sDDId, String sHandleId)
startDragvoid startDrag(int x, int y)
stopEventvoid stopEvent(Event e)
swapNodevoid swapNode(HTMLElement node1, HTMLElement node2)
unlockvoid unlock()
verifyElboolean verifyEl(HTMLElement el)

Properties

NameTypeComment
clickTimeRefresh
core.int
css
org.milescript.dom.CSSStyle
el
org.milescript.dom.HTMLElement
id
core.String
INTERSECT
core.int
mode
core.int
POINT
core.int
preventDefault
core.boolean
stopPropagation
core.boolean
useCache
core.boolean

Constructors

public DragDropMgr()


Methods

getBestMatch

DragDrop getBestMatch(Array<DragDrop> dds)

Returns
wrap.ext.dd.DragDrop

Parameters

NameTypeDescription
ddscore.Array<wrap.ext.dd.DragDrop>

getDDById

DragDrop getDDById(String id)

Returns
wrap.ext.dd.DragDrop

Parameters

NameTypeDescription
idcore.String

getLocation

Region getLocation(DragDrop dd)

Returns
wrap.ext.layout.Region

Parameters

NameTypeDescription
ddwrap.ext.dd.DragDrop

getRelated

DragDrop getRelated(DragDrop dd, boolean bTargetsOnly)

Returns
wrap.ext.dd.DragDrop

Parameters

NameTypeDescription
ddwrap.ext.dd.DragDrop
bTargetsOnlycore.boolean

getScrollLeft

int getScrollLeft()

Returns
core.int

getScrollTop

int getScrollTop()

Returns
core.int

handleWasClicked

void handleWasClicked(HTMLElement theNode)

Parameters

NameTypeDescription
theNodeorg.milescript.dom.HTMLElement

isDragDrop

boolean isDragDrop(String id)

Returns
core.boolean

Parameters

NameTypeDescription
idcore.String

isHandle

boolean isHandle(String id)

Returns
core.boolean

Parameters

NameTypeDescription
idcore.String

isLegalTarget

boolean isLegalTarget(DragDrop obj, DragDrop target)

Returns
core.boolean

Parameters

NameTypeDescription
objwrap.ext.dd.DragDrop
targetwrap.ext.dd.DragDrop

isLocked

boolean isLocked()

Returns
core.boolean

isTypeOfDD

boolean isTypeOfDD(Object object)

Returns
core.boolean

Parameters

NameTypeDescription
objectcore.Object

lock

void lock()


moveToEl

void moveToEl(HTMLElement moveEl, HTMLElement targetEl)

Parameters

NameTypeDescription
moveElorg.milescript.dom.HTMLElement
targetElorg.milescript.dom.HTMLElement

numericSort

void numericSort()


refreshCache

void refreshCache(Array<String> groups)

Parameters

NameTypeDescription
groupscore.Array<core.String>

regDragDrop

void regDragDrop(DragDrop oDD, String sGroup)

Parameters

NameTypeDescription
oDDwrap.ext.dd.DragDrop
sGroupcore.String

regHandle

void regHandle(String sDDId, String sHandleId)

Parameters

NameTypeDescription
sDDIdcore.String
sHandleIdcore.String

startDrag

void startDrag(int x, int y)

Parameters

NameTypeDescription
xcore.int
ycore.int

stopEvent

void stopEvent(Event e)

Parameters

NameTypeDescription
eorg.milescript.javascript.Event

swapNode

void swapNode(HTMLElement node1, HTMLElement node2)

Parameters

NameTypeDescription
node1org.milescript.dom.HTMLElement
node2org.milescript.dom.HTMLElement

unlock

void unlock()


verifyEl

boolean verifyEl(HTMLElement el)

Returns
core.boolean

Parameters

NameTypeDescription
elorg.milescript.dom.HTMLElement

Module:libextPackage:wrap.ext.ddParent:ObjectCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation