|
||||||||||
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.TableRenderingContext
public class TableRenderingContext
Field Summary | |
---|---|
static int |
DONT_KNOW
Indicates that a row or column count is not known. |
static int |
HIDDEN_COLUMN
Constant indicating that this column is not rendered |
static int |
NORMAL_COLUMN
Constant indicating that this column is visible |
static int |
USER_INVISIBLE_COLUMN
Constant indicating that this column is a user-invisible column |
Constructor Summary | |
---|---|
TableRenderingContext(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
javax.faces.component.UIComponent component)
|
Method Summary | |
---|---|
void |
columnHeadersPresent()
indicates that this table has column headers, so the tableRenderer must render the table's columnHeader region. |
int |
getActualColumnCount()
Get the actual column count. |
BandingData |
getBanding()
|
org.apache.myfaces.trinidad.component.CollectionComponent |
getCollectionComponent()
Get the CollectionComponent |
int |
getColumnCount()
Get the count of indexed children. |
ColumnData |
getColumnData()
|
java.lang.Object |
getColumnWidth(int physicalIndex)
|
static TableRenderingContext |
getCurrentInstance()
|
javax.faces.component.UIComponent |
getDetail()
Get the detail node (hide/show) |
int |
getDetailColumnIndex()
gets the physical index of the details column |
java.lang.Object |
getHeaderNodesList()
Returns the opaque nodeList object used by column groups to store the header structure. |
int[] |
getHiddenColumns()
Get a boolean array of columns, with true representing each hidden column. |
java.lang.String |
getJSVarName()
|
RenderStage |
getRenderStage()
|
RowData |
getRowData()
|
org.apache.myfaces.trinidad.model.RowKeySet |
getSelectedRowKeys()
Gets the selection state for this table. |
java.lang.String |
getSortableHeaderBorderStyle()
|
int |
getSpecialColumnCount()
Computes the number of special columns, including selection, detail and row header. |
javax.faces.component.UIComponent |
getTable()
Get the component. |
java.lang.Object |
getTableHeight()
|
java.lang.String |
getTableId()
Get the table id |
java.lang.Object |
getTableProperty(java.lang.Object key)
gets a property that is local to this table. |
java.lang.Object |
getTableWidth()
|
boolean |
hasColumnHeaders()
|
boolean |
hasGrid(int before,
boolean vertical)
check to see if this column or row should render a grid before the row or column at the specified index. |
boolean |
hasNavigation()
|
boolean |
hasSelectAll()
Does this table have "select all/none"? |
boolean |
hasSelection()
|
void |
install()
|
boolean |
isExplicitHeaderIDMode()
In explicit header ID mode, all table data cells have a headers attribute that lists the IDs of all the headers that apply to that data cell. |
boolean |
isImmediate()
Is this table validated on navigation? |
static boolean |
isInsideContentOfTable()
|
boolean |
isRowHidden(int index)
|
void |
release()
|
void |
setDetailColumnIndex(int physicalIndex)
sets the physical index of the details column |
void |
setExplicitHeaderIDMode(boolean isEnabled)
Enables/Disables explicit header ID mode. |
void |
setHeaderNodeList(java.lang.Object nodeList)
Returns the opaque nodeList object used by column groups to store the header structure. |
void |
setRowHidden(int index)
|
java.lang.Object |
setTableProperty(java.lang.Object key,
java.lang.Object value)
sets a property that is local to this table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NORMAL_COLUMN
public static final int HIDDEN_COLUMN
public static final int USER_INVISIBLE_COLUMN
public static final int DONT_KNOW
Constructor Detail |
---|
public TableRenderingContext(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent component)
Method Detail |
---|
public static TableRenderingContext getCurrentInstance()
public void install()
public void release()
public final java.lang.String getJSVarName()
public final RenderStage getRenderStage()
public final java.lang.Object getTableWidth()
public final java.lang.Object getTableHeight()
public final void setExplicitHeaderIDMode(boolean isEnabled)
public final boolean isExplicitHeaderIDMode()
public final javax.faces.component.UIComponent getTable()
public final java.lang.String getTableId()
public final org.apache.myfaces.trinidad.component.CollectionComponent getCollectionComponent()
public org.apache.myfaces.trinidad.model.RowKeySet getSelectedRowKeys()
public final boolean isImmediate()
public final boolean hasNavigation()
public final java.lang.Object getColumnWidth(int physicalIndex)
public final boolean hasColumnHeaders()
columnHeadersPresent()
public final void columnHeadersPresent()
hasColumnHeaders()
public final void setDetailColumnIndex(int physicalIndex)
public final int getDetailColumnIndex()
public javax.faces.component.UIComponent getDetail()
public final void setRowHidden(int index)
public final boolean isRowHidden(int index)
public final boolean hasSelectAll()
public final boolean hasSelection()
public final int[] getHiddenColumns()
public int getColumnCount()
public final int getActualColumnCount()
public int getSpecialColumnCount()
public final BandingData getBanding()
public final ColumnData getColumnData()
public final RowData getRowData()
public boolean hasGrid(int before, boolean vertical)
before
- the index of the row or the physicalIndex of the columnvertical
- true for columns (vertical grids),
false for rows (horizontal grids).
public java.lang.String getSortableHeaderBorderStyle()
public java.lang.Object getHeaderNodesList()
public void setHeaderNodeList(java.lang.Object nodeList)
public static boolean isInsideContentOfTable()
public final java.lang.Object getTableProperty(java.lang.Object key)
public final java.lang.Object setTableProperty(java.lang.Object key, java.lang.Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |