|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.dnd.DragSource
com.extjs.gxt.ui.client.dnd.ListViewDragSource
public class ListViewDragSource
A DragSource implementation for ListViews. Supports both single
and multi-selections. The selected model instances will be set as the data to
be dragged.
| Field Summary | |
|---|---|
protected ListView<ModelData> |
listView
|
| Fields inherited from class com.extjs.gxt.ui.client.dnd.DragSource |
|---|
component, data, draggable, listener, statusProxy |
| Constructor Summary | |
|---|---|
ListViewDragSource(ListView listView)
Creates a new list view drag source instance. |
|
| Method Summary | |
|---|---|
ListView<ModelData> |
getListView()
Returns the sources list view. |
protected void |
onDragDrop(DNDEvent e)
|
protected void |
onDragStart(DNDEvent e)
Called when a drag operation begins on the target component. |
| Methods inherited from class com.extjs.gxt.ui.client.dnd.DragSource |
|---|
addDNDListener, disable, enable, getComponent, getData, getDraggable, getGroup, getStatusText, isEnabled, onDragCancelled, onDragFail, release, removeDNDListener, setData, setGroup, setStatusText |
| Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
|---|
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ListView<ModelData> listView
| Constructor Detail |
|---|
public ListViewDragSource(ListView listView)
listView - the source list view| Method Detail |
|---|
public ListView<ModelData> getListView()
protected void onDragDrop(DNDEvent e)
onDragDrop in class DragSourceprotected void onDragStart(DNDEvent e)
DragSourceBaseEvent.setCancelled(boolean).
onDragStart in class DragSourcee - the dnd event
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||