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(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(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(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()
IRichListRenderer
getViewModeID
in interface IRichListRenderer
public void renderListBefore(FacesContext context, UIRichList richList, UIColumn[] columns) throws IOException
IRichListRenderer
renderListBefore
in interface IRichListRenderer
context
- FacesContextrichList
- The parent RichList componentcolumns
- Array of columns to be shownIOException
public void renderListRow(FacesContext context, UIRichList richList, UIColumn[] columns, Object row) throws IOException
IRichListRenderer
renderListRow
in interface IRichListRenderer
context
- FacesContextrichList
- The parent RichList componentcolumns
- Array of columns to be shownrow
- The data bean for the current rowIOException
public void renderListAfter(FacesContext context, UIRichList richList, UIColumn[] columns) throws IOException
IRichListRenderer
renderListAfter
in interface IRichListRenderer
context
- FacesContextrichList
- The parent RichList componentcolumns
- Array of columns to be shownIOException
public 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 areaIOException
public 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 bubbleIOException
public 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 bubbleIOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.