com.inmethod.grid.column
Class PageLinkColumn<M,I,S>

java.lang.Object
  extended by com.inmethod.grid.column.AbstractColumn<M,I,S>
      extended by com.inmethod.grid.column.LinkColumn<M,I,S>
          extended by com.inmethod.grid.column.PageLinkColumn<M,I,S>
All Implemented Interfaces:
IGridColumn<M,I,S>, Serializable, IDetachable, IClusterable

public class PageLinkColumn<M,I,S>
extends LinkColumn<M,I,S>

Displays a Link in the DataGrid to an Internal Wicket Page

Author:
Tom Burton
See Also:
Serialized Form

Constructor Summary
PageLinkColumn(String columnId, String propertyLabel, IModel<String> headerModel, PageReference page)
           
PageLinkColumn(String columnId, String propertyLabel, IModel<String> headerModel, S sortProperty, PageReference page)
           
 
Method Summary
 void onClick(IModel<I> rowModel)
          Called when a link is clicked.
 
Methods inherited from class com.inmethod.grid.column.LinkColumn
getPropertyLabel, newCell, newCell, setPropertyLabel
 
Methods inherited from class com.inmethod.grid.column.AbstractColumn
cellClicked, detach, getCellCssClass, getColSpan, getGrid, getHeaderCssClass, getHeaderModel, getHeaderTooltipModel, getId, getInitialSize, getMaxSize, getMinSize, getSizeUnit, getSortProperty, getWrapText, isLightWeight, isReorderable, isResizable, newHeader, setGrid, setHeaderTooltipModel, setInitialSize, setMaxSize, setMinSize, setReorderable, setResizable, setSizeUnit, setWrapText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageLinkColumn

public PageLinkColumn(String columnId,
                      String propertyLabel,
                      IModel<String> headerModel,
                      PageReference page)

PageLinkColumn

public PageLinkColumn(String columnId,
                      String propertyLabel,
                      IModel<String> headerModel,
                      S sortProperty,
                      PageReference page)
Method Detail

onClick

public void onClick(IModel<I> rowModel)
Description copied from class: LinkColumn
Called when a link is clicked.

Specified by:
onClick in class LinkColumn<M,I,S>
Parameters:
rowModel - Model Object for the DataGridRow being passed to the link
See Also:
Link.onClick()


Copyright © 2007–2014 inMethod s.r.o.. All rights reserved.