org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table
Class RowData

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table.RowData

public final class RowData
extends java.lang.Object

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/renderkit/core/xhtml/table/RowData.java#0 $) $Date: 10-nov-2005.19:02:36 $
Author:
The Oracle ADF Faces Team

Constructor Summary
RowData(TableRenderingContext tContext)
           
 
Method Summary
 java.lang.String getCurrentRowHeaderID()
          gets the rowHeader ID for the current row.
 int getCurrentRowSpan()
          gets the max row span for the current row.
 int getCurrentSubRow()
          gets the current sub row index for the current row.
 int getRangeIndex()
          gets the index of the current row, as an index in the currently visible range.
 int getVisibleRowCount()
           
 void incCurrentSubRow()
          increments the current sub row index by one.
 boolean isEmptyTable()
          Return true if this is a special "empty" table with no rendered data rows.
 void setCurrentRowHeaderID(java.lang.String id)
          sets the rowHeader ID for the current row.
 void setCurrentRowSpan(int rowSpan)
          sets the max row span for the current row.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowData

public RowData(TableRenderingContext tContext)
Method Detail

getRangeIndex

public int getRangeIndex()
gets the index of the current row, as an index in the currently visible range.


getVisibleRowCount

public int getVisibleRowCount()
Returns:
the number of visible table rows

isEmptyTable

public boolean isEmptyTable()
Return true if this is a special "empty" table with no rendered data rows.


setCurrentRowHeaderID

public void setCurrentRowHeaderID(java.lang.String id)
sets the rowHeader ID for the current row.


getCurrentRowHeaderID

public java.lang.String getCurrentRowHeaderID()
gets the rowHeader ID for the current row. This ID must be part of the headers attribute for each table cell on the current row.


getCurrentRowSpan

public int getCurrentRowSpan()
gets the max row span for the current row.


setCurrentRowSpan

public void setCurrentRowSpan(int rowSpan)
sets the max row span for the current row.

Parameters:
rowSpan - use -1 to reset between rows.

getCurrentSubRow

public int getCurrentSubRow()
gets the current sub row index for the current row. This is useful only if the current row has a rowSpan that is greater than one


incCurrentSubRow

public void incCurrentSubRow()
increments the current sub row index by one.



Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.