summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/AbstractOrderedLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/ui/AbstractOrderedLayout.java')
-rw-r--r--src/com/vaadin/ui/AbstractOrderedLayout.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/AbstractOrderedLayout.java b/src/com/vaadin/ui/AbstractOrderedLayout.java
index 517c363dc8..73ab2e81fd 100644
--- a/src/com/vaadin/ui/AbstractOrderedLayout.java
+++ b/src/com/vaadin/ui/AbstractOrderedLayout.java
@@ -324,6 +324,18 @@ public abstract class AbstractOrderedLayout extends AbstractLayout implements
return (ratio == null) ? 0 : ratio.floatValue();
}
+ /**
+ * Sets the component alignment using a short hand string notation.
+ *
+ * @deprecated Replaced by
+ * {@link #setComponentAlignment(Component, Alignment)}
+ *
+ * @param component
+ * A child component in this layout
+ * @param alignment
+ * A short hand notation described in {@link AlignmentUtils}
+ */
+ @Deprecated
public void setComponentAlignment(Component component, String alignment) {
AlignmentUtils.setComponentAlignment(this, component, alignment);
}