| com.gwtext.client.dd.DragDrop com.gwtext.client.dd.DDTarget com.gwtext.client.dd.DropTarget
All known Subclasses: com.gwtext.client.dd.DropZone,
Method Summary | |
native protected JavaScriptObject | create(String id, String sGroup, JavaScriptObject config) | native protected JavaScriptObject | create(Element element, String sGroup, JavaScriptObject config) | public boolean | notifyDrop(DragSource source, EventObject e, DragData data) The function
DragSource calls once to notify this drop target that the dragged item has been dropped on it. | public String | notifyEnter(DragSource source, EventObject e, DragData data) The function a
DragSource calls once to notify this drop target that the source is now over the target. | public void | notifyOut(DragSource source, EventObject e, DragData data) The function a Ext.dd.DragSource calls once to notify this drop target that the source has been dragged out of the target
without dropping. | public String | notifyOver(DragSource source, EventObject e, DragData data) |
DropTarget | public DropTarget(JavaScriptObject jsObj)(Code) | | |
create | native protected JavaScriptObject create(String id, String sGroup, JavaScriptObject config)(Code) | | |
create | native protected JavaScriptObject create(Element element, String sGroup, JavaScriptObject config)(Code) | | |
notifyDrop | public boolean notifyDrop(DragSource source, EventObject e, DragData data)(Code) | | The function
DragSource calls once to notify this drop target that the dragged item has been dropped on it.
This method has no default implementation and returns false, so you must provide an implementation that does something
to process the drop event and returns true so that the drag source's repair action does not run.
Parameters: source - the drag source Parameters: e - the event object Parameters: data - an object containing arbitrary data supplied by the drag source true if the drop was valid, else false |
notifyEnter | public String notifyEnter(DragSource source, EventObject e, DragData data)(Code) | | The function a
DragSource calls once to notify this drop target that the source is now over the target. This
default implementation adds the CSS class specified by overClass (if any) to the drop element and
returns the dropAllowed config value. This method should be overridden if drop validation is required.
Parameters: source - The drag source that was dragged over this drop target Parameters: e - The event Parameters: data - An object containing arbitrary data supplied by the drag source The CSS class that communicates the drop status back to the source so that the underlying StatusProxy can be updated |
notifyOut | public void notifyOut(DragSource source, EventObject e, DragData data)(Code) | | The function a Ext.dd.DragSource calls once to notify this drop target that the source has been dragged out of the target
without dropping. This default implementation simply removes the CSS class specified by overClass (if any) from the drop element.
Parameters: source - Parameters: e - Parameters: data - |
Methods inherited from com.gwtext.client.dd.DDTarget | native protected JavaScriptObject create(String id, String sGroup, JavaScriptObject config)(Code)(Java Doc) native protected JavaScriptObject create(Element element, String sGroup, JavaScriptObject config)(Code)(Java Doc)
|
Methods inherited from com.gwtext.client.dd.DragDrop | native public void addInvalidHandleClass(String cssClass)(Code)(Java Doc) native public void addInvalidHandleId(String id)(Code)(Java Doc) native public void addInvalidHandleType(String tagName)(Code)(Java Doc) native public void addToGroup(String sGroup)(Code)(Java Doc) native public void applyConfig()(Code)(Java Doc) native public void clearConstraints()(Code)(Java Doc) native public void clearTicks()(Code)(Java Doc) native protected JavaScriptObject create(String id, String sGroup, JavaScriptObject config)(Code)(Java Doc) native protected JavaScriptObject create(Element element, String sGroup, JavaScriptObject config)(Code)(Java Doc) public void endDrag(EventObject e)(Code)(Java Doc) native public Element getDragEl()(Code)(Java Doc) native public Element getEl()(Code)(Java Doc) public String[] getGroups()(Code)(Java Doc) native public String getId()(Code)(Java Doc) public String[] getInvalidHandleClasses()(Code)(Java Doc) native public String getInvalidHandleTypes()(Code)(Java Doc) native public Paddings getPadding()(Code)(Java Doc) public int[] getXTicks()(Code)(Java Doc) public int[] getYTicks()(Code)(Java Doc) native public boolean hasOuterHandles()(Code)(Java Doc) native public void init(String id, String sGroup, DragDropConfig config)(Code)(Java Doc) native public void initTarget(String id, String sGroup, DragDropConfig config)(Code)(Java Doc) native public boolean isAvailable()(Code)(Java Doc) native public boolean isLocked()(Code)(Java Doc) native public boolean isMaintainOffset()(Code)(Java Doc) native public boolean isPrimaryButtonOnly()(Code)(Java Doc) native public boolean isTarget()(Code)(Java Doc) native public boolean isValidHandleChild(Element element)(Code)(Java Doc) native public void lock()(Code)(Java Doc) public void onAvailable()(Code)(Java Doc) public void onDrag(EventObject e)(Code)(Java Doc) public void onDragDrop(EventObject e, String id)(Code)(Java Doc) public void onDragDrop(EventObject e, DragDrop[] items)(Code)(Java Doc) public void onDragEnter(EventObject e, String id)(Code)(Java Doc) public void onDragEnter(EventObject e, DragDrop[] items)(Code)(Java Doc) public void onDragOut(EventObject e, String id)(Code)(Java Doc) public void onDragOut(EventObject e, DragDrop[] items)(Code)(Java Doc) public void onDragOver(EventObject e, String id)(Code)(Java Doc) public void onDragOver(EventObject e, DragDrop[] items)(Code)(Java Doc) public void onInvalidDrop(EventObject e)(Code)(Java Doc) public void onMouseDown(EventObject e)(Code)(Java Doc) public void onMouseUp(EventObject e)(Code)(Java Doc) native public void removeFromGroup(String sGroup)(Code)(Java Doc) native public void removeInvalidHandleClass(String cssClass)(Code)(Java Doc) native public void removeInvalidHandleId(String id)(Code)(Java Doc) native public void removeInvalidHandleType(String tagName)(Code)(Java Doc) native public void resetConstraints(boolean maintainOffset)(Code)(Java Doc) native public void setDragElId(String id)(Code)(Java Doc) native public void setHandleElId(String id)(Code)(Java Doc) native public void setOuterHandleElId(String id)(Code)(Java Doc) native public void setPadding(int iUp, int iDown, int iBottom, int iLeft)(Code)(Java Doc) native public void setXConstraint(int iLeft, int iRight, int iTickSize)(Code)(Java Doc) native public void setYConstraint(int iUp, int iDown, int iTickSize)(Code)(Java Doc) public void startDrag(int x, int y)(Code)(Java Doc) native public String toString()(Code)(Java Doc) native public void unlock()(Code)(Java Doc) native public void unreg()(Code)(Java Doc)
|
|
|