org.wicketstuff.datatable_autocomplete.table.column
Class DTARadioColumn<T>
java.lang.Object
org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T>
org.wicketstuff.datatable_autocomplete.table.column.DTARadioColumn<T>
- All Implemented Interfaces:
- Serializable, ICellPopulator<T>, IColumn<T>, IStyledColumn<T>, IClusterable, IDetachable
public class DTARadioColumn<T>
- extends AbstractColumn<T>
- Author:
- mocleiri
A radio for use where the table this column is added to is wrapped by a
RadioGroup
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTARadioColumn
public DTARadioColumn(IModel<String> displayModel)
- Parameters:
displayModel -
DTARadioColumn
public DTARadioColumn(String columnName)
- Parameters:
columnName -
populateItem
public void populateItem(Item<ICellPopulator<T>> cellItem,
String componentId,
IModel<T> rowModel)
detach
public void detach()
- Specified by:
detach in interface IDetachable- Overrides:
detach in class AbstractColumn<T>
getRadioMarkupID
public final String getRadioMarkupID(int index)
- Get the markupid for the radio representing a specific row. Used to allow row onclick actions
to trigger a radio selection DOM action.
- Parameters:
index -
- Returns:
- the markup id for the radio for the row index given.
Copyright © 2009-2013. All Rights Reserved.