com.ebmwebsourcing.geasytools.geasyui.impl.draggable
Class HasDragProxy

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by com.ebmwebsourcing.geasytools.geasyui.impl.draggable.HasDragProxy
All Implemented Interfaces:
IHasDragProxy, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget

public abstract class HasDragProxy
extends com.google.gwt.user.client.ui.Composite
implements IHasDragProxy


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
HasDragProxy(IUIPanel uipanel)
           
 
Method Summary
 void addDragProxyHandler(IDragProxyHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
           
 void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
           
 IUIElement getCreatedElement()
          Element that was created due to current proxy drop
 IDraggableElement getDraggableProxy()
           
 IDraggableProxyDefaultHandlers getDraggableProxyDefaultHandlers()
           
abstract  com.google.gwt.user.client.ui.Widget getMainWidget()
           
 IUIPanel getUIPanel()
           
 void setCreatedElement(IUIElement createdElement)
           
 void setDraggableProxy(IDraggableElement draggableElement)
           
 void setUIPanel(IUIPanel panel)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.draggable.IHasDragProxy
getData, getDraggedTypes, getIUIElementType, getProxyImgUrl
 

Constructor Detail

HasDragProxy

public HasDragProxy(IUIPanel uipanel)
Method Detail

getDraggableProxy

public IDraggableElement getDraggableProxy()
Specified by:
getDraggableProxy in interface IHasDragProxy

addDragProxyHandler

public void addDragProxyHandler(IDragProxyHandler handler)
Specified by:
addDragProxyHandler in interface IHasDragProxy

fireEvent

public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
Specified by:
fireEvent in interface com.google.gwt.event.shared.HasHandlers
Overrides:
fireEvent in class com.google.gwt.user.client.ui.Widget

getDraggableProxyDefaultHandlers

public IDraggableProxyDefaultHandlers getDraggableProxyDefaultHandlers()
Specified by:
getDraggableProxyDefaultHandlers in interface IHasDragProxy

setDraggableProxy

public void setDraggableProxy(IDraggableElement draggableElement)
Specified by:
setDraggableProxy in interface IHasDragProxy

addMouseDownHandler

public com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
Specified by:
addMouseDownHandler in interface com.google.gwt.event.dom.client.HasMouseDownHandlers

addMouseMoveHandler

public com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
Specified by:
addMouseMoveHandler in interface com.google.gwt.event.dom.client.HasMouseMoveHandlers

addMouseOutHandler

public com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
Specified by:
addMouseOutHandler in interface com.google.gwt.event.dom.client.HasMouseOutHandlers

getUIPanel

public IUIPanel getUIPanel()
Specified by:
getUIPanel in interface IHasDragProxy

setCreatedElement

public void setCreatedElement(IUIElement createdElement)
Specified by:
setCreatedElement in interface IHasDragProxy

getCreatedElement

public IUIElement getCreatedElement()
Description copied from interface: IHasDragProxy
Element that was created due to current proxy drop

Specified by:
getCreatedElement in interface IHasDragProxy
Returns:

setUIPanel

public void setUIPanel(IUIPanel panel)
Specified by:
setUIPanel in interface IHasDragProxy

getMainWidget

public abstract com.google.gwt.user.client.ui.Widget getMainWidget()


Copyright © 2010-2011 Petals Link. All Rights Reserved.