summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2021-08-23 17:09:01 +0300
committerGitHub <noreply@github.com>2021-08-23 17:09:01 +0300
commit4f6f3ae3e20cefb65afad923b7078fdeaf12d829 (patch)
tree2d0a6e5e0077dc6fe879706786a34ffe6b891955 /shared
parent0423bb910da10bd98ef61bb3d94069153e49f3a1 (diff)
downloadvaadin-framework-4f6f3ae3e20cefb65afad923b7078fdeaf12d829.tar.gz
vaadin-framework-4f6f3ae3e20cefb65afad923b7078fdeaf12d829.zip
Checkstyle fixes for SplitPanel widgets. (#12378)
- Added and updated JavaDocs. - Added default cases to Switch statements. - Deprecated unused fields. - Switched to use non-deprecated calls where possible.
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;
}