org.zeroexchange.web.components.entity.column
Class EntitySelectionColumn<T extends Identifiable<K>,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.entity.column.EntitySelectionColumn<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

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

Author:
black
See Also:
Serialized Form

Constructor Summary
EntitySelectionColumn()
          Constructor.
 
Method Summary
 String getCssClass()
          
 org.apache.wicket.Component getHeader(String componentId)
          
 Set<K> getSelectedEntitiesIds()
          Returns selected ids.
 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 org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn
detach, getDisplayModel, getSortProperty, isSortable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntitySelectionColumn

public EntitySelectionColumn()
Constructor.

Method Detail

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)


getCssClass

public String getCssClass()

Specified by:
getCssClass in interface org.apache.wicket.extensions.markup.html.repeater.data.table.IStyledColumn<T extends Identifiable<K>,String>
Overrides:
getCssClass in class org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T extends Identifiable<K>,String>

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 extends Identifiable<K>,String>
Overrides:
getHeader in class org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T extends Identifiable<K>,String>

getSelectedEntitiesIds

public Set<K> getSelectedEntitiesIds()
Returns selected ids.



Copyright © 2013. All Rights Reserved.