|
|||||||||
| 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
public class DragSource
Indentifies a component that drag and drops can be initaited from.
![]() |
![]() |
![]() |
![]() |
| Constructor Summary | |
|---|---|
DragSource(Component component)
|
|
| Method Summary | |
|---|---|
void |
addDNDListener(DNDListener listener)
Adds a drag and drop listener. |
Component |
getComponent()
Returns the source component. |
java.lang.Object |
getData()
Returns the data to be moved or copied. |
Draggable |
getDraggable()
Returns the draggable instance. |
java.lang.String |
getStatusText()
Returns the status text. |
void |
removeDNDListener(DNDListener listener)
Removes the drag and drop listener. |
void |
setData(java.lang.Object data)
Sets the data for the drag drop operation. |
void |
setStatusText(java.lang.String statusText)
Sets the text to be used on the status proxy object. |
| Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
|---|
addListener, fireEvent, fireEvent, getFiresEvents, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DragSource(Component component)
| Method Detail |
|---|
public void addDNDListener(DNDListener listener)
listener - the listener to addpublic Component getComponent()
public java.lang.Object getData()
public Draggable getDraggable()
public java.lang.String getStatusText()
public void removeDNDListener(DNDListener listener)
listener - the listener to removepublic void setData(java.lang.Object data)
data - the datapublic void setStatusText(java.lang.String statusText)
statusText - the status text
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||