public class DropDownChoiceColumn<M,I,T,S> extends EditablePropertyColumn<M,I,T,S>
DropDownChoicePanel
as cell component
when the item is selected.Constructor and Description |
---|
DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression)
Constructor.
|
DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices)
Constructor.
|
DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> renderer)
Constructor.
|
DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
List<T> choices)
Constructor.
|
DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
List<T> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> renderer)
Constructor.
|
DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
S sortProperty)
Constructor.
|
DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
S sortProperty,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices)
Constructor.
|
DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
S sortProperty,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> renderer)
Constructor.
|
DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
S sortProperty,
List<T> choices)
Constructor.
|
DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
S sortProperty,
List<T> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> renderer)
Constructor.
|
DropDownChoiceColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression)
Constructor.
|
DropDownChoiceColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices)
Constructor.
|
DropDownChoiceColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> renderer)
Constructor.
|
DropDownChoiceColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
List<T> choices)
Constructor.
|
DropDownChoiceColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
List<T> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> renderer)
Constructor.
|
DropDownChoiceColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
S sortProperty)
Constructor.
|
DropDownChoiceColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
S sortProperty,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices)
Constructor.
|
DropDownChoiceColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
S sortProperty,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> renderer)
Constructor.
|
DropDownChoiceColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
S sortProperty,
List<T> choices)
Constructor.
|
DropDownChoiceColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel,
String propertyExpression,
S sortProperty,
List<T> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> renderer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected <C> CharSequence |
convertToString(C obj) |
protected EditableCellPanel<M,I,T,S> |
newCellPanel(String componentId,
org.apache.wicket.model.IModel<I> rowModel,
org.apache.wicket.model.IModel<T> cellModel) |
addValidators, cellClicked, getCellCssClass, getFieldModel, isClickToEdit, isLightWeight, newCell
getConverter, getLocale, getModelObject, getProperty, getPropertyExpression, isEscapeMarkup, newCell, setEscapeMarkup
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
public DropDownChoiceColumn(String columnId, org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, S 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 sortedpublic DropDownChoiceColumn(String columnId, org.apache.wicket.model.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
objectpublic DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, S 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 sortedpublic DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel, String propertyExpression)
headerModel
- model for column headerpropertyExpression
- property expression used to get the displayed value for row objectpublic DropDownChoiceColumn(String columnId, org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, S sortProperty, org.apache.wicket.model.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 editablepublic DropDownChoiceColumn(String columnId, org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, org.apache.wicket.model.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 editablepublic DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, S sortProperty, org.apache.wicket.model.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 editablepublic DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, org.apache.wicket.model.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 editablepublic DropDownChoiceColumn(String columnId, org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, S sortProperty, org.apache.wicket.model.IModel<? extends List<? extends T>> choices, org.apache.wicket.markup.html.form.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 enginepublic DropDownChoiceColumn(String columnId, org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, org.apache.wicket.model.IModel<? extends List<? extends T>> choices, org.apache.wicket.markup.html.form.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 enginepublic DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, S sortProperty, org.apache.wicket.model.IModel<? extends List<? extends T>> choices, org.apache.wicket.markup.html.form.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 enginepublic DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, org.apache.wicket.model.IModel<? extends List<? extends T>> choices, org.apache.wicket.markup.html.form.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 enginepublic DropDownChoiceColumn(String columnId, org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, S 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 editablepublic DropDownChoiceColumn(String columnId, org.apache.wicket.model.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 editablepublic DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, S 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 editablepublic DropDownChoiceColumn(org.apache.wicket.model.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 editablepublic DropDownChoiceColumn(String columnId, org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, S sortProperty, List<T> choices, org.apache.wicket.markup.html.form.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 datapublic DropDownChoiceColumn(String columnId, org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, List<T> choices, org.apache.wicket.markup.html.form.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 enginepublic DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, S sortProperty, List<T> choices, org.apache.wicket.markup.html.form.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 datapublic DropDownChoiceColumn(org.apache.wicket.model.IModel<String> headerModel, String propertyExpression, List<T> choices, org.apache.wicket.markup.html.form.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 engineprotected EditableCellPanel<M,I,T,S> newCellPanel(String componentId, org.apache.wicket.model.IModel<I> rowModel, org.apache.wicket.model.IModel<T> cellModel)
newCellPanel
in class EditablePropertyColumn<M,I,T,S>
protected <C> CharSequence convertToString(C obj)
convertToString
in class PropertyColumn<M,I,T,S>
Copyright © 2015. All rights reserved.