|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseEvent
com.extjs.gxt.ui.client.event.DomEvent
com.extjs.gxt.ui.client.event.DNDEvent
public class DNDEvent
Drag and drop event type.
Note: For a given event, only the fields which are appropriate will be filled in. The appropriate fields for each event are documented by the event source.
Field Summary |
---|
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent |
---|
event |
Constructor Summary | |
---|---|
DNDEvent(DragSource source)
|
|
DNDEvent(DragSource source,
com.google.gwt.user.client.Event event)
|
Method Summary | ||
---|---|---|
Component |
getComponent()
Returns the source component. |
|
|
getData()
Returns the dnd data. |
|
DragEvent |
getDragEvent()
Returns the drag event. |
|
DragSource |
getDragSource()
Returns the drag source. |
|
DropTarget |
getDropTarget()
Returns the drop target. |
|
DND.Operation |
getOperation()
Returns the operation. |
|
StatusProxy |
getStatus()
Returns the status proxy. |
|
void |
setComponent(Component component)
Sets the source component |
|
void |
setData(java.lang.Object data)
Sets the drag and drop data. |
|
void |
setDragEvent(DragEvent dragEvent)
Sets the drag event. |
|
void |
setDragSource(DragSource dragSource)
Sets the drag source. |
|
void |
setDropTarget(DropTarget dragTarget)
Sets the drop target. |
|
void |
setOperation(DND.Operation operation)
Sets the operation. |
|
void |
setStatus(StatusProxy status)
Sets the status proxy. |
Methods inherited from class com.extjs.gxt.ui.client.event.DomEvent |
---|
cancelBubble, getClientX, getClientY, getEvent, getEventTypeInt, getKeyCode, getTarget, getTarget, getTargetEl, getXY, hasModifier, isAltKey, isControlKey, isNavKeyPress, isNavKeyPress, isRightClick, isShiftKey, isSpecialKey, isSpecialKey, preventDefault, setEvent, stopEvent, within, within |
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent |
---|
getSource, getType, isCancelled, setCancelled, setSource, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DNDEvent(DragSource source)
public DNDEvent(DragSource source, com.google.gwt.user.client.Event event)
Method Detail |
---|
public Component getComponent()
public <X> X getData()
X
- the data type
public DragEvent getDragEvent()
public DragSource getDragSource()
public DropTarget getDropTarget()
public DND.Operation getOperation()
public StatusProxy getStatus()
public void setComponent(Component component)
component
- the source componentpublic void setData(java.lang.Object data)
data
- the datapublic void setDragEvent(DragEvent dragEvent)
dragEvent
- the drag eventpublic void setDragSource(DragSource dragSource)
dragSource
- the drag sourcepublic void setDropTarget(DropTarget dragTarget)
dragTarget
- the drop targetpublic void setOperation(DND.Operation operation)
operation
- the operationpublic void setStatus(StatusProxy status)
status
- the status proxy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |