aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/shared/ui/TabIndexState.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-07-27 14:36:23 +0300
committerLeif Åstrand <leif@vaadin.com>2012-07-27 14:38:15 +0300
commit7f75d0f4cfd93d30bd5209a7fe02c819ee6ac614 (patch)
tree32dca6d9bfdef899aee0e64f78b4ef8802595f8f /src/com/vaadin/shared/ui/TabIndexState.java
parent01c312a4a7b457bfb89c19e804d403537974026f (diff)
downloadvaadin-framework-7f75d0f4cfd93d30bd5209a7fe02c819ee6ac614.tar.gz
vaadin-framework-7f75d0f4cfd93d30bd5209a7fe02c819ee6ac614.zip
Move classes common to client and server to com.vaadin.shared.* (#8934)
Diffstat (limited to 'src/com/vaadin/shared/ui/TabIndexState.java')
-rw-r--r--src/com/vaadin/shared/ui/TabIndexState.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/com/vaadin/shared/ui/TabIndexState.java b/src/com/vaadin/shared/ui/TabIndexState.java
new file mode 100644
index 0000000000..774c9b33a0
--- /dev/null
+++ b/src/com/vaadin/shared/ui/TabIndexState.java
@@ -0,0 +1,29 @@
+/*
+@VaadinApache2LicenseForJavaFiles@
+ */
+package com.vaadin.shared.ui;
+
+/**
+ * Interface implemented by state classes that support tab indexes.
+ *
+ * @author Vaadin Ltd
+ * @version @VERSION@
+ * @since 7.0.0
+ *
+ */
+public interface TabIndexState {
+ /**
+ * Gets the <i>tabulator index</i> of the field.
+ *
+ * @return the tab index for the Field
+ */
+ public int getTabIndex();
+
+ /**
+ * Sets the <i>tabulator index</i> of the field.
+ *
+ * @param tabIndex
+ * the tab index to set
+ */
+ public void setTabIndex(int tabIndex);
+}