public class

LayoutImplIE8

extends Object
java.lang.Object
   ↳ com.google.gwt.layout.client.LayoutImplIE8

Class Overview

This implementation is used on IE8. Unlike LayoutImpl, it converts all values to pixels before setting them. This is necessary because this browser incorrectly calculates 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).

Summary

Fields
protected DivElement relativeRuler
Public Constructors
LayoutImplIE8()
Public Methods
Element attachChild(Element parent, Element child, Element before)
void fillParent(Element elem)
void finalizeLayout(Element parent)
double getUnitSizeInPixels(Element parent, Style.Unit unit, boolean vertical)
void initParent(Element parent)
void layout(Layout.Layer layer)
void onAttach(Element parent)
void onDetach(Element parent)
void removeChild(Element container, Element child)
Protected Methods
static DivElement createRuler(Style.Unit widthUnit, Style.Unit heightUnit)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected DivElement relativeRuler

Public Constructors

public LayoutImplIE8 ()

Public Methods

public Element attachChild (Element parent, Element child, Element before)

public void fillParent (Element elem)

public void finalizeLayout (Element parent)

Parameters
parent the parent element

public double getUnitSizeInPixels (Element parent, Style.Unit unit, boolean vertical)

public void initParent (Element parent)

public void layout (Layout.Layer layer)

public void onAttach (Element parent)

public void onDetach (Element parent)

public void removeChild (Element container, Element child)

Protected Methods

protected static DivElement createRuler (Style.Unit widthUnit, Style.Unit heightUnit)