Called to let you create a custom in-place editor control.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public void createEditControl ( |
An InPlaceEditEvent object providing information about the event.
This event is raised if AllowInplaceEdit is enabled and the user double-clicks an item, or when the application invokes the beginEdit method of DiagramView. If the event is not handled, or if EditControl is set to null, MindFusion.Diagramming displays a JTextArea component to allow editing the item's text. If you prefer to use the built-in JTextArea, you can still customize it by handling the enterInplaceEditMode event.
Note that if you create a custom editor control, you must transfer the values entered into it to the respective properties of the edited diagram item. You could do that in response to the destroyEditControl event.