-
public class PreviewThreadDataProvides sample thread data that will be used to render component previews.
-
-
Field Summary
Fields Modifier and Type Field Description private final Userparticipant1private final Userparticipant2private final Userparticipant3private final Threadthreadprivate final Threadthread2private final Threadthread3private final List<Thread>threadListpublic final static PreviewThreadDataINSTANCE
-
Method Summary
Modifier and Type Method Description final UsergetParticipant1()A participant in the thread. final UsergetParticipant2()Another participant in the thread. final UsergetParticipant3()A third participant in the thread. final ThreadgetThread()Single thread with 2 participants (1 reply). final ThreadgetThread2()Single thread with 2 participants (2 replies, one from each). final ThreadgetThread3()Single thread with 3 participants (3 replies, one from each). final List<Thread>getThreadList()List of threads. -
-
Method Detail
-
getParticipant1
final User getParticipant1()
A participant in the thread.
-
getParticipant2
final User getParticipant2()
Another participant in the thread.
-
getParticipant3
final User getParticipant3()
A third participant in the thread.
-
getThread
final Thread getThread()
Single thread with 2 participants (1 reply). With unread messages.
-
getThread2
final Thread getThread2()
Single thread with 2 participants (2 replies, one from each). No unread messages.
-
getThread3
final Thread getThread3()
Single thread with 3 participants (3 replies, one from each). No unread messages.
-
getThreadList
final List<Thread> getThreadList()
List of threads.
-
-
-
-