Class DefaultForumTopicComponent
java.lang.Object
io.mindspice.simplypages.components.forum.topics.DefaultForumTopicComponent
- All Implemented Interfaces:
ForumTopicComponent, Component
Default topic component implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultForumTopicComponentcreate()render(RenderContext context) Renders this component using the supplied render context.withActions(List<Component> actions) withAuthor(String author) withReplies(Integer replies) withTimestamp(String timestamp) withTitleLink(ForumTopicTitleLink titleLink) withTopicId(String id)
-
Constructor Details
-
DefaultForumTopicComponent
public DefaultForumTopicComponent()
-
-
Method Details
-
create
-
withTopicId
- Specified by:
withTopicIdin interfaceForumTopicComponent
-
withTitle
- Specified by:
withTitlein interfaceForumTopicComponent
-
withAuthor
- Specified by:
withAuthorin interfaceForumTopicComponent
-
withTitleLink
- Specified by:
withTitleLinkin interfaceForumTopicComponent
-
withTimestamp
- Specified by:
withTimestampin interfaceForumTopicComponent
-
withBody
- Specified by:
withBodyin interfaceForumTopicComponent
-
withActions
- Specified by:
withActionsin interfaceForumTopicComponent
-
withLikes
- Specified by:
withLikesin interfaceForumTopicComponent
-
withReplies
- Specified by:
withRepliesin interfaceForumTopicComponent
-
render
Description copied from interface:ComponentRenders this component using the supplied render context.
-