/* * Copyright 2000-2016 Vaadin Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ package com.vaadin.v7.shared.ui.table; import java.io.Serializable; public class TableConstants implements Serializable { /** * Enum describing different sections of Table. * * @since 7.6 */ public enum Section { HEADER, BODY, FOOTER } public static final String ITEM_CLICK_EVENT_ID = "itemClick"; public static final String HEADER_CLICK_EVENT_ID = "handleHeaderClick"; public static final String FOOTER_CLICK_EVENT_ID = "handleFooterClick"; public static final String COLUMN_RESIZE_EVENT_ID = "columnResize"; public static final String COLUMN_REORDER_EVENT_ID = "columnReorder"; public static final String COLUMN_COLLAPSE_EVENT_ID = "columnCollapse"; @Deprecated public static final String ATTRIBUTE_PAGEBUFFER_FIRST = "pb-ft"; @Deprecated public static final String ATTRIBUTE_PAGEBUFFER_LAST = "pb-l"; /** * Tell the client that old keys are no longer valid because the server has * cleared its key map. */ @Deprecated public static final String ATTRIBUTE_KEY_MAPPER_RESET = "clearKeyMap"; /** * Default value for {@link TableState#collapseMenuContent}. * * @since 7.6 */ public static final CollapseMenuContent DEFAULT_COLLAPSE_MENU_CONTENT = CollapseMenuContent.ALL_COLUMNS; }