diff options
author | Denis Anisimov <denis@vaadin.com> | 2016-09-26 13:01:26 +0300 |
---|---|---|
committer | Denis Anisimov <denis@vaadin.com> | 2016-09-27 07:50:27 +0000 |
commit | 211dd5336e47f31556f3f6f42f11b7f7a62ec887 (patch) | |
tree | eac070a60d247b468e041f00f444239ff492473f /compatibility-shared | |
parent | 057fe21b68206fd15b3fc894924dced3b368dd22 (diff) | |
download | vaadin-framework-211dd5336e47f31556f3f6f42f11b7f7a62ec887.tar.gz vaadin-framework-211dd5336e47f31556f3f6f42f11b7f7a62ec887.zip |
Revert ComboBox in compatibility packages to V7 version (#201).
Change-Id: Icbe1c6a5c0e2b10255424801cada8c11a71decb7
Diffstat (limited to 'compatibility-shared')
2 files changed, 0 insertions, 89 deletions
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxServerRpc.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxServerRpc.java deleted file mode 100644 index 69d360b956..0000000000 --- a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxServerRpc.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * 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.combobox; - -import com.vaadin.shared.communication.ServerRpc; - -/** - * Client to server RPC interface for ComboBox. - * - * @since 8.0 - */ -public interface ComboBoxServerRpc extends ServerRpc { - /** - * Create a new item in the combo box. This method can only be used when the - * ComboBox is configured to allow the creation of new items by the user. - * - * @param itemValue - * user entered string value for the new item - */ - public void createNewItem(String itemValue); - - /** - * Set the current selection. - * - * @param item - * the id of a single item or null to deselect the current value - */ - public void setSelectedItem(String item); - - /** - * Request the server to send a page of the item list. - * - * @param filter - * filter string interpreted according to the current filtering - * mode - * @param page - * zero based page number - */ - public void requestPage(String filter, int page); -} diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxState.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxState.java index b1b9a7252e..d76effc404 100644 --- a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxState.java +++ b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxState.java @@ -26,40 +26,4 @@ public class ComboBoxState extends AbstractSelectState { { primaryStyleName = "v-filterselect"; } - - /** - * If text input is not allowed, the ComboBox behaves like a pretty - * NativeSelect - the user can not enter any text and clicking the text - * field opens the drop down with options. - * - * @since 8.0 - */ - public boolean textInputAllowed = true; - - /** - * A textual prompt that is displayed when the select would otherwise be - * empty, to prompt the user for input. - * - * @since 8.0 - */ - public String inputPrompt = null; - - /** - * Number of items to show per page or 0 to disable paging. - */ - public int pageLength = 10; - - /** - * Current filtering mode (look for match of the user typed string in the - * beginning of the item caption or anywhere in the item caption). - */ - public FilteringMode filteringMode = FilteringMode.STARTSWITH; - - /** - * Suggestion pop-up's width as a CSS string. By using relative units (e.g. - * "50%") it's possible to set the popup's width relative to the ComboBox - * itself. - */ - public String suggestionPopupWidth = null; - } |