|
||||||||||
| 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,T>
com.inmethod.grid.column.editable.DropDownChoiceColumn<M,I,T>
public class DropDownChoiceColumn<M,I,T>
Property column that uses a DropDownChoicePanel as cell component
when the item is selected.
| Constructor Summary | |
|---|---|
DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression)
Constructor. |
|
DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
IModel<? extends List<? extends T>> choices)
Constructor. |
|
DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
IModel<? extends List<? extends T>> choices,
IChoiceRenderer<T> renderer)
Constructor. |
|
DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
List<T> choices)
Constructor. |
|
DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
List<T> choices,
IChoiceRenderer<T> renderer)
Constructor. |
|
DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty)
Constructor. |
|
DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty,
IModel<? extends List<? extends T>> choices)
Constructor. |
|
DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty,
IModel<? extends List<? extends T>> choices,
IChoiceRenderer<T> renderer)
Constructor. |
|
DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty,
List<T> choices)
Constructor. |
|
DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty,
List<T> choices,
IChoiceRenderer<T> renderer)
Constructor. |
|
DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression)
Constructor. |
|
DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
IModel<? extends List<? extends T>> choices)
Constructor. |
|
DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
IModel<? extends List<? extends T>> choices,
IChoiceRenderer<T> renderer)
Constructor. |
|
DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
List<T> choices)
Constructor. |
|
DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
List<T> choices,
IChoiceRenderer<T> renderer)
Constructor. |
|
DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty)
Constructor. |
|
DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty,
IModel<? extends List<? extends T>> choices)
Constructor. |
|
DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty,
IModel<? extends List<? extends T>> choices,
IChoiceRenderer<T> renderer)
Constructor. |
|
DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty,
List<T> choices)
Constructor. |
|
DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty,
List<T> choices,
IChoiceRenderer<T> renderer)
Constructor. |
|
| Method Summary | ||
|---|---|---|
protected
|
convertToString(C obj)
|
|
protected EditableCellPanel |
newCellPanel(String componentId,
IModel<I> rowModel,
IModel<T> 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 |
|---|
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 DropDownChoiceColumn(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 DropDownChoiceColumn(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 DropDownChoiceColumn(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 DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression)
headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row object
public DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty,
IModel<? extends List<? extends T>> choices)
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 sortedchoices - The collection of choices in the drop down when the cell becomes editable
public DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
IModel<? extends List<? extends T>> choices)
columnId - column identified (must be unique within the grid)headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row
objectchoices - The collection of choices in the drop down when the cell becomes editable
public DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty,
IModel<? extends List<? extends T>> choices)
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 sortedchoices - The collection of choices in the drop down when the cell becomes editable
public DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
IModel<? extends List<? extends T>> choices)
headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row objectchoices - The collection of choices in the drop down when the cell becomes editable
public DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty,
IModel<? extends List<? extends T>> choices,
IChoiceRenderer<T> renderer)
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 sortedchoices - The collection of choices in the drop down when the cell becomes editablerenderer - The rendering engine
public DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
IModel<? extends List<? extends T>> choices,
IChoiceRenderer<T> renderer)
columnId - column identified (must be unique within the grid)headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row
objectchoices - The collection of choices in the drop down when the cell becomes editablerenderer - The rendering engine
public DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty,
IModel<? extends List<? extends T>> choices,
IChoiceRenderer<T> renderer)
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 sortedchoices - The collection of choices in the drop down when the cell becomes editablerenderer - The rendering engine
public DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
IModel<? extends List<? extends T>> choices,
IChoiceRenderer<T> renderer)
headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row objectchoices - The collection of choices in the drop down when the cell becomes editablerenderer - The rendering engine
public DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty,
List<T> choices)
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 sortedchoices - The collection of choices in the drop down when the cell becomes editable
public DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
List<T> choices)
columnId - column identified (must be unique within the grid)headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row
objectchoices - The collection of choices in the drop down when the cell becomes editable
public DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty,
List<T> choices)
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 sortedchoices - The collection of choices in the drop down when the cell becomes editable
public DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
List<T> choices)
headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row objectchoices - The collection of choices in the drop down when the cell becomes editable
public DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
String sortProperty,
List<T> choices,
IChoiceRenderer<T> renderer)
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 sortedchoices - The collection of choices in the drop down when the cell becomes editablerenderer - The renderer to use for displaying the data
public DropDownChoiceColumn(String columnId,
IModel<String> headerModel,
String propertyExpression,
List<T> choices,
IChoiceRenderer<T> renderer)
columnId - column identified (must be unique within the grid)headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row
objectchoices - The collection of choices in the drop down when the cell becomes editablerenderer - The rendering engine
public DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
String sortProperty,
List<T> choices,
IChoiceRenderer<T> renderer)
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 sortedchoices - The collection of choices in the drop down when the cell becomes editablerenderer - The renderer to use for displaying the data
public DropDownChoiceColumn(IModel<String> headerModel,
String propertyExpression,
List<T> choices,
IChoiceRenderer<T> renderer)
headerModel - model for column headerpropertyExpression - property expression used to get the displayed value for row objectchoices - The collection of choices in the drop down when the cell becomes editablerenderer - The rendering engine| Method Detail |
|---|
protected EditableCellPanel newCellPanel(String componentId,
IModel<I> rowModel,
IModel<T> cellModel)
newCellPanel in class EditablePropertyColumn<M,I,T>componentId - The non-null id of this componentrowModel - model for given rowcellModel - model for given cell
EditableCellPanel containing a FormComponentprotected <C> CharSequence convertToString(C obj)
convertToString in class PropertyColumn<M,I,T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||