aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/AlignmentUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/ui/AlignmentUtils.java')
-rw-r--r--src/com/vaadin/ui/AlignmentUtils.java5
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;