* @param offsetY the pixel Y offset from which to show the popup at point of
* click
*/
public OptionsPopup(int duration, int offsetX, int offsetY) {
super(true, false);
timer = duration == -1 ? null : new PopupHideTimer(this);
this.duration = duration;
this.offsetX = offsetX;
this.offsetY = offsetY;
optionsPanel.addOptionHandler(this);
setStyleName(null);