Class PropertyTreeColumn<T extends TreeModel & Serializable,​I extends TreeNode & Serializable,​P,​S>

    • Constructor Detail

      • PropertyTreeColumn

        public PropertyTreeColumn​(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
      • PropertyTreeColumn

        public PropertyTreeColumn​(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
      • PropertyTreeColumn

        public PropertyTreeColumn​(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
      • PropertyTreeColumn

        public PropertyTreeColumn​(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