wicket.extensions.markup.html.repeater.data.table
Interface IColumn

All Superinterfaces:
ICellPopulator, java.io.Serializable
All Known Subinterfaces:
IFilteredColumn
All Known Implementing Classes:
AbstractColumn, FilteredAbstractColumn, FilteredPropertyColumn

public interface IColumn
extends ICellPopulator

An inteface that represents a column in the DefaultDataTable

Author:
Igor Vaynberg ( ivaynberg )

Method Summary
 wicket.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 interface wicket.extensions.markup.html.repeater.data.grid.ICellPopulator
populateItem
 

Method Detail

getHeader

public wicket.Component getHeader(java.lang.String componentId)
Returns the component that will be used as the header for the column. This component will be contained in <span> tags.

Parameters:
componentId - component id for the returned Component
Returns:
component that will be used as the header for the column

getSortProperty

public java.lang.String getSortProperty()
Returns the name of the property that this header sorts. If null is returned the header will be unsortable.

Returns:
a string representing the sort property

isSortable

public boolean isSortable()
Returns true if this header should be a sortable header

Returns:
true if header should be sortable


Copyright © 2004-2008 Wicket developers. All Rights Reserved.