GWT-EXT TREE (Panel) linkage scroll bar implementation.

GWT-EXT is not found find the "scroll" Listener, directly above the Canadian

treePanel.addListener("scroll", new Function(){

                        public void execute() {
                                MessageBox.alert("test scroll");

Will not trigger the scroll of events.


treePanel.addListener(new PanelListenerAdapter() {
                        public void onRender(Component component) {
                                                new EventCallback() {
                                                        public void execute(EventObject e) {
                                                                int a[] = treePanel.getBody().getScroll();

                                                                Panel ganttPanel = UiManager.panelUIMap.get("ganttPanel");





After his Bod add Listener in order to respond to scroll events.

Linkage segment of simple, first of all for being linkage components.

Panel ganttPanel = UiManager.panelUIMap.get("ganttPanel");

The value of the current component scroll to the need for linkage of the components, do not be able to realize the linkage between the two.

分类:Web 时间:2009-02-20 人气:497
blog comments powered by Disqus


  • public void testStatementAddBatch () public void testConnCommit () 2011-09-01

    public void testStatementAddBatch() { Connection conn = null; Statement stmt = null; try { conn = getDBConnectionMsSqlBySuperAdmin(); stmt = conn.createStatement(); for(int i = 0; i < 100; i++) { String sql = " sql " + i; stmt.addBatch(sql);

  • Hibernate component (Component) map 2010-03-28

    Component (Component) map Component (component) is a contained object that is persisted as a value type, rather than a quoted entity. "Component (component)" The term refers to the synthesis of object-oriented concepts (not to architecture-level

  • Flex 3 Getting Started (20): build a custom component in MXML components to construct 2010-08-26

    In a typical application, does not capture all of the code are written to a file. This will give developers more than a project with colleagues in the development and debugging very difficult, would also hinder code reuse. Instead, use of multiple MX

  • Turn: pentaho source code analysis 2011-03-01

    Transfer: Pentaho project is divided into three parts: ü pentaho engine (which is part of the basic little after the change) ü pentaho-solution (solution, that is, depending on the needs

  • Inversion of Control and the container (1) 2010-03-29

    IoC (Inversion of control, inversion of control) is a universal design principles, while the DI (Dependency Injection, Dependency Injection) is a specific design pattern, which fully embodies the design principles of IoC is a typical IoC implementati

  • j2me under the low-level UI Style Box (multi-Palace grid) drawing method 2010-03-29

    The code is as follows, this is a project where I wrote one, and realized the next page results, there is no next page, and event handling to achieve drag and drop interface. Variable definitions: /** There are animated version of the page */ private

  • spring 2.5 annotations-driven IOC function 2010-04-30

    Note the equivalent of spring power Previous spring's bean configuration file header added: default-autowire = "byName" default-autowire = "byType" Spring through a BeanPostProcessor right @Autowired to parse, so let @Autowired work mu

  • Design patterns notes - structured 2010-03-28

    Adapter (Adapter) The interface of a class into another interface clients expect. Adapter pattern makes the original and not because of incompatible interfaces to work with those classes can work together. In "Design Patterns" book will be divid

  • jsf validator with a custom validation 2010-05-06

    jsf validation of three in the method: system default authentication, custom authentication 1 (Implementation validator interface), custom authentication 2 (entity class custom authentication method) In order to debug Hello everybody, I packed the pr

  • ZK multiple dynamic cascading drop-down menu object binding 2010-06-13

    / / Front page of the zul file ================================================== ======================================= userxml <?xml version="1.0" encoding="utf-8"?> <?page?> <?xel-method prefix="c" name=&qu

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C), All Rights Reserved. 版权所有 闽ICP备15018612号

processed in 0.062 (s). 10 q(s)