diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2021-08-23 17:09:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 17:09:01 +0300 |
commit | 4f6f3ae3e20cefb65afad923b7078fdeaf12d829 (patch) | |
tree | 2d0a6e5e0077dc6fe879706786a34ffe6b891955 /shared | |
parent | 0423bb910da10bd98ef61bb3d94069153e49f3a1 (diff) | |
download | vaadin-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.java | 11 |
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; } |