com.ebmwebsourcing.geasytools.geasyui.impl.draggable
Class DraggableProxy
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.AbsolutePanel
com.ebmwebsourcing.geasytools.geasyui.impl.draggable.DraggableProxy
- All Implemented Interfaces:
- IPositionable, IDraggableElement, IDragProxy, com.google.gwt.event.dom.client.HasAllMouseHandlers, 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.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, 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.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>
public class DraggableProxy
- extends com.google.gwt.user.client.ui.AbsolutePanel
- implements IDragProxy
The only thing that interest us here are the events
that current proxy may receive.
- Author:
- nfleury
| 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 |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel |
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
| Methods inherited from class com.google.gwt.user.client.ui.AbsolutePanel |
add, add, getWidgetLeft, getWidgetTop, insert, insert, insert, remove, setWidgetPosition, setWidgetPositionImpl |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
add |
| Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
getWidgetIndex |
| Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
getWidget, getWidgetCount, getWidgetIndex, remove |
DraggableProxy
public DraggableProxy(IHasDragProxy hasProxy)
addDragHandler
public void addDragHandler(IDragHandler dragHandler)
- Specified by:
addDragHandler in interface IDraggableElement
getContainer
public IContainer getContainer()
- Specified by:
getContainer in interface IPositionable
getDraggableElementDefaultHandlers
public IDraggableElementDefaultHandlers getDraggableElementDefaultHandlers()
- Specified by:
getDraggableElementDefaultHandlers in interface IDraggableElement
getHandlerManager
public com.google.gwt.event.shared.HandlerManager getHandlerManager()
- Specified by:
getHandlerManager in interface IDraggableElement
getId
public java.lang.String getId()
- Specified by:
getId in interface IDraggableElement
getMouseState
public IMouseState getMouseState()
- Specified by:
getMouseState in interface IDraggableElement
getRelativeX
public float getRelativeX()
- Description copied from interface:
IPositionable
- X position relatively to current container
- Specified by:
getRelativeX in interface IPositionable
- Returns:
getRelativeY
public float getRelativeY()
- Description copied from interface:
IPositionable
- Y position relatively to current container
- Specified by:
getRelativeY in interface IPositionable
- Returns:
getUIPanel
public IUIPanel getUIPanel()
- Specified by:
getUIPanel in interface IDraggableElement
setContainer
public void setContainer(IContainer container)
- Specified by:
setContainer in interface IPositionable
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
setRelativeX
public void setRelativeX(float x)
- Specified by:
setRelativeX in interface IPositionable
setRelativeY
public void setRelativeY(float y)
- Specified by:
setRelativeY in interface IPositionable
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
addMouseUpHandler
public com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
- Specified by:
addMouseUpHandler in interface com.google.gwt.event.dom.client.HasMouseUpHandlers
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
addMouseOverHandler
public com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
- Specified by:
addMouseOverHandler in interface com.google.gwt.event.dom.client.HasMouseOverHandlers
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
addMouseWheelHandler
public com.google.gwt.event.shared.HandlerRegistration addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler handler)
- Specified by:
addMouseWheelHandler in interface com.google.gwt.event.dom.client.HasMouseWheelHandlers
getHasDraggableElementProxy
public IHasDragProxy getHasDraggableElementProxy()
- Specified by:
getHasDraggableElementProxy in interface IDragProxy
getDraggedTypes
public java.util.HashSet<java.lang.Class<? extends IUIElement>> getDraggedTypes()
- Specified by:
getDraggedTypes in interface IDraggableElement
getIndicator
public IDropProxyIndicator getIndicator()
- Specified by:
getIndicator in interface IDragProxy
Copyright © 2010-2011 Petals Link. All Rights Reserved.