Package com.emitrom.touch4j.client.core

Examples of com.emitrom.touch4j.client.core.Function


    }

    public void setUseComponents(boolean value) {
        this.useCompoments = value;
        if (value == true) {
            this.addListener("painted", new Function() {
                @Override
                public void execute() {
                    if (componentContainersCreated == false) {
                        SimpleListItem item;
                        containerList = new ArrayList<Container>();
                        int size = store.getCount();

                        for (int i = 0; i < size; i++) {
                            item = ListDataView.this.getItemAt(i);
                            DOMHelper.append(item.getEl(), "<div class='touch-list-comp-container'></div>");
                            final Container container = new Container();
                            container.setRenderTo(item.getEl().down("." + containerCls));
                            container.setLayout(Layout.HBOX);
                            container.addListener("painted", new Function() {
                                @Override
                                public void execute() {
                                    container.getEl().on("tap", new ElementEventHandler() {
                                        @Override
                                        public void onEvent(EventObject event) {
View Full Code Here

TOP

Related Classes of com.emitrom.touch4j.client.core.Function

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.