diff options
author | Artur Signell <artur.signell@itmill.com> | 2010-10-05 09:27:23 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2010-10-05 09:27:23 +0000 |
commit | f384748d47656ce76d1fde30f8c0d6f07fd3f91b (patch) | |
tree | f686772ac2ea6c993927f12d320af4ab2f8bca7a /src/com/vaadin/ui/AlignmentUtils.java | |
parent | ef26a2bca16a26aed6df2f8bab37b3afc86d52cb (diff) | |
download | vaadin-framework-f384748d47656ce76d1fde30f8c0d6f07fd3f91b.tar.gz vaadin-framework-f384748d47656ce76d1fde30f8c0d6f07fd3f91b.zip |
Fix for #5735 - Deprecate AlignmentUtils and methods that uses it
svn changeset:15406/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/ui/AlignmentUtils.java')
-rw-r--r-- | src/com/vaadin/ui/AlignmentUtils.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/AlignmentUtils.java b/src/com/vaadin/ui/AlignmentUtils.java index 470c093784..72c7b9e2de 100644 --- a/src/com/vaadin/ui/AlignmentUtils.java +++ b/src/com/vaadin/ui/AlignmentUtils.java @@ -26,13 +26,16 @@ import com.vaadin.ui.Layout.AlignmentHandler; * * r,right for right alignment * + * @deprecated {@code AlignmentUtils} has been replaced by {@link Alignment}. */ -@SuppressWarnings("serial") +@SuppressWarnings({ "serial" }) +@Deprecated public class AlignmentUtils implements Serializable { private static int horizontalMask = AlignmentHandler.ALIGNMENT_LEFT | AlignmentHandler.ALIGNMENT_HORIZONTAL_CENTER | AlignmentHandler.ALIGNMENT_RIGHT; + private static int verticalMask = AlignmentHandler.ALIGNMENT_TOP | AlignmentHandler.ALIGNMENT_VERTICAL_CENTER | AlignmentHandler.ALIGNMENT_BOTTOM; |