public class

PopupImplMozilla

extends PopupImpl
java.lang.Object
   ↳ com.google.gwt.user.client.ui.impl.PopupImpl
     ↳ com.google.gwt.user.client.ui.impl.PopupImplMozilla

Class Overview

Implementation class used by PopupPanel. This implementation is identical to the implementation provided by PopupImpl in the case where Mozilla is NOT running on the Mac.

A different implemention is provided for the Mac in order to prevent scrollbars underneath the PopupPanel from being rendered on top of the PopupPanel (issue #410). Unfortunately, the solution that fixes this problem for the Mac causes a problem with dragging a DialogBox on Linux. While dragging the DialogBox (especially diagonally), it jitters significantly.

We did not introduce a deferred binding rule for Mozilla on the Mac because this is the first instance in which we have a Mozilla-related bug fix which does not work on all platforms.

This implementation can be simplified in the event that the jittering problem on Linux is fixed, or the scrollbar rendering problem on the Mac is fixed.

Summary

Public Constructors
PopupImplMozilla()
Public Methods
Element createElement()
Element getContainerElement(Element outerElem)
Element getStyleElement(Element outerElem)
void setClip(Element popup, String rect)
[Expand]
Inherited Methods
From class com.google.gwt.user.client.ui.impl.PopupImpl
From class java.lang.Object

Public Constructors

public PopupImplMozilla ()

Public Methods

public Element createElement ()

public Element getContainerElement (Element outerElem)

public Element getStyleElement (Element outerElem)

public void setClip (Element popup, String rect)

Parameters
popup the popup
rect the clip rect