public static interface

PopupPanel.PositionCallback

com.google.gwt.user.client.ui.PopupPanel.PositionCallback

Class Overview

A callback that is used to set the position of a PopupPanel right before it is shown.

Summary

Public Methods
abstract void setPosition(int offsetWidth, int offsetHeight)
Provides the opportunity to set the position of the PopupPanel right before the PopupPanel is shown.

Public Methods

public abstract void setPosition (int offsetWidth, int offsetHeight)

Provides the opportunity to set the position of the PopupPanel right before the PopupPanel is shown. The offsetWidth and offsetHeight values of the PopupPanel are made available to allow for positioning based on its size.

Parameters
offsetWidth the offsetWidth of the PopupPanel
offsetHeight the offsetHeight of the PopupPanel