|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.inmethod.grid.column.AbstractColumn<M,I>
com.inmethod.grid.column.AbstractLightWeightColumn<M,I>
com.inmethod.grid.column.PropertyColumn<M,I,P>
com.inmethod.grid.column.editable.EditablePropertyColumn<M,I,Boolean>
com.inmethod.grid.column.editable.CheckBoxPropertyColumn<M,I>
public class CheckBoxPropertyColumn<M,I>
Property column that uses a CheckBoxPanel as cell component
when the item is selected.
| Constructor Summary | |
|---|---|
CheckBoxPropertyColumn(IModel<String> headerModel,
String propertyExpression)
Constructor. |
|
CheckBoxPropertyColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty)
Constructor. |
|
CheckBoxPropertyColumn(String columnId,
IModel<String> headerModel,
String propertyExpression)
Constructor. |
|
CheckBoxPropertyColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty)
Constructor. |
|
| Method Summary | |
|---|---|
protected EditableCellPanel |
newCellPanel(String componentId,
IModel<I> rowModel,
IModel<Boolean> cellModel)
creates the actual editable version of the cell |
| Methods inherited from class com.inmethod.grid.column.editable.EditablePropertyColumn |
|---|
addValidators, cellClicked, getCellCssClass, getFieldModel, isClickToEdit, isLightWeight, newCell |
| Methods inherited from class com.inmethod.grid.column.PropertyColumn |
|---|
convertToString, getConverter, getLocale, getModelObject, getProperty, getPropertyExpression, isEscapeMarkup, newCell, setEscapeMarkup |
| Methods inherited from class com.inmethod.grid.column.AbstractColumn |
|---|
detach, getColSpan, getGrid, getHeaderCssClass, getHeaderModel, getHeaderTooltipModel, getId, getInitialSize, getMaxSize, getMinSize, getSizeUnit, getSortProperty, getWrapText, 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 |
|---|
public CheckBoxPropertyColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty)
columnId - column identified (must be unique within the grid)headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row objectsortProperty - optional string that will be returned by ISortState
to indicate that the column is being sorted
public CheckBoxPropertyColumn(String columnId,
IModel<String> headerModel,
String propertyExpression)
columnId - column identified (must be unique within the grid)headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row object
public CheckBoxPropertyColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty)
headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row objectsortProperty - optional string that will be returned by ISortState
to indicate that the column is being sorted
public CheckBoxPropertyColumn(IModel<String> headerModel,
String propertyExpression)
headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row object| Method Detail |
|---|
protected EditableCellPanel newCellPanel(String componentId,
IModel<I> rowModel,
IModel<Boolean> cellModel)
newCellPanel in class EditablePropertyColumn<M,I,Boolean>componentId - The non-null id of this componentrowModel - model for given rowcellModel - model for given cell
EditableCellPanel containing a FormComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||