]> source.dussan.org Git - vaadin-framework.git/commitdiff
Add javadoc and @since for new API
authorelmot <elmot@vaadin.com>
Fri, 15 Apr 2016 08:25:33 +0000 (11:25 +0300)
committerIlia Motornyi <elmot@vaadin.com>
Fri, 15 Apr 2016 11:15:48 +0000 (11:15 +0000)
Change-Id: I5c6be2ae0fdaff8b6b6169d6a1110ae824472532
(cherry picked from commit 97741f4545e5f246e7b1af01270abc832b9cf3ab)

server/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java
shared/src/com/vaadin/shared/ui/MarginInfo.java

index 255f34d93653c8110b7685a633829ac8cdab1d10..45bd3751d35b83e1e3a137995efe13210d98dfd8 100644 (file)
@@ -506,6 +506,8 @@ public class ClassPathExplorer {
      * directory (not a JAR file etc.) on the classpath.
      * 
      * TODO this could be done better...
+     *
+     * @since 7.6.5
      * 
      * @param widgetsetFileName
      *            relative path for the widgetset
index 92f79560155159cd673bdb33618c6c1bc95becfa..c66d1f0a11d22785515b487c02565cfd6b5d3cf7 100644 (file)
@@ -71,6 +71,16 @@ public class MarginInfo implements Serializable {
         doSetMargins(top, right, bottom, left);
     }
 
+    /**
+     * Creates a MarginInfo object by having horizontal and vertical margins specified (analogous to CSS).
+     *
+     * @since 7.6.5
+     *
+     * @param vertical
+     *            enable or disable top and bottom margins
+     * @param horizontal
+     *            enable or disable left and right margins
+     */
     public MarginInfo(boolean vertical, boolean horizontal) {
         this(vertical, horizontal, vertical, horizontal);
     }