diff options
Diffstat (limited to 'shared')
15 files changed, 0 insertions, 495 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java b/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java deleted file mode 100644 index ef22967906..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java +++ /dev/null @@ -1,23 +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.shared.ui.optiongroup; - -import java.io.Serializable; - -public class OptionGroupConstants implements Serializable { - public static final String ATTRIBUTE_OPTION_DISABLED = "disabled"; - -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java b/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java deleted file mode 100644 index c754ded239..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java +++ /dev/null @@ -1,33 +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.shared.ui.optiongroup; - -import com.vaadin.shared.annotations.DelegateToWidget; -import com.vaadin.shared.ui.select.AbstractSelectState; - -/** - * Shared state for the OptionGroup component. - * - * @since 7.0 - */ -public class OptionGroupState extends AbstractSelectState { - { - primaryStyleName = "v-select-optiongroup"; - } - - @DelegateToWidget - public boolean htmlContentAllowed = false; -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java b/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java deleted file mode 100644 index 50680efc4e..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/progressindicator/ProgressIndicatorState.java +++ /dev/null @@ -1,30 +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.shared.ui.progressindicator; - -import com.vaadin.shared.annotations.NoLayout; - -@Deprecated -public class ProgressIndicatorState extends ProgressBarState { - public static final String PRIMARY_STYLE_NAME = "v-progressindicator"; - - { - primaryStyleName = PRIMARY_STYLE_NAME; - } - - @NoLayout - public int pollingInterval = 1000; -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java b/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java deleted file mode 100644 index 101fadc1a8..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java +++ /dev/null @@ -1,38 +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.shared.ui.select; - -import com.vaadin.shared.AbstractFieldState; - -/** - * Shared state for the AbstractSelect component. - * - * @since 7.6 - */ -public class AbstractSelectState extends AbstractFieldState { - - { - primaryStyleName = "v-select"; - } - - /** - * Is the select in multiselect mode? - * - * Note that Table and Tree still use the old communication mechanism for - * multi-mode support. - */ - public boolean multiSelect; -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/table/CollapseMenuContent.java b/shared/src/main/java/com/vaadin/shared/ui/table/CollapseMenuContent.java deleted file mode 100644 index e0a659a163..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/table/CollapseMenuContent.java +++ /dev/null @@ -1,40 +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.shared.ui.table; - -/** - * Defines whether only collapsible columns should be shown to the user in the - * column collapse menu. - * - * @see com.vaadin.ui.Table#setCollapseMenuContent(CollapseMenuContent) - * - * @since 7.6 - * @author Vaadin Ltd - */ -public enum CollapseMenuContent { - /** - * All columns are shown in the collapse menu. Columns that are not - * collapsible are shown as disabled in the menu. This is the default - * setting. - */ - ALL_COLUMNS, - - /** - * Only collapsible columns are shown in the collapse menu. - */ - COLLAPSIBLE_COLUMNS; -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/table/TableConstants.java b/shared/src/main/java/com/vaadin/shared/ui/table/TableConstants.java deleted file mode 100644 index f440b08f5d..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/table/TableConstants.java +++ /dev/null @@ -1,55 +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.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; - -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/table/TableServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/table/TableServerRpc.java deleted file mode 100644 index 0811669511..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/table/TableServerRpc.java +++ /dev/null @@ -1,36 +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.shared.ui.table; - -import com.vaadin.shared.MouseEventDetails; -import com.vaadin.shared.communication.ServerRpc; -import com.vaadin.shared.ui.table.TableConstants.Section; - -/** - * Client-to-server RPC interface for the Table component - * - * @since 7.6 - * @author Vaadin Ltd - */ -public interface TableServerRpc extends ServerRpc { - - /** - * Informs the server that a context click happened inside of Table - */ - public void contextClick(String rowKey, String colKey, Section section, - MouseEventDetails details); - -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/table/TableState.java b/shared/src/main/java/com/vaadin/shared/ui/table/TableState.java deleted file mode 100644 index 82a58b7f7d..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/table/TableState.java +++ /dev/null @@ -1,31 +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.shared.ui.table; - -import com.vaadin.shared.ui.select.AbstractSelectState; - -/** - * Shared state for the Table component. - * - * @since 7.0 - */ -public class TableState extends AbstractSelectState { - { - primaryStyleName = "v-table"; - } - - public CollapseMenuContent collapseMenuContent = TableConstants.DEFAULT_COLLAPSE_MENU_CONTENT; -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeConstants.java b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeConstants.java deleted file mode 100644 index 1c3902c180..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeConstants.java +++ /dev/null @@ -1,41 +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.shared.ui.tree; - -import java.io.Serializable; - -@Deprecated -public class TreeConstants implements Serializable { - - @Deprecated - public static final String ATTRIBUTE_NODE_STYLE = "style"; - @Deprecated - public static final String ATTRIBUTE_NODE_CAPTION = "caption"; - @Deprecated - public static final String ATTRIBUTE_NODE_ICON = "icon"; - @Deprecated - public static final String ATTRIBUTE_NODE_ICON_ALT = "iconalt"; - - @Deprecated - public static final String ATTRIBUTE_ACTION_CAPTION = "caption"; - @Deprecated - public static final String ATTRIBUTE_ACTION_ICON = ATTRIBUTE_NODE_ICON; - @Deprecated - public static final String ATTRIBUTE_HTML_ALLOWED = "htmlAllowed"; - - public static final String ITEM_CLICK_EVENT_ID = "itemClick"; - -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeServerRpc.java deleted file mode 100644 index 4a20366bbc..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeServerRpc.java +++ /dev/null @@ -1,34 +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.shared.ui.tree; - -import com.vaadin.shared.MouseEventDetails; -import com.vaadin.shared.communication.ServerRpc; - -/** - * Client-to-server RPC interface for the Tree component - * - * @since 7.6 - * @author Vaadin Ltd - */ -public interface TreeServerRpc extends ServerRpc { - - /** - * Informs the server that a context click happened inside of Tree - */ - public void contextClick(String rowKey, MouseEventDetails details); - -}
\ No newline at end of file diff --git a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeState.java b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeState.java deleted file mode 100644 index f7f3ce2a98..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeState.java +++ /dev/null @@ -1,29 +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.shared.ui.tree; - -import com.vaadin.shared.ui.select.AbstractSelectState; - -/** - * Shared state for the Table component. - * - * @since 7.0 - */ -public class TreeState extends AbstractSelectState { - { - primaryStyleName = "v-tree"; - } -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableConstants.java b/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableConstants.java deleted file mode 100644 index b85492469d..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableConstants.java +++ /dev/null @@ -1,25 +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.shared.ui.treetable; - -import java.io.Serializable; - -@Deprecated -public class TreeTableConstants implements Serializable { - @Deprecated - public static final String ATTRIBUTE_HIERARCHY_COLUMN_INDEX = "hci"; - -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableState.java b/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableState.java deleted file mode 100644 index 3cf834c437..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/treetable/TreeTableState.java +++ /dev/null @@ -1,24 +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.shared.ui.treetable; - -import com.vaadin.shared.ui.table.TableState; - -public class TreeTableState extends TableState { - { - primaryStyleName = "v-table"; - } -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java b/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java deleted file mode 100644 index 4d0e677e73..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectConstants.java +++ /dev/null @@ -1,27 +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.shared.ui.twincolselect; - -import java.io.Serializable; - -@Deprecated -public class TwinColSelectConstants implements Serializable { - @Deprecated - public static final String ATTRIBUTE_LEFT_CAPTION = "lc"; - @Deprecated - public static final String ATTRIBUTE_RIGHT_CAPTION = "rc"; - -} diff --git a/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectState.java b/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectState.java deleted file mode 100644 index 7a6c8e8c03..0000000000 --- a/shared/src/main/java/com/vaadin/shared/ui/twincolselect/TwinColSelectState.java +++ /dev/null @@ -1,29 +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.shared.ui.twincolselect; - -import com.vaadin.shared.ui.select.AbstractSelectState; - -/** - * Shared state for the TwinColSelect component. - * - * @since 7.0 - */ -public class TwinColSelectState extends AbstractSelectState { - { - primaryStyleName = "v-select-twincol"; - } -} |