public static class ForumsBean.TopicBubbleViewRenderer extends Object implements IRichListRenderer
| Modifier and Type | Field and Description |
|---|---|
static String |
VIEWMODEID |
| Constructor and Description |
|---|
TopicBubbleViewRenderer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getViewModeID()
Return the unique view mode identifier that this renderer is responsible for.
|
static void |
renderBubbleBottom(Writer out,
String contextPath,
String colour)
Renders the bottom part of the bubble i.e.
|
static void |
renderBubbleMiddle(Writer out,
String contextPath,
String colour)
Renders the middle part of the bubble i.e.
|
static void |
renderBubbleTop(Writer out,
String contextPath,
String colour,
String titleBgColour)
Renders the top part of the bubble i.e.
|
void |
renderListAfter(javax.faces.context.FacesContext context,
UIRichList richList,
UIColumn[] columns)
Callback executed by the RichList component to render any adornments after
the main list rows are rendered.
|
void |
renderListBefore(javax.faces.context.FacesContext context,
UIRichList richList,
UIColumn[] columns)
Callback executed by the RichList component to render any adornments before
the main list rows are rendered.
|
void |
renderListRow(javax.faces.context.FacesContext context,
UIRichList richList,
UIColumn[] columns,
Object row)
Callback executed by the RichList component once per row of data to be rendered.
|
public static final String VIEWMODEID
public String getViewModeID()
IRichListRenderergetViewModeID in interface IRichListRendererpublic void renderListBefore(javax.faces.context.FacesContext context,
UIRichList richList,
UIColumn[] columns)
throws IOException
IRichListRendererrenderListBefore in interface IRichListRenderercontext - FacesContextrichList - The parent RichList componentcolumns - Array of columns to be shownIOExceptionpublic void renderListRow(javax.faces.context.FacesContext context,
UIRichList richList,
UIColumn[] columns,
Object row)
throws IOException
IRichListRendererrenderListRow in interface IRichListRenderercontext - FacesContextrichList - The parent RichList componentcolumns - Array of columns to be shownrow - The data bean for the current rowIOExceptionpublic void renderListAfter(javax.faces.context.FacesContext context,
UIRichList richList,
UIColumn[] columns)
throws IOException
IRichListRendererrenderListAfter in interface IRichListRenderercontext - FacesContextrichList - The parent RichList componentcolumns - Array of columns to be shownIOExceptionpublic static void renderBubbleTop(Writer out, String contextPath, String colour, String titleBgColour) throws IOException
out - The writer to output tocontextPath - Context path of the applicationcolour - The colour of the bubbletitleBgColour - Background colour of the header areaIOExceptionpublic static void renderBubbleMiddle(Writer out, String contextPath, String colour) throws IOException
out - The writer to output tocontextPath - Context path of the applicationcolour - The colour of the bubbleIOExceptionpublic static void renderBubbleBottom(Writer out, String contextPath, String colour) throws IOException
out - The writer to output tocontextPath - Context path of the applicationcolour - The colour of the bubbleIOExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.