com.google.gwt.layout.client
Class LayoutImplIE8
java.lang.Object
com.google.gwt.layout.client.LayoutImplIE8
public class LayoutImplIE8
- extends java.lang.Object
This implementation is used on IE7 and IE8. Unlike LayoutImpl, it
converts all values to pixels before setting them. This is necessary because
these browsers incorrectly calculate the relative sizes and positions of CSS
properties specified in certain units (e.g., when the value of an 'em' is
non-integral in pixels).
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutImplIE8
public LayoutImplIE8()
layout
public void layout(Layout.Layer layer)
attachChild
public Element attachChild(Element parent,
Element child,
Element before)
fillParent
public void fillParent(Element elem)
finalizeLayout
public void finalizeLayout(Element parent)
- Parameters:
parent - the parent element
getUnitSizeInPixels
public double getUnitSizeInPixels(Element parent,
Style.Unit unit,
boolean vertical)
initParent
public void initParent(Element parent)
onAttach
public void onAttach(Element parent)
onDetach
public void onDetach(Element parent)
removeChild
public void removeChild(Element container,
Element child)