Example usage for com.google.gwt.gen2.logging.handler.client PopupLogHandler setPopupPosition

List of usage examples for com.google.gwt.gen2.logging.handler.client PopupLogHandler setPopupPosition

Introduction

In this page you can find the example usage for com.google.gwt.gen2.logging.handler.client PopupLogHandler setPopupPosition.

Prototype

public void setPopupPosition(int left, int top) 

Source Link

Document

Sets the popup's position relative to the browser's client area.

Usage

From source file:com.google.gwt.gen2.demo.logging.client.LoggingDemo.java

License:Apache License

private <Handler extends Widget & LogHandler> PopupLogHandler asPopup(Handler handler) {
    PopupLogHandler popup = new PopupLogHandler(handler);
    popup.setPopupPosition(popupLeft, popupTop);
    popupLeft += 100;//w  w w  .  j av a  2s.  c o  m
    return popup;
}