com.ebmwebsourcing.geasytools.geasyui.api.connectable
Interface IConnector

All Superinterfaces:
com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.shared.HasHandlers, 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, IDraggable, IDraggableElement, IGraphicElement, IPositionable, ISelectable, IUIElement
All Known Implementing Classes:
Connector

public interface IConnector
extends IDraggable, com.google.gwt.event.shared.HasHandlers, IGraphicElement


Method Summary
 void addConnectorHandler(IConnectorHandler connectorHandler)
           
 void addIntermediateConnectorPoint(IConnectorPoint point, IConnectorPoint previousPoint, IConnectorPoint nextPoint)
           
 void connect(IConnectableElement source, IConnectableElement target)
           
 IConnectorPoint createConnectorPoint(int x, int y)
           
 java.util.LinkedHashSet<IConnectorPoint> getAllConnectorPoints()
           
 IConnectorEnd getConnectorEndPoint()
           
 IConnectorStart getConnectorStartPoint()
           
 com.ebmwebsourcing.geasytools.geasygraph.api.IGraph getGraph()
           
 java.lang.String getId()
           
 IConnectableElement getSource()
           
 IConnectableElement getTarget()
           
 void refresh()
           
 void removeIntermediateConnectorPoint(IConnectorPoint point)
           
 void setSource(IConnectableElement source)
           
 void setTarget(IConnectableElement target)
           
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.selectable.ISelectable
addSelectionHandler, getHandlerManager, getIntersectionPoints, getSelectableDefaultHandlers
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IUIElement
getContainer, getHeight, getMouseState, getName, getRelativeX, getRelativeY, getUIPanel, getWidth, setContainer, setHeight, setRelativeX, setRelativeY, setUIPanel, setWidth
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IPositionable
getAbsoluteLeft, getAbsoluteTop
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.core.IGraphicElement
hide, show, toBack, toFront
 
Methods inherited from interface com.google.gwt.event.dom.client.HasClickHandlers
addClickHandler
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasyui.api.draggable.IDraggableElement
addDragHandler, getDraggableElementDefaultHandlers, getDraggedTypes, getHandlerManager, getMouseState, getUIPanel
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseDownHandlers
addMouseDownHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseUpHandlers
addMouseUpHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseOutHandlers
addMouseOutHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseOverHandlers
addMouseOverHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseMoveHandlers
addMouseMoveHandler
 
Methods inherited from interface com.google.gwt.event.dom.client.HasMouseWheelHandlers
addMouseWheelHandler
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

getId

java.lang.String getId()
Specified by:
getId in interface IDraggableElement
Specified by:
getId in interface IUIElement

connect

void connect(IConnectableElement source,
             IConnectableElement target)

getConnectorStartPoint

IConnectorStart getConnectorStartPoint()

getConnectorEndPoint

IConnectorEnd getConnectorEndPoint()

addIntermediateConnectorPoint

void addIntermediateConnectorPoint(IConnectorPoint point,
                                   IConnectorPoint previousPoint,
                                   IConnectorPoint nextPoint)

removeIntermediateConnectorPoint

void removeIntermediateConnectorPoint(IConnectorPoint point)

addConnectorHandler

void addConnectorHandler(IConnectorHandler connectorHandler)

getSource

IConnectableElement getSource()

getTarget

IConnectableElement getTarget()

setSource

void setSource(IConnectableElement source)

setTarget

void setTarget(IConnectableElement target)

getGraph

com.ebmwebsourcing.geasytools.geasygraph.api.IGraph getGraph()

refresh

void refresh()
Specified by:
refresh in interface IGraphicElement

getAllConnectorPoints

java.util.LinkedHashSet<IConnectorPoint> getAllConnectorPoints()

createConnectorPoint

IConnectorPoint createConnectorPoint(int x,
                                     int y)


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