public static class ForumsBean.TopicBubbleViewRenderer extends java.lang.Object implements IRichListRenderer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VIEWMODEID |
| Constructor and Description |
|---|
ForumsBean.TopicBubbleViewRenderer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getViewModeID()
Return the unique view mode identifier that this renderer is responsible for.
|
static void |
renderBubbleBottom(java.io.Writer out,
java.lang.String contextPath,
java.lang.String colour)
Renders the bottom part of the bubble i.e.
|
static void |
renderBubbleMiddle(java.io.Writer out,
java.lang.String contextPath,
java.lang.String colour)
Renders the middle part of the bubble i.e.
|
static void |
renderBubbleTop(java.io.Writer out,
java.lang.String contextPath,
java.lang.String colour,
java.lang.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,
java.lang.Object row)
Callback executed by the RichList component once per row of data to be rendered.
|
public static final java.lang.String VIEWMODEID
public java.lang.String getViewModeID()
IRichListRenderergetViewModeID in interface IRichListRendererpublic void renderListBefore(javax.faces.context.FacesContext context,
UIRichList richList,
UIColumn[] columns)
throws java.io.IOException
IRichListRendererrenderListBefore in interface IRichListRenderercontext - FacesContextrichList - The parent RichList componentcolumns - Array of columns to be shownjava.io.IOExceptionpublic void renderListRow(javax.faces.context.FacesContext context,
UIRichList richList,
UIColumn[] columns,
java.lang.Object row)
throws java.io.IOException
IRichListRendererrenderListRow in interface IRichListRenderercontext - FacesContextrichList - The parent RichList componentcolumns - Array of columns to be shownrow - The data bean for the current rowjava.io.IOExceptionpublic void renderListAfter(javax.faces.context.FacesContext context,
UIRichList richList,
UIColumn[] columns)
throws java.io.IOException
IRichListRendererrenderListAfter in interface IRichListRenderercontext - FacesContextrichList - The parent RichList componentcolumns - Array of columns to be shownjava.io.IOExceptionpublic static void renderBubbleTop(java.io.Writer out,
java.lang.String contextPath,
java.lang.String colour,
java.lang.String titleBgColour)
throws java.io.IOException
out - The writer to output tocontextPath - Context path of the applicationcolour - The colour of the bubbletitleBgColour - Background colour of the header areajava.io.IOExceptionpublic static void renderBubbleMiddle(java.io.Writer out,
java.lang.String contextPath,
java.lang.String colour)
throws java.io.IOException
out - The writer to output tocontextPath - Context path of the applicationcolour - The colour of the bubblejava.io.IOExceptionpublic static void renderBubbleBottom(java.io.Writer out,
java.lang.String contextPath,
java.lang.String colour)
throws java.io.IOException
out - The writer to output tocontextPath - Context path of the applicationcolour - The colour of the bubblejava.io.IOExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.