|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn
public abstract class AbstractColumn
A helper implementation for the IColumn interface
| Constructor Summary | |
|---|---|
AbstractColumn(IModel displayModel)
|
|
AbstractColumn(IModel displayModel,
java.lang.String sortProperty)
|
|
| Method Summary | |
|---|---|
void |
detach()
|
java.lang.String |
getCssClass()
Returns the css class for this column. |
IModel |
getDisplayModel()
|
Component |
getHeader(java.lang.String componentId)
Returns the component that will be used as the header for the column. |
java.lang.String |
getSortProperty()
Returns the name of the property that this header sorts. |
boolean |
isSortable()
Returns true if this header should be a sortable header |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator |
|---|
populateItem |
| Constructor Detail |
|---|
public AbstractColumn(IModel displayModel,
java.lang.String sortProperty)
displayModel - model used to generate header textsortProperty - sort property this column representspublic AbstractColumn(IModel displayModel)
displayModel - model used to generate header text| Method Detail |
|---|
public IModel getDisplayModel()
public java.lang.String getSortProperty()
IColumn
getSortProperty in interface IColumnIColumn.getSortProperty()public boolean isSortable()
IColumn
isSortable in interface IColumnIColumn.isSortable()public Component getHeader(java.lang.String componentId)
IColumn
getHeader in interface IColumncomponentId - component id for the returned Component
IColumn.getHeader(java.lang.String)public void detach()
detach in interface IDetachableIDetachable.detach()public java.lang.String getCssClass()
IStyledColumn
getCssClass in interface IStyledColumn
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||