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

com.web.spring.datatable.DTConstants Maven / Gradle / Ivy

package com.web.spring.datatable;

/**
 * DataTables parameters.
 */
public final class DTConstants {

    /**
     * The constant DT_DOM.
     */
    public static final String DT_DOM = "dom";
    /**
     * The constant DT_AUTO_WIDTH.
     */
    public static final String DT_AUTO_WIDTH = "autoWidth";
    /**
     * The constant DT_FILTER.
     */
    public static final String DT_FILTER = "searching";
    /**
     * The constant DT_INFO.
     */
    public static final String DT_INFO = "info";
    /**
     * The constant DT_SORT.
     */
    public static final String DT_SORT = "ordering";
    /**
     * The constant DT_PAGING.
     */
    public static final String DT_PAGING = "paging";
    /**
     * The constant DT_PAGE_LENGTH.
     */
    public static final String DT_PAGE_LENGTH = "pageLength";
    /**
     * The constant DT_PAGINGTYPE.
     */
    public static final String DT_PAGINGTYPE = "pagingType";
    /**
     * The constant DT_LENGTH_CHANGE.
     */
    public static final String DT_LENGTH_CHANGE = "lengthChange";
    /**
     * The constant DT_STATE_SAVE.
     */
    public static final String DT_STATE_SAVE = "stateSave";
    /**
     * The constant DT_A_LENGTH_MENU.
     */
    public static final String DT_A_LENGTH_MENU = "lengthMenu";
    /**
     * The constant DT_AS_STRIPE_CLASSES.
     */
    public static final String DT_AS_STRIPE_CLASSES = "stripeClasses";
    /**
     * The constant DT_S_CLASS.
     */
    public static final String DT_S_CLASS = "className";

    /**
     * The constant DT_DEFER_RENDER.
     */
// AJAX related constants
    public static final String DT_DEFER_RENDER = "deferRender";
    /**
     * The constant DT_DEFER_LOADING.
     */
    public static final String DT_DEFER_LOADING = "deferLoading";
    /**
     * The constant DT_B_PROCESSING.
     */
    public static final String DT_B_PROCESSING = "processing";
    /**
     * The constant DT_B_SERVER_SIDE.
     */
    public static final String DT_B_SERVER_SIDE = "serverSide";
    /**
     * The constant DT_S_AJAX_SOURCE.
     */
    public static final String DT_S_AJAX_SOURCE = "ajax";
    /**
     * The constant DT_S_AJAXDATAPROP.
     */
    public static final String DT_S_AJAXDATAPROP = "dataSrc";

    /**
     * The constant DT_I_DRAW.
     */
// AJAX URL parameters
    public static final String DT_I_DRAW = "draw";
    /**
     * The constant DT_I_COLUMNS.
     */
    public static final String DT_I_COLUMNS = "iColumns";
    /**
     * The constant DT_S_COLUMNS.
     */
    public static final String DT_S_COLUMNS = "sColumns";
    /**
     * The constant DT_I_START.
     */
    public static final String DT_I_START = "start";
    /**
     * The constant DT_I_LENGTH.
     */
    public static final String DT_I_LENGTH = "length";
    /**
     * The constant DT_M_DATA_PROP.
     */
    public static final String DT_M_DATA_PROP = "mDataProp_";
    /**
     * The constant DT_S_SEARCH.
     */
    public static final String DT_S_SEARCH = "search[value]";
    /**
     * The constant DT_S_COLUMN_SEARCH.
     */
    public static final String DT_S_COLUMN_SEARCH = "sSearch_";
    /**
     * The constant DT_B_REGEX.
     */
    public static final String DT_B_REGEX = "bRegex";
    /**
     * The constant DT_B_SEARCHABLE.
     */
    public static final String DT_B_SEARCHABLE = "bSearchable_";
    /**
     * The constant DT_B_SORTABLE.
     */
    public static final String DT_B_SORTABLE = "bSortable_";
    /**
     * The constant DT_I_SORT_COL.
     */
    public static final String DT_I_SORT_COL = "iSortCol_";
    /**
     * The constant DT_S_SORT_DIR.
     */
    public static final String DT_S_SORT_DIR = "sSortDir_";
    /**
     * The constant DT_I_SORTING_COLS.
     */
    public static final String DT_I_SORTING_COLS = "iSortingCols";
    /**
     * The constant DT_B_REGEX_COL.
     */
    public static final String DT_B_REGEX_COL = "bRegex_";

    /**
     * The constant DT_DS_DATA.
     */
// Advanced configuration
    public static final String DT_DS_DATA = "data";
    /**
     * The constant DT_AOCOLUMNS.
     */
    public static final String DT_AOCOLUMNS = "columns";
    /**
     * The constant DT_LANGUAGE.
     */
    public static final String DT_LANGUAGE = "language";
    /**
     * The constant DT_JQUERYUI.
     */
    public static final String DT_JQUERYUI = "jQueryUI";

