com.google.gwt.user.client.ui.impl
Class PopupImplMozilla
java.lang.Object
com.google.gwt.user.client.ui.impl.PopupImpl
com.google.gwt.user.client.ui.impl.PopupImplMozilla
public class PopupImplMozilla
- extends PopupImpl
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.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PopupImplMozilla
public PopupImplMozilla()
createElement
public Element createElement()
- Overrides:
createElement in class PopupImpl
getContainerElement
public Element getContainerElement(Element outerElem)
- Overrides:
getContainerElement in class PopupImpl
getStyleElement
public Element getStyleElement(Element outerElem)
- Overrides:
getStyleElement in class PopupImpl
setClip
public void setClip(Element popup,
java.lang.String rect)
- Overrides:
setClip in class PopupImpl
- Parameters:
popup - the popuprect - the clip rect