Interface SymbolDrawListener


  • @OpenApiAll
    public interface SymbolDrawListener
    This listener is used in diagrams symbols drawing. It is notified after some symbol drawing in the diagram. Listeners are registered in SymbolDrawNotification. The notification is received only if the symbol is drawn using diagram toolbar or smart symbol manipulator. If symbol is created/drawn other way the listener is not notified. Use DiagramListenerAdapter to listen for all diagram related events.
    See Also:
    SymbolDrawNotification, DiagramListenerAdapter
    • Method Detail

      • symbolAdded

        void symbolAdded​(DiagramPresentationElement diagram,
                         PresentationElement symbol,
                         java.lang.String actionID)
        Notification method. Called when symbol is drawn on diagram.
        Parameters:
        diagram - the diagram symbol added into.
        symbol - added symbol.
        actionID - id of action used for symbol adding(id of some toolbar action).