    /**
     * The constant DT_SCROLLY.
     */
// Extra features
    public static final String DT_SCROLLY = "scrollY";
    /**
     * The constant DT_SCROLLX.
     */
    public static final String DT_SCROLLX = "scrollX";
    /**
     * The constant DT_SCROLLXINNER.
     */
    public static final String DT_SCROLLXINNER = "scrollXInner";
    /**
     * The constant DT_SCROLLCOLLAPSE.
     */
    public static final String DT_SCROLLCOLLAPSE = "scrollCollapse";
    /**
     * The constant DT_OFFSETTOP.
     */
    public static final String DT_OFFSETTOP = "offsetTop";
    /**
     * The constant DT_FILTER_TYPE.
     */
    public static final String DT_FILTER_TYPE = "type";
    /**
     * The constant DT_FILTER_VALUES.
     */
    public static final String DT_FILTER_VALUES = "values";
    /**
     * The constant DT_S_SELECTOR.
     */
    public static final String DT_S_SELECTOR = "sSelector";
    /**
     * The constant DT_SORT_INIT.
     */
    public static final String DT_SORT_INIT = "order";

    /**
     * The constant DT_NAME.
     */
// Column configuration
    public static final String DT_NAME = "name";
    /**
     * The constant DT_SORTABLE.
     */
    public static final String DT_SORTABLE = "orderable";
    /**
     * The constant DT_SEARCHABLE.
     */
    public static final String DT_SEARCHABLE = "searchable";
    /**
     * The constant DT_VISIBLE.
     */
    public static final String DT_VISIBLE = "visible";
    /**
     * The constant DT_SORT_DIR.
     */
    public static final String DT_SORT_DIR = "asSorting";
    /**
     * The constant DT_DATA.
     */
    public static final String DT_DATA = "data";
    /**
     * The constant DT_COLUMN_RENDERER.
     */
    public static final String DT_COLUMN_RENDERER = "render";
    /**
     * The constant DT_DEFAULT_CONTENT.
     */
    public static final String DT_DEFAULT_CONTENT = "defaultContent";
    /**
     * The constant DT_TYPE.
     */
    public static final String DT_TYPE = "type";

    /**
     * The constant DT_FN_CREATED_ROW.
     */
// Callbacks
    public static final String DT_FN_CREATED_ROW = "createdRow";
    /**
     * The constant DT_FN_DRAW_CBK.
     */
    public static final String DT_FN_DRAW_CBK = "drawCallback";
    /**
     * The constant DT_FN_FOOTER_CBK.
     */
    public static final String DT_FN_FOOTER_CBK = "footerCallback";
    /**
     * The constant DT_FN_FORMAT_NUMBER.
     */
    public static final String DT_FN_FORMAT_NUMBER = "formatNumber";
    /**
     * The constant DT_FN_HEADER_CBK.
     */
    public static final String DT_FN_HEADER_CBK = "headerCallback";
    /**
     * The constant DT_FN_INFO_CBK.
     */
    public static final String DT_FN_INFO_CBK = "infoCallback";
    /**
     * The constant DT_FN_INIT_COMPLETE.
     */
    public static final String DT_FN_INIT_COMPLETE = "initComplete";
    /**
     * The constant DT_FN_PRE_DRAW_CBK.
     */
    public static final String DT_FN_PRE_DRAW_CBK = "preDrawCallback";
    /**
     * The constant DT_FN_ROW_CBK.
     */
    public static final String DT_FN_ROW_CBK = "rowCallback";
    /**
     * The constant DT_FN_STATESAVE_CBK.
     */
    public static final String DT_FN_STATESAVE_CBK = "stateSaveCallback";
    /**
     * The constant DT_FN_STATESAVE_PARAMS_CBK.
     */
    public static final String DT_FN_STATESAVE_PARAMS_CBK = "stateSaveParams";
    /**
     * The constant DT_FN_STATELOAD_CBK.
     */
    public static final String DT_FN_STATELOAD_CBK = "stateLoadCallback";
    /**
     * The constant DT_FN_STATELOAD_PARAMS_CBK.
     */
    public static final String DT_FN_STATELOAD_PARAMS_CBK = "stateLoadParams";
    /**
     * The constant DT_FN_STATELOADED_CBK.
     */
    public static final String DT_FN_STATELOADED_CBK = "stateLoaded";

    /**
     * Suppress default constructor for noninstantiability.
     */
    private DTConstants() {
        throw new AssertionError();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy