org.zeroexchange.web.components.table
Class ActionsColumn<T,K extends Serializable>

java.lang.Object
  extended by org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String>
      extended by org.zeroexchange.web.components.table.ActionsColumn<T,K>
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.extensions.markup.html.repeater.data.table.IStyledColumn<T,String>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable, ParentAware

public class ActionsColumn<T,K extends Serializable>
extends org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String>
implements ParentAware

Property column for actions column representation.

Author:
black
See Also:
Serialized Form

Constructor Summary
ActionsColumn(org.apache.wicket.model.IModel<String> displayModel, List<RowAction<T>> actions)
          Constructor.
 
Method Summary
 String getCssClass()
           
 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)
           
 void setParent(org.apache.wicket.Component tableComponent)
          Data dable injector.
 
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn
detach, getDisplayModel, getHeader, getSortProperty, isSortable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionsColumn

public ActionsColumn(org.apache.wicket.model.IModel<String> displayModel,
                     List<RowAction<T>> actions)
Constructor.

Method Detail

getCssClass

public String getCssClass()
Specified by:
getCssClass in interface org.apache.wicket.extensions.markup.html.repeater.data.table.IStyledColumn<T,String>
Overrides:
getCssClass in class org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<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>

setParent

public void setParent(org.apache.wicket.Component tableComponent)
Description copied from interface: ParentAware
Data dable injector.

Specified by:
setParent in interface ParentAware


Copyright © 2013. All Rights Reserved.