fx.DragListGroupEvent Extends goog.events.Event
The event object dispatched by DragListGroup. The fields draggerElCenter, hoverList, and hoverNextItem are only available for the BEFOREDRAGMOVE and DRAGMOVE events.

Inheritance

Constructor

goog.fx.DragListGroupEvent(typedragListGroupeventcurrDragItemdraggerEldraggeropt_draggerElCenteropt_hoverListopt_hoverNextItem)

Parameters

type : string
The event type string.
dragListGroup : goog.fx.DragListGroup
A reference to the associated DragListGroup object.
event : goog.events.BrowserEvent | goog.fx.DragEvent
The event fired by the browser or fired by the dragger.
currDragItem : Element
The current drag item being moved.
draggerEl : Element
The clone of the current drag item that's actually being dragged around.
dragger : goog.fx.Dragger
The dragger object.
opt_draggerElCenter : goog.math.Coordinate=
The current center position of the draggerEl.
opt_hoverList : Element=
The current drag list that's being hovered over, or null if the center of draggerEl is outside of any drag lists. If not null and the drag action ends right now, then currDragItem will end up in this list.
opt_hoverNextItem : Element=
The current next item in the hoverList that the draggerEl is hovering over. (I.e. If the drag action ends right now, then this item would become the next item after the new location of currDragItem.) May be null if not applicable or if currDragItem would be added to the end of hoverList.

Instance Methods

Public Protected Private
dispose()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
disposeInternal()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
preventDefault()
Prevents the default action, for example a link redirecting to a url.
code »
stopPropagation()
Stops event propagation.
code »

Instance Properties

constructor :
No description.
Code »
currDragItem :
The current drag item being move.
Code »
dragListGroup : goog.fx.DragListGroup
A reference to the associated DragListGroup object.
Code »
dragger : goog.fx.Dragger
The dragger object.
Code »
draggerEl :
The clone of the current drag item that's actually being dragged around.
Code »
draggerElCenter : goog.math.Coordinate
The current center position of the draggerEl.
Code »
The event fired by the browser or fired by the dragger.
Code »
hoverList :
The current drag list that's being hovered over, or null if the center of draggerEl is outside of any drag lists. (I.e. If not null and the drag action ends right now, then currDragItem will end up in this list.)
Code »
hoverNextItem :
The current next item in the hoverList that the draggerEl is hovering over. (I.e. If the drag action ends right now, then this item would become the next item after the new location of currDragItem.) May be null if not applicable or if currDragItem would be added to the end of hoverList.
Code »
currentTarget :
Object that had the listener attached.
Code »
defaultPrevented :
Whether the default action has been prevented. This is a property to match the W3C specification at http://www.w3.org/TR/DOM-Level-3-Events/ #events-event-type-defaultPrevented. Must be treated as read-only outside the class.
Code »
propagationStopped_ :
Whether to cancel the event in internal capture/bubble processing for IE.
Code »
returnValue_ :
Return value for in internal capture/bubble processing for IE.
Code »
target :
Target of the event.
Code »
type :
Event type.
Code »

Static Properties

goog.fx.DragListGroupEvent.superClass_ :
No description.
Code »

Package fx

Package Reference