Class AbstractExportableColumn<T,​S>

    • Constructor Detail

      • AbstractExportableColumn

        public AbstractExportableColumn​(org.apache.wicket.model.IModel<String> displayModel)
        Creates a new AbstractExportableColumn with the provided display model, and without a sort property.
        Parameters:
        displayModel - The IModel of the text to be used in the column header.
      • AbstractExportableColumn

        public AbstractExportableColumn​(org.apache.wicket.model.IModel<String> displayModel,
                                        S sortProperty)
        Creates a new AbstractExportableColumn with the provided display model, and sort property.
        Parameters:
        displayModel - The IModel of the text to be used in the column header.
        sortProperty - The sort property used by this column.
    • Method Detail

      • createDisplayComponent

        protected org.apache.wicket.Component createDisplayComponent​(String componentId,
                                                                     org.apache.wicket.model.IModel<?> dataModel)
        Creates a Component which will be used to display the content of the column in this row. The default implementation simply creates a label with the data model provided.
        Parameters:
        componentId - The component id of the display component.
        dataModel - The model of the data for this column in the row. This should usually be passed as the model of the display component.
        Returns:
        a Component which will be used to display the content of the column in this row.