NodeCreatedListener.java 453 B

1234567891011121314151617181920
  1. package de.tu_darmstadt.informatik.tk.scopviz.graphs;
  2. /**
  3. * Interface for Listeners on new Nodes being created.
  4. *
  5. * @author Jascha Bohne
  6. * @version 1.0
  7. */
  8. public interface NodeCreatedListener {
  9. /**
  10. * Should be called whenever a new Node was created.
  11. *
  12. * @param n
  13. * the newly created Node
  14. * @param graphID
  15. * the Id of the Graph the Node was added to.
  16. */
  17. public void nodeCreated(MyNode n, String graphID);
  18. }