Просмотр исходного кода

Add some explanatory Javadoc

tags/7.0.0.beta1
Leif Åstrand 11 лет назад
Родитель
Сommit
ddec809e9b
1 измененных файлов: 12 добавлений и 0 удалений
  1. 12
    0
      client/src/com/vaadin/client/LayoutManagerIE8.java

+ 12
- 0
client/src/com/vaadin/client/LayoutManagerIE8.java Просмотреть файл

@@ -23,6 +23,18 @@ import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.ui.RootPanel;

/**
* Alternative MeasuredSize storage for IE8. Storing any information in a DOM
* element in IE8 seems to make the browser think the element has changed in a
* way that requires a reflow. To work around that, the MeasureData is instead
* stored in Map for IE8.
*
* This implementation is injected for IE8 by a replace-with definition in the
* GWT module.
*
* @author Vaadin Ltd
* @since 7.0.0
*/
public class LayoutManagerIE8 extends LayoutManager {

private Map<Element, MeasuredSize> measuredSizes = new HashMap<Element, MeasuredSize>();

Загрузка…
Отмена
Сохранить