Dépôt du be graphe
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DrawingChangeListener.java 670B

123456789101112131415161718192021222324
  1. package org.insa.graphs.gui;
  2. import org.insa.graphs.gui.drawing.Drawing;
  3. public interface DrawingChangeListener {
  4. /**
  5. * Event fired when a new drawing is loaded.
  6. *
  7. * @param oldDrawing Old drawing, may be null if no drawing exits prior to this
  8. * one.
  9. * @param newDrawing New drawing.
  10. */
  11. public void onDrawingLoaded(Drawing oldDrawing, Drawing newDrawing);
  12. /**
  13. * Event fired when a redraw request is emitted - This is typically emitted
  14. * after a onDrawingLoaded event, but not always, and request that elements are
  15. * drawn again on the new drawing.
  16. *
  17. */
  18. public void onRedrawRequest();
  19. }