Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.client.view
Class DropZone

java.lang.Object
  extended by com.gwtext.client.core.JsObject
      extended by com.gwtext.client.dd.DragDrop
          extended by com.gwtext.client.dd.DDTarget
              extended by com.gwtext.client.dd.DropTarget
                  extended by com.gwtext.client.widgets.portal.PortalDropZone
                      extended by org.nuxeo.opensocial.container.client.view.DropZone

public class DropZone
extends com.gwtext.client.widgets.portal.PortalDropZone

DropZone serve for catch drag and drop event and call container service for save

Author:
Guillaume Cusnieux

Constructor Summary
DropZone(ContainerPortal portal, com.gwtext.client.dd.DropTargetConfig config)
           
 
Method Summary
static void endDragDrop(java.lang.String id)
          This method is called by the code JSNI in overrideDragDrop, overriding the method of endDrag PortalDropZone not working
 boolean notifyDrop(com.gwtext.client.dd.DragSource source, com.gwtext.client.core.EventObject e, com.gwtext.client.dd.DragData data)
           
 java.lang.String notifyEnter(com.gwtext.client.dd.DragSource source, com.gwtext.client.core.EventObject e, com.gwtext.client.dd.DragData data)
           
 void notifyOut(com.gwtext.client.dd.DragSource source, com.gwtext.client.core.EventObject e, com.gwtext.client.dd.DragData data)
           
 java.lang.String notifyOver(com.gwtext.client.dd.DragSource source, com.gwtext.client.core.EventObject e, com.gwtext.client.dd.DragData data)
           
 
Methods inherited from class com.gwtext.client.dd.DragDrop
addInvalidHandleClass, addInvalidHandleId, addInvalidHandleType, addToGroup, applyConfig, clearConstraints, clearTicks, endDrag, getDragEl, getEl, getGroups, getId, getInvalidHandleClasses, getInvalidHandleTypes, getPadding, getXTicks, getYTicks, hasOuterHandles, init, initTarget, isAvailable, isLocked, isMaintainOffset, isPrimaryButtonOnly, isTarget, isValidHandleChild, lock, onAvailable, onDrag, onDragDrop, onDragDrop, onDragEnter, onDragEnter, onDragOut, onDragOut, onDragOver, onDragOver, onInvalidDrop, onMouseDown, onMouseUp, removeFromGroup, removeInvalidHandleClass, removeInvalidHandleId, removeInvalidHandleType, resetConstraints, setDragElId, setHandleElId, setOuterHandleElId, setPadding, setXConstraint, setYConstraint, startDrag, toString, unlock, unreg
 
Methods inherited from class com.gwtext.client.core.JsObject
getJsObj, getProperties, setJsObj
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DropZone

public DropZone(ContainerPortal portal,
                com.gwtext.client.dd.DropTargetConfig config)
Method Detail

endDragDrop

public static void endDragDrop(java.lang.String id)
This method is called by the code JSNI in overrideDragDrop, overriding the method of endDrag PortalDropZone not working

Parameters:
id -

notifyOver

public java.lang.String notifyOver(com.gwtext.client.dd.DragSource source,
                                   com.gwtext.client.core.EventObject e,
                                   com.gwtext.client.dd.DragData data)
Overrides:
notifyOver in class com.gwtext.client.widgets.portal.PortalDropZone

notifyEnter

public java.lang.String notifyEnter(com.gwtext.client.dd.DragSource source,
                                    com.gwtext.client.core.EventObject e,
                                    com.gwtext.client.dd.DragData data)
Overrides:
notifyEnter in class com.gwtext.client.dd.DropTarget

notifyOut

public void notifyOut(com.gwtext.client.dd.DragSource source,
                      com.gwtext.client.core.EventObject e,
                      com.gwtext.client.dd.DragData data)
Overrides:
notifyOut in class com.gwtext.client.widgets.portal.PortalDropZone

notifyDrop

public boolean notifyDrop(com.gwtext.client.dd.DragSource source,
                          com.gwtext.client.core.EventObject e,
                          com.gwtext.client.dd.DragData data)
Overrides:
notifyDrop in class com.gwtext.client.widgets.portal.PortalDropZone

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.