diff options
author | Artur Signell <artur@vaadin.com> | 2014-12-15 22:48:50 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-12-15 23:18:58 +0200 |
commit | ea1d229c70fa2e9edc63b234c483c36ee6114a29 (patch) | |
tree | b6ca1636f23acf8c6275627a24fe4477be550016 /server/src/com/vaadin/ui/Panel.java | |
parent | bac6b9599bce821d3cb554aa4ccb729e956493ee (diff) | |
download | vaadin-framework-ea1d229c70fa2e9edc63b234c483c36ee6114a29.tar.gz vaadin-framework-ea1d229c70fa2e9edc63b234c483c36ee6114a29.zip |
Handle tab indexes in a generic way (#7749)
Change-Id: I6e449ed7fd0acaf683da98ae3fcf55ff544c3b48
Diffstat (limited to 'server/src/com/vaadin/ui/Panel.java')
-rw-r--r-- | server/src/com/vaadin/ui/Panel.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/server/src/com/vaadin/ui/Panel.java b/server/src/com/vaadin/ui/Panel.java index 0c2a3f580b..6458d5f57d 100644 --- a/server/src/com/vaadin/ui/Panel.java +++ b/server/src/com/vaadin/ui/Panel.java @@ -34,7 +34,6 @@ import com.vaadin.shared.MouseEventDetails; import com.vaadin.shared.ui.panel.PanelServerRpc; import com.vaadin.shared.ui.panel.PanelState; import com.vaadin.ui.Component.Focusable; -import com.vaadin.ui.declarative.DesignAttributeHandler; import com.vaadin.ui.declarative.DesignContext; /** @@ -347,17 +346,11 @@ public class Panel extends AbstractSingleComponentContainer implements @Override public void readDesign(Element design, DesignContext designContext) { super.readDesign(design, designContext); - // handle tabindex - int tabIndex = DesignAttributeHandler.readAttribute("tabindex", - design.attributes(), Integer.class); - setTabIndex(tabIndex); } @Override protected Collection<String> getCustomAttributes() { Collection<String> attributes = super.getCustomAttributes(); - attributes.add("tabindex"); - attributes.add("tab-index"); return attributes; } @@ -366,8 +359,6 @@ public class Panel extends AbstractSingleComponentContainer implements super.writeDesign(design, designContext); // handle tabindex Panel def = (Panel) designContext.getDefaultInstance(this); - DesignAttributeHandler.writeAttribute("tabindex", design.attributes(), - getTabIndex(), def.getTabIndex(), Integer.class); } } |