Class DropDownChoiceColumn<M,​I,​T,​S>

    • Constructor Detail

      • DropDownChoiceColumn

        public DropDownChoiceColumn​(String columnId,
                                    IModel<String> headerModel,
                                    String propertyExpression,
                                    S sortProperty)
        Constructor.
        Parameters:
        columnId - column identified (must be unique within the grid)
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        sortProperty - optional string that will be returned by ISortState to indicate that the column is being sorted
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(String columnId,
                                    IModel<String> headerModel,
                                    String propertyExpression)
        Constructor.
        Parameters:
        columnId - column identified (must be unique within the grid)
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(IModel<String> headerModel,
                                    String propertyExpression,
                                    S sortProperty)
        Constructor. The column id is omitted in this constructor, because the property expression is used as column id.
        Parameters:
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        sortProperty - optional string that will be returned by ISortState to indicate that the column is being sorted
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(IModel<String> headerModel,
                                    String propertyExpression)
        Constructor. The column id is omitted in this constructor, because the property expression is used as column id.
        Parameters:
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(String columnId,
                                    IModel<String> headerModel,
                                    String propertyExpression,
                                    S sortProperty,
                                    IModel<? extends List<? extends T>> choices)
        Constructor.
        Parameters:
        columnId - column identified (must be unique within the grid)
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        sortProperty - optional string that will be returned by ISortState to indicate that the column is being sorted
        choices - The collection of choices in the drop down when the cell becomes editable
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(String columnId,
                                    IModel<String> headerModel,
                                    String propertyExpression,
                                    IModel<? extends List<? extends T>> choices)
        Constructor.
        Parameters:
        columnId - column identified (must be unique within the grid)
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        choices - The collection of choices in the drop down when the cell becomes editable
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(IModel<String> headerModel,
                                    String propertyExpression,
                                    S sortProperty,
                                    IModel<? extends List<? extends T>> choices)
        Constructor. The column id is omitted in this constructor, because the property expression is used as column id.
        Parameters:
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        sortProperty - optional string that will be returned by ISortState to indicate that the column is being sorted
        choices - The collection of choices in the drop down when the cell becomes editable
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(IModel<String> headerModel,
                                    String propertyExpression,
                                    IModel<? extends List<? extends T>> choices)
        Constructor. The column id is omitted in this constructor, because the property expression is used as column id.
        Parameters:
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        choices - The collection of choices in the drop down when the cell becomes editable
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(String columnId,
                                    IModel<String> headerModel,
                                    String propertyExpression,
                                    S sortProperty,
                                    IModel<? extends List<? extends T>> choices,
                                    IChoiceRenderer<T> renderer)
        Constructor.
        Parameters:
        columnId - column identified (must be unique within the grid)
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        sortProperty - optional string that will be returned by ISortState to indicate that the column is being sorted
        choices - The collection of choices in the drop down when the cell becomes editable
        renderer - The rendering engine
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(String columnId,
                                    IModel<String> headerModel,
                                    String propertyExpression,
                                    IModel<? extends List<? extends T>> choices,
                                    IChoiceRenderer<T> renderer)
        Constructor.
        Parameters:
        columnId - column identified (must be unique within the grid)
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        choices - The collection of choices in the drop down when the cell becomes editable
        renderer - The rendering engine
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(IModel<String> headerModel,
                                    String propertyExpression,
                                    S sortProperty,
                                    IModel<? extends List<? extends T>> choices,
                                    IChoiceRenderer<T> renderer)
        Constructor. The column id is omitted in this constructor, because the property expression is used as column id.
        Parameters:
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        sortProperty - optional string that will be returned by ISortState to indicate that the column is being sorted
        choices - The collection of choices in the drop down when the cell becomes editable
        renderer - The rendering engine
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(IModel<String> headerModel,
                                    String propertyExpression,
                                    IModel<? extends List<? extends T>> choices,
                                    IChoiceRenderer<T> renderer)
        Constructor. The column id is omitted in this constructor, because the property expression is used as column id.
        Parameters:
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        choices - The collection of choices in the drop down when the cell becomes editable
        renderer - The rendering engine
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(String columnId,
                                    IModel<String> headerModel,
                                    String propertyExpression,
                                    S sortProperty,
                                    List<T> choices)
        Constructor.
        Parameters:
        columnId - column identified (must be unique within the grid)
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        sortProperty - optional string that will be returned by ISortState to indicate that the column is being sorted
        choices - The collection of choices in the drop down when the cell becomes editable
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(String columnId,
                                    IModel<String> headerModel,
                                    String propertyExpression,
                                    List<T> choices)
        Constructor.
        Parameters:
        columnId - column identified (must be unique within the grid)
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        choices - The collection of choices in the drop down when the cell becomes editable
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(IModel<String> headerModel,
                                    String propertyExpression,
                                    S sortProperty,
                                    List<T> choices)
        Constructor. The column id is omitted in this constructor, because the property expression is used as column id.
        Parameters:
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        sortProperty - optional string that will be returned by ISortState to indicate that the column is being sorted
        choices - The collection of choices in the drop down when the cell becomes editable
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(IModel<String> headerModel,
                                    String propertyExpression,
                                    List<T> choices)
        Constructor. The column id is omitted in this constructor, because the property expression is used as column id.
        Parameters:
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        choices - The collection of choices in the drop down when the cell becomes editable
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(String columnId,
                                    IModel<String> headerModel,
                                    String propertyExpression,
                                    S sortProperty,
                                    List<T> choices,
                                    IChoiceRenderer<T> renderer)
        Constructor.
        Parameters:
        columnId - column identified (must be unique within the grid)
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        sortProperty - optional string that will be returned by ISortState to indicate that the column is being sorted
        choices - The collection of choices in the drop down when the cell becomes editable
        renderer - The renderer to use for displaying the data
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(String columnId,
                                    IModel<String> headerModel,
                                    String propertyExpression,
                                    List<T> choices,
                                    IChoiceRenderer<T> renderer)
        Constructor.
        Parameters:
        columnId - column identified (must be unique within the grid)
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        choices - The collection of choices in the drop down when the cell becomes editable
        renderer - The rendering engine
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(IModel<String> headerModel,
                                    String propertyExpression,
                                    S sortProperty,
                                    List<T> choices,
                                    IChoiceRenderer<T> renderer)
        Constructor. The column id is omitted in this constructor, because the property expression is used as column id.
        Parameters:
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        sortProperty - optional string that will be returned by ISortState to indicate that the column is being sorted
        choices - The collection of choices in the drop down when the cell becomes editable
        renderer - The renderer to use for displaying the data
      • DropDownChoiceColumn

        public DropDownChoiceColumn​(IModel<String> headerModel,
                                    String propertyExpression,
                                    List<T> choices,
                                    IChoiceRenderer<T> renderer)
        Constructor. The column id is omitted in this constructor, because the property expression is used as column id.
        Parameters:
        headerModel - model for column header
        propertyExpression - property expression used to get the displayed value for row object
        choices - The collection of choices in the drop down when the cell becomes editable
        renderer - The rendering engine