|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.richfaces.renderkit.html.TableMenuRenderer
org.richfaces.renderkit.html.RichTableMenuRenderer
public class RichTableMenuRenderer
Renderer class for table menu.
Field Summary |
---|
Fields inherited from class org.richfaces.renderkit.html.TableMenuRenderer |
---|
CHANGE_COL_VISIBILITY, changeColumnVisibilityFunction, column, context, groupFunction, onAjaxCompleteFunction, prepareFunction, resourceBuilder, sortFunction, table |
Constructor Summary | |
---|---|
RichTableMenuRenderer()
|
Method Summary | |
---|---|
protected void |
buildGroupMenuItem(javax.faces.component.UIComponent parent)
Builds menu item for sorting. |
protected void |
buildMenu()
Builds menu for current column. |
protected java.lang.String |
buildMenuId()
Builds menu id base on column for which menu is built. |
protected void |
buildMenuItem(javax.faces.component.UIComponent parent,
UIColumn col)
Builds menu items for changing column visibility. |
protected void |
buildSortMenuItem(javax.faces.component.UIComponent parent,
boolean asc)
Builds menu item for sorting. |
protected void |
createMenu()
Creates menu and ands it to table as child. |
org.ajax4jsf.javascript.JSFunctionDefinition |
createShowMenuEventFunction()
Creates JavaScript code to be executed in order to show menu on some event. |
protected void |
ensureMenuBuilt()
|
java.lang.String |
render()
Renders table menu. |
Methods inherited from class org.richfaces.renderkit.html.TableMenuRenderer |
---|
renderMenu, setChangeColumnVisibilityFunction, setGroupFunction, setOnAjaxCompleteFunction, setPrepareFunction, setSortFunction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RichTableMenuRenderer()
Method Detail |
---|
public java.lang.String render() throws java.io.IOException
TableMenuRenderer
render
in class TableMenuRenderer
java.io.IOException
protected void ensureMenuBuilt() throws java.io.IOException
java.io.IOException
protected java.lang.String buildMenuId()
protected void createMenu() throws java.io.IOException
java.io.IOException
protected void buildMenu() throws java.io.IOException
java.io.IOException
protected void buildSortMenuItem(javax.faces.component.UIComponent parent, boolean asc) throws java.io.IOException
parent
- parent component for created itemasc
- sort direction
java.io.IOException
protected void buildGroupMenuItem(javax.faces.component.UIComponent parent) throws java.io.IOException
parent
- parent component for created item
java.io.IOException
protected void buildMenuItem(javax.faces.component.UIComponent parent, UIColumn col) throws java.io.IOException
parent
- parent component for created itemcol
- column component correspond to created item
java.io.IOException
public org.ajax4jsf.javascript.JSFunctionDefinition createShowMenuEventFunction()
TableMenuRenderer
createShowMenuEventFunction
in class TableMenuRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |