Example usage for com.google.gwt.user.client.ui HasVerticalScrolling interface-usage

List of usage examples for com.google.gwt.user.client.ui HasVerticalScrolling interface-usage

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui HasVerticalScrolling interface-usage.

Usage

From source file org.cee.webreader.client.ui.VerticalScrollPanel.java

public class VerticalScrollPanel extends SimplePanel implements HasVerticalScrolling, HasScrollHandlers {

    @Override
    public int getMaximumVerticalScrollPosition() {
        Element elm = getElement();
        return elm.getScrollHeight() - elm.getClientHeight();

From source file org.cee.webreader.client.ui.WindowVerticalScroll.java

/**
 * {@link HasVerticalScrolling} implementation for the window's body element
 * @author andreasbehnke
 *
 */
public class WindowVerticalScroll implements HasVerticalScrolling {