|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table.TableUtils.RowLoop
public abstract static class TableUtils.RowLoop
implements a loop that loops through all the rows in the visible range
| Constructor Summary | |
|---|---|
TableUtils.RowLoop()
|
|
| Method Summary | |
|---|---|
protected void |
loop(javax.faces.context.FacesContext fc,
org.apache.myfaces.trinidad.component.CollectionComponent table)
selects each index in the table that is in the current range and calls processRow(javax.faces.context.FacesContext, org.apache.myfaces.trinidad.component.CollectionComponent) |
protected void |
processRow(javax.faces.context.FacesContext fc,
org.apache.myfaces.trinidad.component.CollectionComponent table)
this method sets up the 'var' variable and calls processRowImpl(javax.faces.context.FacesContext, org.apache.myfaces.trinidad.component.CollectionComponent) |
protected abstract void |
processRowImpl(javax.faces.context.FacesContext fc,
org.apache.myfaces.trinidad.component.CollectionComponent table)
this method will be called for each visible row. |
void |
run(javax.faces.context.FacesContext fc,
org.apache.myfaces.trinidad.component.CollectionComponent table)
calls #saveOldState to save any state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableUtils.RowLoop()
| Method Detail |
|---|
public final void run(javax.faces.context.FacesContext fc,
org.apache.myfaces.trinidad.component.CollectionComponent table)
throws java.io.IOException
#saveOldState to save any state. Then calls loop(javax.faces.context.FacesContext, org.apache.myfaces.trinidad.component.CollectionComponent) to
run through the loop. Finally, calls #restoreOldState to
restore any state.
fc - table -
java.io.IOException
protected void loop(javax.faces.context.FacesContext fc,
org.apache.myfaces.trinidad.component.CollectionComponent table)
throws java.io.IOException
processRow(javax.faces.context.FacesContext, org.apache.myfaces.trinidad.component.CollectionComponent)
fc - table -
java.io.IOException
protected final void processRow(javax.faces.context.FacesContext fc,
org.apache.myfaces.trinidad.component.CollectionComponent table)
throws java.io.IOException
processRowImpl(javax.faces.context.FacesContext, org.apache.myfaces.trinidad.component.CollectionComponent)
fc - table -
java.io.IOException
protected abstract void processRowImpl(javax.faces.context.FacesContext fc,
org.apache.myfaces.trinidad.component.CollectionComponent table)
throws java.io.IOException
table -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||