Interface ICommentableFigure

    • Method Detail

      • setComment

        void setComment​(EntityCommentFigure comment)
        Sets comment and adds it to the diagram. If figure already has comment, removes it and sets new one.
        Parameters:
        comment - - comment to set. Can't be null.
      • removeComment

        void removeComment()
        Removes comment.
      • getCommentFigure

        EntityCommentFigure getCommentFigure()
        Returns comment. Returns null if figure has no comment.
        Returns:
        comment. Can return null.