com.ebmwebsourcing.geasytools.geasyui.impl.resizable
Class ResizeUIHandler

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.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.AbsolutePanel
                      extended by com.ebmwebsourcing.geasytools.geasyui.impl.resizable.ResizeUIHandler
All Implemented Interfaces:
IPositionable, IDragHandler, IDraggableElement, IResizeUIHandler, DragHandler, 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.EventHandler, 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 ResizeUIHandler
extends com.google.gwt.user.client.ui.AbsolutePanel
implements IResizeUIHandler, DragHandler


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
 
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
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ResizeUIHandler(IResizable resizableElement)
           
 
Method Summary
 void addDragHandler(IDragHandler dragHandler)
           
 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)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler handler)
           
 void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
           
 IContainer getContainer()
           
 IDraggableElementDefaultHandlers getDraggableElementDefaultHandlers()
           
 java.util.HashSet<java.lang.Class<? extends IUIElement>> getDraggedTypes()
           
 com.google.gwt.event.shared.HandlerManager getHandlerManager()
           
 java.lang.String getId()
           
 IMouseState getMouseState()
           
 float getRelativeX()
          X position relatively to current container
 float getRelativeY()
          Y position relatively to current container
 IResizableElement getResizableElement()
           
 IUIPanel getUIPanel()
           
 void onAcceptedAfterDrop(IAcceptedAfterDropEvent event)
          Fired after drop and when current element is part of acceptable elements of the concerned IDroppable
 void onAcceptedBeforeDrop(IAcceptedBeforeDropEvent event)
          Fired before drop and when current element is part of acceptable elements of the concerned IDroppable
 void onMove(IDragMoveEvent event)
           
 void onRefusedAfterDrop(IRefusedAfterDropEvent event)
          Fired after drop and when current element is not part of acceptable elements of the concerned IDroppable
 void onRefusedBeforeDrop(IRefusedBeforeDropEvent event)
          Fired before drop and when current element is not part of acceptable elements of the concerned IDroppable
 void onStart(IDragStartEvent event)
           
 void onStop(IDragStopEvent event)
           
 void setContainer(IContainer container)
           
 void setRelativeX(float x)
           
 void setRelativeY(float y)
           
 
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.ebmwebsourcing.geasytools.geasyui.api.core.IPositionable
getAbsoluteLeft, getAbsoluteTop
 
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
 

Constructor Detail

ResizeUIHandler

public ResizeUIHandler(IResizable resizableElement)
Method Detail

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

getUIPanel

public IUIPanel getUIPanel()
Specified by:
getUIPanel 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:

setContainer

public void setContainer(IContainer container)
Specified by:
setContainer in interface IPositionable

setRelativeX

public void setRelativeX(float x)
Specified by:
setRelativeX in interface IPositionable

setRelativeY

public void setRelativeY(float y)
Specified by:
setRelativeY 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

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

getResizableElement

public IResizableElement getResizableElement()
Specified by:
getResizableElement in interface IResizeUIHandler

onMove

public void onMove(IDragMoveEvent event)
Specified by:
onMove in interface IDragHandler
Specified by:
onMove in interface DragHandler

onStart

public void onStart(IDragStartEvent event)
Specified by:
onStart in interface IDragHandler
Specified by:
onStart in interface DragHandler

onStop

public void onStop(IDragStopEvent event)
Specified by:
onStop in interface IDragHandler
Specified by:
onStop in interface DragHandler

getDraggedTypes

public java.util.HashSet<java.lang.Class<? extends IUIElement>> getDraggedTypes()
Specified by:
getDraggedTypes in interface IDraggableElement

onAcceptedAfterDrop

public void onAcceptedAfterDrop(IAcceptedAfterDropEvent event)
Description copied from interface: IDragHandler
Fired after drop and when current element is part of acceptable elements of the concerned IDroppable

Specified by:
onAcceptedAfterDrop in interface IDragHandler

onAcceptedBeforeDrop

public void onAcceptedBeforeDrop(IAcceptedBeforeDropEvent event)
Description copied from interface: IDragHandler
Fired before drop and when current element is part of acceptable elements of the concerned IDroppable

Specified by:
onAcceptedBeforeDrop in interface IDragHandler

onRefusedAfterDrop

public void onRefusedAfterDrop(IRefusedAfterDropEvent event)
Description copied from interface: IDragHandler
Fired after drop and when current element is not part of acceptable elements of the concerned IDroppable

Specified by:
onRefusedAfterDrop in interface IDragHandler

onRefusedBeforeDrop

public void onRefusedBeforeDrop(IRefusedBeforeDropEvent event)
Description copied from interface: IDragHandler
Fired before drop and when current element is not part of acceptable elements of the concerned IDroppable

Specified by:
onRefusedBeforeDrop in interface IDragHandler


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