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 TypeMethodDescriptionvoidCalled when the clipboard change , after a copy/cutvoidCalled when the user end the creation modevoidCalled when the selection changevoidCalled when the size of the editor change, usualy after a zoom or a load.voidCalled 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.
-