|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.LayoutManager
com.vaadin.client.LayoutManagerIE8
public class LayoutManagerIE8
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.
| Constructor Summary | |
|---|---|
LayoutManagerIE8()
|
|
| Method Summary | |
|---|---|
protected void |
cleanMeasuredSizes()
Clean measured sizes which are no longer needed. |
protected MeasuredSize |
getMeasuredSize(Element element,
MeasuredSize defaultSize)
Gets the measured size for an element. |
protected void |
performBrowserLayoutHacks()
Called once per iteration in the layout loop before size calculations so different browsers quirks can be handled. |
protected void |
setMeasuredSize(Element element,
MeasuredSize measuredSize)
Assigns a measured size to an element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutManagerIE8()
| Method Detail |
|---|
protected void setMeasuredSize(Element element,
MeasuredSize measuredSize)
LayoutManager
setMeasuredSize in class LayoutManagerelement - the dom element to attach the measured size tomeasuredSize - the measured size to attach to the element. If
null, any previous measured size is removed.
protected MeasuredSize getMeasuredSize(Element element,
MeasuredSize defaultSize)
LayoutManager
getMeasuredSize in class LayoutManagerelement - The element to get measured size fordefaultSize - The size to return if no measured size could be found
protected void cleanMeasuredSizes()
LayoutManager
cleanMeasuredSizes in class LayoutManagerprotected void performBrowserLayoutHacks()
LayoutManager
performBrowserLayoutHacks in class LayoutManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||