All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.butterfaces.model.table.DefaultTableModel Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show newest version
/*
 * Copyright Lars Michaelis and Stephan Zerhusen 2016.
 * Distributed under the MIT License.
 * (See accompanying file README.md file or copy at http://opensource.org/licenses/MIT)
 */
package org.butterfaces.model.table;

/**
 * @author Lars Michaelis
 */
public class DefaultTableModel implements TableModel {

    private final TableRowSortingModel tableRowSortingModel = new DefaultTableRowSortingModel();
    private final TableColumnVisibilityModel tableColumnVisibilityModel = new DefaultTableColumnVisibilityModel();
    private final TableColumnOrderingModel tableColumnOrderingModel = new DefaultTableOrderingModel();

    @Override
    public TableRowSortingModel getTableRowSortingModel() {
        return tableRowSortingModel;
    }

    @Override
    public TableColumnVisibilityModel getTableColumnVisibilityModel() {
        return tableColumnVisibilityModel;
    }

    @Override
    public TableColumnOrderingModel getTableColumnOrderingModel() {
        return tableColumnOrderingModel;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy