abstractdragdrop_test.js
No description.

File Location

/goog/fx/abstractdragdrop_test.js


Public Protected Private

Global Functions

boxOverlaps(box1box2) boolean
Tells whether two boxes overlap.
Arguments:
box1 : goog.math.Box
First box in question.
box2 : goog.math.Box
Second box in question.
Returns: boolean  Whether boxes overlap in any way.
code »
boxOverlapsTargets(boxtargets) boolean
Checks whether a given box overlaps any of given DnD target boxes.
Arguments:
box : goog.math.Box
The box to check.
targets : Array.<Object>
The array of targets with boxes to check if they overlap with the given box.
Returns: boolean  Whether the box overlaps any of the target boxes.
code »
drawTargets()
No description.
code »
testScrollBeforeMoveDrag&moveEvent.preventDefault()
No description.
code »
rangeOverlap(left1right1left2right2) RangeOverlap
Computes how two one dimentional ranges overlap.
Arguments:
left1 : number
Left inclusive bound of the first range.
right1 : number
Right exclusive bound of the first range.
left2 : number
Left inclusive bound of the second range.
right2 : number
Right exclusive bound of the second range.
Returns: RangeOverlap  The enum value describing the type of the overlap.
code »
testAddingRemovingScrollableContainers()
No description.
code »
testBoxOverlaps()
Tests if the utility function to compute box overlapping functions properly.
code »
testCalculateTargetBox()
No description.
code »
testGetDragElementPosition()
No description.
code »
testIsInside()
No description.
code »
testMaybeCreateDummyTargetForPosition()
No description.
code »
testMaybeCreateDummyTargetForPosition2()
No description.
code »
testMaybeCreateDummyTargetForPosition3BoxHasDecentSize()
No description.
code »
testMaybeCreateDummyTargetForPosition4()
No description.
code »
testMaybeCreateDummyTargetForPosition_NegativePositions()
No description.
code »
testMaybeCreateDummyTargetInsideScrollableContainer()
No description.
code »
testMaybeCreateDummyTargetOutsideScrollableContainer()
No description.
code »
testMouseMove_mouseOutBeforeThreshold()
No description.
code »
testMouseUpOutsideElement()
No description.
code »
testRangeOverlap()
Test the utility function which tells how two one dimensional ranges overlap.
code »
testScrollBeforeMoveDrag()
No description.
code »
testScrollableContainersCalculation()
No description.
code »

Global Variables

RangeOverlap :
No description.
Code »
targets :
No description.
Code »
targets2 :
No description.
Code »
targets3 :
No description.
Code »

Directory fx

File Reference