树结点动态帮定事件

    this.treeNode2.setAction(getApplication().createMethodBinding("#{Page1.buttonaction}", null));
 
    public void buttonaction(){
        String s = this.getSelectedTreeNode(tree1).getId();
        this.staticText1.setText(s);
    }

 

posted @ 2017-01-06 10:56  风来风往风伤(TiAmo)  阅读(118)  评论(0编辑  收藏  举报