summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/shared/ui/TabIndexState.java
diff options
context:
space:
mode:
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);
+}