Package com.extjs.gxt.ui.client.event

Examples of com.extjs.gxt.ui.client.event.ScrollListener


        left = new LayoutContainer();
        right = new LayoutContainer();
    }

    public void setMainModule(MainModule m) {
        m.getContainer().addScrollListener(new ScrollListener() {
            @Override
            public void widgetScrolled(ComponentEvent ce) {
                if (currentContainer != null) {
                    setPosition(currentContainer.getAbsoluteLeft(), currentContainer.getAbsoluteTop(), currentContainer.getWidth(), currentContainer.getHeight());
                    super.widgetScrolled(ce);
View Full Code Here


        l.setStyleAttribute("border", "2px dashed");
    }

    public void setMainModule(final MainModule m) {
        this.mainModule = m;
        m.getContainer().addScrollListener(new ScrollListener() {
            @Override
            public void widgetScrolled(ComponentEvent ce) {
                for (Map.Entry<Module, Box> boxEntry : boxes.entrySet()) {
                    LayoutContainer ctn = boxEntry.getKey().getContainer();
                    boxEntry.getValue().setPosition(ctn.getAbsoluteLeft(), ctn.getAbsoluteTop(),ctn.getWidth(), ctn.getHeight());
View Full Code Here

    public InfoLayers() {
    }

    public void initWithLinker(Linker linker) {
        ((EditLinker) linker).getMainModule().getContainer().addScrollListener(new ScrollListener() {
            @Override
            public void widgetScrolled(ComponentEvent ce) {
                for (InfoLayer infoLayer : containers) {
                    if (!infoLayer.isHeader) {
                        position(infoLayer,0);
View Full Code Here

TOP

Related Classes of com.extjs.gxt.ui.client.event.ScrollListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.