org.wicketopia.model.column
Class BeanPropertyColumn<T>

java.lang.Object
  extended by org.wicketopia.model.column.BeanPropertyColumn<T>
All Implemented Interfaces:
Serializable, org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>, org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,String>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable

public class BeanPropertyColumn<T>
extends Object
implements org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,String>

Author:
James Carman
See Also:
Serialized Form

Constructor Summary
BeanPropertyColumn(PropertyComponentFactory<T> factory, String propertyName, Context context)
           
 
Method Summary
 void detach()
           
 org.apache.wicket.Component getHeader(String componentId)
           
 String getSortProperty()
           
 boolean isSortable()
           
 void populateItem(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>> cellItem, String componentId, org.apache.wicket.model.IModel<T> rowModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanPropertyColumn

public BeanPropertyColumn(PropertyComponentFactory<T> factory,
                          String propertyName,
                          Context context)
Method Detail

getSortProperty

public String getSortProperty()
Specified by:
getSortProperty in interface org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,String>

isSortable

public boolean isSortable()
Specified by:
isSortable in interface org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,String>

detach

public void detach()
Specified by:
detach in interface org.apache.wicket.model.IDetachable

getHeader

public org.apache.wicket.Component getHeader(String componentId)
Specified by:
getHeader in interface org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,String>

populateItem

public void populateItem(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>> cellItem,
                         String componentId,
                         org.apache.wicket.model.IModel<T> rowModel)
Specified by:
populateItem in interface org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>


Copyright © 2010-2013. All Rights Reserved.