Interface ConnectionListener


public interface ConnectionListener
Listener for connection events with ConnectionShapes within a ConnectionNode.
Author:
Jamie Macaulay
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    collisionEvent(ConnectorNode shape, ConnectorNode foundShape, int type)
    Called whenever a connection is made, could possibly happen, or been broken
  • Method Details

    • collisionEvent

      void collisionEvent(ConnectorNode shape, ConnectorNode foundShape, int type)
      Called whenever a connection is made, could possibly happen, or been broken
      Parameters:
      shape - - shape which has connection
      type - - type of connection as defined in ConnectorNode
      shape - - shape with which connection has occurred- null if no shape has been found/ connection has been broken.