Interface JDrawEditorListener

All Known Implementing Classes:
JDLibraryViewer, JDrawEditorFrame, JDrawEditorPanel

public interface JDrawEditorListener
An interface to handle interaction between the editor and the main program.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the clipboard change , after a copy/cut
    void
    Called when the user end the creation mode
    void
    Called when the selection change
    void
    Called when the size of the editor change, usualy after a zoom or a load.
    void
    Called when the drawing currently edited change, also called after laoding a file.
  • Method Details

    • creationDone

      void creationDone()
      Called when the user end the creation mode
    • selectionChanged

      void selectionChanged()
      Called when the selection change
    • valueChanged

      void valueChanged()
      Called when the drawing currently edited change, also called after laoding a file.
    • clipboardChanged

      void clipboardChanged()
      Called when the clipboard change , after a copy/cut
    • sizeChanged

      void sizeChanged()
      Called when the size of the editor change, usualy after a zoom or a load. Note: If the editor is within a JScrollPane, a called to revalidate on this ScrollPane is needed.