Explorar el Código

Add javadoc and @since for new API

Change-Id: I5c6be2ae0fdaff8b6b6169d6a1110ae824472532
tags/7.6.5
elmot hace 8 años
padre
commit
97741f4545

+ 2
- 0
server/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java Ver fichero

@@ -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

+ 10
- 0
shared/src/com/vaadin/shared/ui/MarginInfo.java Ver fichero

@@ -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);
}

Cargando…
Cancelar
Guardar