Examples of fetchData()


Examples of com.jme3.scene.plugins.blender.file.Pointer.fetchData()

        Map<String, List<Vector2f>> result = new HashMap<String, List<Vector2f>>();
        if (useBMesh) {
            // in this case the UV's are assigned to vertices (an array is the same length as the vertex array)
            Structure loopData = (Structure) meshStructure.getFieldValue("ldata");
            Pointer pLoopDataLayers = (Pointer) loopData.getFieldValue("layers");
            List<Structure> loopDataLayers = pLoopDataLayers.fetchData();
            for (Structure structure : loopDataLayers) {
                Pointer p = (Pointer) structure.getFieldValue("data");
                if (p.isNotNull() && ((Number) structure.getFieldValue("type")).intValue() == MeshHelper.UV_DATA_LAYER_TYPE_BMESH) {
                    String uvSetName = structure.getFieldValue("name").toString();
                    List<Structure> uvsStructures = p.fetchData();
View Full Code Here

Examples of com.smartgwt.client.data.DataSource.fetchData()

       
        exampleForm.setItems(orderID, orderDate, items, saveBtn);
       
        Criteria orderCriteria = new Criteria();
        orderCriteria.addCriteria("orderID", 1);
        orderDS.fetchData(orderCriteria, new DSCallback() {
            @Override
            public void execute(DSResponse response, Object rawData, DSRequest request) {
                DynamicForm exampleForm = (DynamicForm) Canvas.getById("exampleForm");
                exampleForm.editRecord(response.getData()[0]);
            }
View Full Code Here

Examples of com.smartgwt.client.widgets.form.fields.SelectItem.fetchData()

        resourceLookupComboBoxItem
            .addChangedHandler(new com.smartgwt.client.widgets.form.fields.events.ChangedHandler() {
                public void onChanged(ChangedEvent event) {

                    if (form.getValue(CFG_RESOURCE_ID) instanceof Integer) {
                        metric.fetchData();
                        form.clearValue(CFG_DEFINITION_ID);
                    }
                }
            });
View Full Code Here

Examples of com.smartgwt.client.widgets.form.fields.SelectItem.fetchData()

        resourceGroupSelector.addAssignedItemsChangedHandler(new AssignedItemsChangedHandler() {

            public void onSelectionChanged(AssignedItemsChangedEvent event) {

                if (resourceGroupSelector.getSelection().size() == 1) {
                    metric.fetchData();
                    form.clearValue(CFG_DEFINITION_ID);
                }
            }
        });
View Full Code Here

Examples of com.smartgwt.client.widgets.grid.ListGrid.fetchData()

        if (listGrid.getDataSource() != null) {
            // Invalidate the cached records - if listGrid.getAutoFetchData() is true, this will cause the ListGrid to
            // automatically call fetchData().
            listGrid.invalidateCache();
            if (!this.autoFetchData && (initialCriteria != null)) {
                listGrid.fetchData(criteria);
            }
        }
        listGrid.markForRedraw();
    }
View Full Code Here

Examples of com.smartgwt.client.widgets.grid.ListGrid.fetchData()

        // autoFetchData flag to true and invalidateCache() doesn't do the fetching as mentioned in the refresh()
        // method.
        final ListGrid listGrid = getListGrid();
        Criteria criteria = getCurrentCriteria();
        listGrid.setCriteria(criteria);
        listGrid.fetchData(criteria);
        listGrid.markForRedraw();
        refreshTableInfo();
    }
}
View Full Code Here

Examples of com.smartgwt.client.widgets.grid.ListGrid.fetchData()

                        ds.addData(record);
                    }

                    try {
                        searchBarPickListGrid.setData(new ListGridRecord[] {});
                        searchBarPickListGrid.fetchData();
                    } catch (Exception e) {
                        Log.debug("Caught exception on fetchData: " + e);
                    }
                } finally {
                    isSearchInProgress = false;
View Full Code Here

Examples of com.smartgwt.client.widgets.grid.ListGrid.fetchData()

                            ds.addData(record);
                        }

                        try {
                            searchBarPickListGrid.setData(new ListGridRecord[] {});
                            searchBarPickListGrid.fetchData();
                        } catch (Exception e) {
                            Log.info("Caught exception on fetchData: " + e);
                        }

                        long suggestFetchTime = System.currentTimeMillis() - suggestStart;
View Full Code Here

Examples of com.smartgwt.client.widgets.tile.TileGrid.fetchData()

        ButtonItem button = new ButtonItem();
        button.setTitle("Search");
        button.setStartRow(false);
        button.addClickHandler(new ClickHandler() {
            public void onClick(ClickEvent event) {
                tileGrid.fetchData(form.getValuesAsCriteria());
            }
        });

        form.setItems(query, button);
View Full Code Here

Examples of com.smartgwt.client.widgets.viewer.DetailViewer.fetchData()

                DetailViewer detailViewer = new DetailViewer();
                detailViewer.setWidth(200);
                detailViewer.setDataSource(ItemSupplyXmlDS.getInstance());
                Criteria criteria = new Criteria();
                criteria.addCriteria("itemID", record.getAttribute("itemID"));
                detailViewer.fetchData(criteria);

                return detailViewer;
            }

        };
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.