com.ebmwebsourcing.geasytools.geasyui.impl.connectable
Class ConnectorPoint
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.ebmwebsourcing.geasytools.geasyui.impl.connectable.ConnectorPoint
- All Implemented Interfaces:
- IConnectorPoint, IPositionable, IDragHandler, IDraggableElement, DragHandler, com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasClickHandlers, 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.IsWidget
public abstract class ConnectorPoint
- extends com.google.gwt.user.client.ui.Composite
- implements IConnectorPoint, DragHandler
| 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 |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
| 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, 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, unsinkEvents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConnectorPoint
public ConnectorPoint(IConnector connector)
addDragHandler
public void addDragHandler(IDragHandler dragHandler)
- Specified by:
addDragHandler in interface IDraggableElement
getConnector
public IConnector getConnector()
- Specified by:
getConnector in interface IConnectorPoint
setNextPoint
public void setNextPoint(IConnectorPoint nextPoint)
- Specified by:
setNextPoint in interface IConnectorPoint
setPreviousPoint
public void setPreviousPoint(IConnectorPoint previousPoint)
- Specified by:
setPreviousPoint in interface IConnectorPoint
getPreviousPoint
public IConnectorPoint getPreviousPoint()
- Specified by:
getPreviousPoint in interface IConnectorPoint
getNextPoint
public IConnectorPoint getNextPoint()
- Specified by:
getNextPoint in interface IConnectorPoint
getAbsoluteLeft
public abstract int getAbsoluteLeft()
- Specified by:
getAbsoluteLeft in interface IPositionable- Overrides:
getAbsoluteLeft in class com.google.gwt.user.client.ui.UIObject
getAbsoluteTop
public abstract int getAbsoluteTop()
- Specified by:
getAbsoluteTop in interface IPositionable- Overrides:
getAbsoluteTop in class com.google.gwt.user.client.ui.UIObject
getContainer
public IContainer getContainer()
- Specified by:
getContainer in interface IPositionable
getDraggableElementDefaultHandlers
public IDraggableElementDefaultHandlers getDraggableElementDefaultHandlers()
- Specified by:
getDraggableElementDefaultHandlers in interface IDraggableElement
getDraggedTypes
public java.util.HashSet<java.lang.Class<? extends IUIElement>> getDraggedTypes()
- Specified by:
getDraggedTypes 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
getConnectedToMagnet
public IMagnet getConnectedToMagnet()
- Specified by:
getConnectedToMagnet in interface IConnectorPoint
setConnectedToMagnet
public void setConnectedToMagnet(IMagnet magnet)
- Specified by:
setConnectedToMagnet in interface IConnectorPoint
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
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
addClickHandler
public com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
- Specified by:
addClickHandler in interface com.google.gwt.event.dom.client.HasClickHandlers
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
toString
public java.lang.String toString()
- Overrides:
toString in class com.google.gwt.user.client.ui.UIObject
Copyright © 2010-2011 Petals Link. All Rights Reserved.