Package casa.lepton

Interface OppNodeListener


public interface OppNodeListener
This interface is implemented by classes that listen to network changes: nodes apprearing/disappearing or moving.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    nodeAdded(String nodeId)
    A node has been added in the graph.
    void
    nodeMoved(String nodeId, casa.util.geom.CoordCar coord)
    The node location has changed
    void
    A node has been removed from the graph.
  • Method Details

    • nodeAdded

      void nodeAdded(String nodeId)
      A node has been added in the graph.
      Parameters:
      nodeId - the node id
    • nodeRemoved

      void nodeRemoved(String nodeId)
      A node has been removed from the graph.
      Parameters:
      nodeId - the node id
    • nodeMoved

      void nodeMoved(String nodeId, casa.util.geom.CoordCar coord)
      The node location has changed
      Parameters:
      nodeId - the node id
      coord - the new node location