summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/Orientation.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/Orientation.java b/shared/src/main/java/com/vaadin/shared/ui/Orientation.java
index 2ec930f630..90659eddc5 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/Orientation.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/Orientation.java
@@ -15,6 +15,15 @@
*/
package com.vaadin.shared.ui;
+/**
+ * Defines orientation for widgets that can be configured either horizontally or
+ * vertically. By default used by SplitPanels.
+ *
+ * @author Vaadin Ltd
+ */
public enum Orientation {
- HORIZONTAL, VERTICAL;
+ /** Horizontal orientation required. */
+ HORIZONTAL,
+ /** Vertical orientation required. */
+ VERTICAL;
}