@SupportsInformalParameters public class AbstractTable extends Object implements org.apache.tapestry5.ClientElement
| Constructor and Description |
|---|
AbstractTable() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.tapestry5.Binding |
defaultModel()
Returns a
Binding instance that attempts to
identify the model from the source parameter (via
GridDataSource.getRowType(). |
org.apache.tapestry5.Block |
getCellBlock() |
Object |
getCellValue()
In order to get the value of a specific cell
|
String |
getClientId() |
org.apache.tapestry5.beaneditor.BeanModel |
getDataModel() |
Iterable<Integer> |
getLoopSource()
Iterator for the look component in order to loop to each rows
|
org.apache.tapestry5.beaneditor.BeanModel |
getModel() |
org.apache.tapestry5.PropertyOverrides |
getOverrides() |
List<String> |
getPropertyNames()
source of the seconf loop component, in order to loop on each cells
|
Object |
getRow() |
String |
getRowClass()
In order to get the css of a specific row
|
Integer |
getRowIndex() |
int |
getRowsPerPage() |
boolean |
getSortAscending() |
org.apache.tapestry5.grid.GridSortModel |
getSortModel() |
org.apache.tapestry5.grid.GridDataSource |
getSource() |
TableInformation |
getTableInformation() |
void |
setRow(Object row) |
void |
setRowIndex(Integer rowIndex) |
void |
setSortAscending(boolean sortAscending) |
public String getClientId()
getClientId in interface org.apache.tapestry5.ClientElementpublic int getRowsPerPage()
public org.apache.tapestry5.grid.GridSortModel getSortModel()
public boolean getSortAscending()
public void setSortAscending(boolean sortAscending)
public org.apache.tapestry5.beaneditor.BeanModel getModel()
public org.apache.tapestry5.beaneditor.BeanModel getDataModel()
public org.apache.tapestry5.grid.GridDataSource getSource()
public org.apache.tapestry5.PropertyOverrides getOverrides()
protected org.apache.tapestry5.Binding defaultModel()
Binding instance that attempts to
identify the model from the source parameter (via
GridDataSource.getRowType(). Subclasses
may override to provide a different mechanism. The returning binding is
variant (not invariant).BeanModelSource.createDisplayModel(Class,
org.apache.tapestry5.ioc.Messages)public String getRowClass()
public Object getCellValue()
public List<String> getPropertyNames()
public Iterable<Integer> getLoopSource()
public Object getRow()
public void setRow(Object row)
public Integer getRowIndex()
public void setRowIndex(Integer rowIndex)
public org.apache.tapestry5.Block getCellBlock()
public TableInformation getTableInformation()
Copyright © 2016 GOT5. All rights reserved.