Comment
Genel Bakış
Comment Java için FOSS’de bir sınıf. Mirasçılar: IComment.
Bir sunum slaytında bir yorum.
Bu sınıf, Java programlarında Comment nesnelerle çalışmak için 10 yöntem sunar. Kullanılabilir yöntemler şunlardır: Comment, getAuthor, getCreatedTime, getParentComment, getPosition, getSlide, getText, remove, setParentComment, setText. Tüm kamu üyeleri, Java için FOSS paketini yükledikten sonra herhangi bir Java uygulamasına erişilebilir. Özellikleri: author, createdTime, parentComment, position, slide, text.
Özellikler
| Adı: | Tip: | Access | Açıklama: |
|---|---|---|---|
text | String | Oku . | Metni alır. |
author | ICommentAuthor | Oku . | Yazarı alır. |
slide | ISlide | Oku . | Slaytı alır. |
position | PointF | Oku . | Konumu alır. |
createdTime | LocalDateTime | Oku . | Oluşturulma zamanını alır. |
parentComment | Optional<IComment> | Oku . | Üst yorumu alır. |
Yöntemler
| Signature | Açıklama: |
|---|---|
Comment(text: String, author: ICommentAuthor, slide: ISlide, position: PointF, createdTime: LocalDateTime) | Yeni bir yorum oluşturur. |
getText() → String | Mesajı gönderir. |
setText(value: String) | Metin değerini ayarlar. |
getAuthor() → ICommentAuthor | Yazarı gönderir. |
getSlide() → ISlide | Çizgiyi geri gönderir. |
getPosition() → PointF | Konumu geri verir. |
getCreatedTime() → LocalDateTime | Yaratılmış zamanı geri gönderir. |
getParentComment() → Optional<IComment> | Ana baba yorumunu gönderir. |
setParentComment(parent: IComment) | Üst yorum değerini ayarlar. |
remove() | Yorumları slaytlarından ve herhangi bir yorum hiyerarşisini silinmesi . |