Class Index | File Index

Classes


Class YAHOO.util.DDTarget


Extends YAHOO.util.DragDrop.

Defined in: dragdrop.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
YAHOO.util.DDTarget(id, sGroup, config)
A DragDrop implementation that does not move, but can be a drop target.
Fields borrowed from class YAHOO.util.DragDrop:
__ygDragDrop, _domRef, available, config, constrainX, constrainY, dragElId, groups, handleElId, id, invalidHandleClasses, invalidHandleIds, invalidHandleTypes, isTarget, locked, maintainOffset, maxX, maxY, minX, minY, padding, primaryButtonOnly, startPageX, startPageY, xTicks, yTicks
Methods borrowed from class YAHOO.util.DragDrop:
addInvalidHandleClass, addInvalidHandleId, addInvalidHandleType, addToGroup, applyConfig, b4Drag, b4DragDrop, b4DragOut, b4DragOver, b4EndDrag, b4MouseDown, b4StartDrag, clearConstraints, clearTicks, endDrag, getDragEl, getEl, getTick, handleMouseDown, handleOnAvailable, init, initTarget, isLocked, isValidHandleChild, lock, onAvailable, onDrag, onDragDrop, onDragEnter, onDragOut, onDragOver, onMouseDown, onMouseUp, removeFromGroup, removeInvalidHandleClass, removeInvalidHandleId, removeInvalidHandleType, resetConstraints, setDragElId, setHandleElId, setInitPosition, setOuterHandleElId, setPadding, setStartPosition, setXConstraint, setXTicks, setYConstraint, setYTicks, startDrag, toString, unlock, unreg
Class Detail
YAHOO.util.DDTarget(id, sGroup, config)
A DragDrop implementation that does not move, but can be a drop target. You would get the same result by simply omitting implementation for the event callbacks, but this way we reduce the processing cost of the event listener and the callbacks.
Parameters:
{String} id
the id of the element that is a drop target
{String} sGroup
the group of related DragDrop objects
{object} config
an object containing configurable attributes Valid properties for DDTarget in addition to those in DragDrop: none

Documentation generated by JsDoc Toolkit 2.0.0 on Thu Dec 02 2010 15:18:58 GMT+0100 (CET)