Interface ICommentableFigure
-
- All Known Implementing Classes:
AbstractErdFigure
,AbstractErdFigureWithBorder
,EntityFigure
,EntityGroupFigure
public interface ICommentableFigure
Instances of this class can be commented.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityCommentFigure
getCommentFigure()
Returns comment.void
removeComment()
Removes comment.void
setComment(EntityCommentFigure comment)
Sets comment and adds it to the diagram.
-
-
-
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 benull
.
-
removeComment
void removeComment()
Removes comment.
-
getCommentFigure
EntityCommentFigure getCommentFigure()
Returns comment. Returnsnull
if figure has no comment.- Returns:
- comment. Can return
null
.
-
-