Interface DrawingChangeListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onDrawingLoaded​(Drawing oldDrawing, Drawing newDrawing)
      Event fired when a new drawing is loaded.
      void onRedrawRequest()
      Event fired when a redraw request is emitted - This is typically emitted after a onDrawingLoaded event, but not always, and request that elements are drawn again on the new drawing.
    • Method Detail

      • onDrawingLoaded

        void onDrawingLoaded​(Drawing oldDrawing,
                             Drawing newDrawing)
        Event fired when a new drawing is loaded.
        Parameters:
        oldDrawing - Old drawing, may be null if no drawing exits prior to this one.
        newDrawing - New drawing.
      • onRedrawRequest

        void onRedrawRequest()
        Event fired when a redraw request is emitted - This is typically emitted after a onDrawingLoaded event, but not always, and request that elements are drawn again on the new drawing.