|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.component.TableUtils
public final class TableUtils
utility methods for dealing with tables.
Method Summary | |
---|---|
static int |
getLast(CollectionComponent table)
Gets the index of the last visible row that should be displayed by the given table. |
static int |
getLast(CollectionComponent table,
int rangeStart)
Gets the index of the last visible row that should be displayed by the given table. |
static void |
processColumnFacets(FacesContext context,
UIXCollection table,
UIComponent column,
PhaseId phaseId)
Process all the facets of any children that are columns; these are generally not processed once per row. |
static void |
processFacets(FacesContext context,
UIXCollection table,
UIComponent component,
PhaseId phaseId,
String skipFacet)
Process all the facets of a component; these are generally not processed once per row. |
static void |
processStampedChildren(FacesContext context,
UIXCollection table,
PhaseId phaseId)
Process all the children of the given table |
static Object |
setupELVariable(FacesContext context,
String name,
Object value)
Sets up an EL variable on the requestScope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int getLast(CollectionComponent table)
CollectionComponent.getFirst()
added to
CollectionComponent.getRows()
minus 1, but it changes if
RowKeyIndex.getRowCount()
returns
insufficient rows.
CollectionComponent.getFirst()
- 1public static int getLast(CollectionComponent table, int rangeStart)
CollectionComponent.getRows()
minus 1, but it changes if
RowKeyIndex.getRowCount()
returns
insufficient rows.
public static Object setupELVariable(FacesContext context, String name, Object value)
name
- The name of the EL variablevalue
- The value of the EL variable
public static void processFacets(FacesContext context, UIXCollection table, UIComponent component, PhaseId phaseId, String skipFacet)
skipFacet
- the name of any facet that should not be processed
at this time.public static void processColumnFacets(FacesContext context, UIXCollection table, UIComponent column, PhaseId phaseId)
public static void processStampedChildren(FacesContext context, UIXCollection table, PhaseId phaseId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |