com.ebmwebsourcing.petalsbpm.bpmndiagram.common.connector
Class MagnetElement

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.connectable.Magnet
                  extended by com.ebmwebsourcing.petalsbpm.bpmndiagram.common.connector.MagnetElement
All Implemented Interfaces:
com.ebmwebsourcing.geasytools.geasyui.api.connectable.IMagnet, com.ebmwebsourcing.geasytools.geasyui.api.core.IPositionable, com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler, com.ebmwebsourcing.geasytools.geasyui.api.droppable.IDroppableElement, com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler, 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.IsWidget

public class MagnetElement
extends com.ebmwebsourcing.geasytools.geasyui.impl.connectable.Magnet


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
MagnetElement(com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement connectable)
           
 
Method Summary
 com.ebmwebsourcing.geasytools.geasyui.api.core.IPoint getNorthWestPoint()
           
 com.ebmwebsourcing.geasytools.geasyui.api.core.IPoint getSouthEastPoint()
           
 void hide()
           
 void onDropAccepted(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropAcceptedEvent event)
           
 void onDropRefused(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropRefusedEvent event)
           
 void onOut(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IOutEvent event)
           
 void onOver(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IOverEvent event)
           
 void removeFromParent()
           
 void setRelativeX(float x)
           
 void setRelativeY(float y)
           
 void show()
           
 
Methods inherited from class com.ebmwebsourcing.geasytools.geasyui.impl.connectable.Magnet
addConnectorPoint, addDropHandler, fireEvent, getAcceptedTypes, getConnectableElement, getConnectorPoints, getContainer, getDDManager, getDroppableDefaultHandlers, getHandlerManager, getId, getRelativeX, getRelativeY, getUIPanel, removeConnectorPoint, setContainer
 
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, 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
 

Constructor Detail

MagnetElement

public MagnetElement(com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnectableElement connectable)
Method Detail

removeFromParent

public void removeFromParent()
Overrides:
removeFromParent in class com.google.gwt.user.client.ui.Widget

getNorthWestPoint

public com.ebmwebsourcing.geasytools.geasyui.api.core.IPoint getNorthWestPoint()

getSouthEastPoint

public com.ebmwebsourcing.geasytools.geasyui.api.core.IPoint getSouthEastPoint()

setRelativeX

public void setRelativeX(float x)

setRelativeY

public void setRelativeY(float y)

hide

public void hide()

show

public void show()

onOver

public void onOver(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IOverEvent event)
Specified by:
onOver in interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler
Specified by:
onOver in interface com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler
Overrides:
onOver in class com.ebmwebsourcing.geasytools.geasyui.impl.connectable.Magnet

onOut

public void onOut(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IOutEvent event)
Specified by:
onOut in interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler
Specified by:
onOut in interface com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler
Overrides:
onOut in class com.ebmwebsourcing.geasytools.geasyui.impl.connectable.Magnet

onDropAccepted

public void onDropAccepted(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropAcceptedEvent event)
Specified by:
onDropAccepted in interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler
Specified by:
onDropAccepted in interface com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler
Overrides:
onDropAccepted in class com.ebmwebsourcing.geasytools.geasyui.impl.connectable.Magnet

onDropRefused

public void onDropRefused(com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropRefusedEvent event)
Specified by:
onDropRefused in interface com.ebmwebsourcing.geasytools.geasyui.api.droppable.events.IDropHandler
Specified by:
onDropRefused in interface com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropHandler
Overrides:
onDropRefused in class com.ebmwebsourcing.geasytools.geasyui.impl.connectable.Magnet


Copyright © 2010-2011 eBM WebSourcing. All Rights Reserved.