Examples of markForRedraw()


Examples of com.smartgwt.client.widgets.Canvas.markForRedraw()

        titleCanvas.setWidth100();
        titleCanvas.setHeight(35);
        titleCanvas.setContents(sb.toString());
        titleCanvas.setPadding(4);

        titleCanvas.markForRedraw();
    }

    public static class DriftCarouselDataSource extends DriftDataSource {

        private String changeSetId;
View Full Code Here

Examples of com.smartgwt.client.widgets.Canvas.markForRedraw()

                        public void onSuccess() {
                            RootCanvas.this.currentCanvas = createContent(RootCanvas.this.currentViewId.getPath());
                            if (null != RootCanvas.this.currentCanvas) {
                                contentCanvas.addChild(RootCanvas.this.currentCanvas);
                            }
                            contentCanvas.markForRedraw();
                            render(viewPath);
                            Log.info("Time to Load first codesplit fragment: "+(System.currentTimeMillis() - startTime) + " ms.");
                        }
                      });
                } else {
View Full Code Here

Examples of com.smartgwt.client.widgets.Canvas.markForRedraw()

                if (disabled) {
                    canvasItem.disable();
                    clearValues(nestedCanvas);
                    canvas.getItem(key.getName()).clearValue();
                    if (nestedCanvas != null) {
                        nestedCanvas.markForRedraw();
                    }
                } else {
                    canvasItem.enable();
                }
            }
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow.markForRedraw()

        style.setShowTitle(false);
        style.setValueMap(styleMap);
        style.addChangedHandler(new ChangedHandler() {
            public void onChanged(ChangedEvent event) {
                textBox.setStyleName((String)event.getValue());
                textBox.markForRedraw();
            }
        });
       
        DynamicForm controls = new DynamicForm();
        controls.setFields(style);
View Full Code Here

Examples of com.smartgwt.client.widgets.form.DynamicForm.markForRedraw()

                    @Override
                    public void onSuccess(PageList<BundleVersion> result) {
                        if (result != null && result.size() == 1) {
                            prevVersionItem.setValue(result.get(0).getVersion());
                            prevForm.markForRedraw();
                        }
                    }

                    @Override
                    public void onFailure(Throwable caught) {
View Full Code Here

Examples of com.smartgwt.client.widgets.form.DynamicForm.markForRedraw()

                    }

                    @Override
                    public void onFailure(Throwable caught) {
                        prevVersionItem.setValue("?");
                        prevForm.markForRedraw();
                    }
                });
            } else {
                prevVersionItem.setValue(prev.getBundleVersion().getVersion());
            }
View Full Code Here

Examples of com.smartgwt.client.widgets.form.DynamicForm.markForRedraw()

                ((GroupOperationsCriteriaDataSource) groupOperations.getDataSource()).setPortletConfig(updatedConfig);
                //apply latest settings to the visible result set
                refresh();
            }
        });
        form.markForRedraw();
        page.addMember(measurementRangeEditor);
        page.addMember(form);
        customSettings.addChild(page);
        return customSettings;
    }
View Full Code Here

Examples of com.smartgwt.client.widgets.form.DynamicForm.markForRedraw()

                storedPortlet.setConfiguration(updatedConfig);
                configure(portletWindow, storedPortlet);
                refresh();
            }
        });
        form.markForRedraw();
        page.addMember(measurementRangeEditor);
        page.addMember(form);
        customSettings.addChild(page);
        return customSettings;
    }
View Full Code Here

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

            listGrid.invalidateCache();
            if (!this.autoFetchData && (initialCriteria != null)) {
                listGrid.fetchData(criteria);
            }
        }
        listGrid.markForRedraw();
    }

    protected Criteria getInitialCriteria() {
        return initialCriteria;
    }
View Full Code Here

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

        // method.
        final ListGrid listGrid = getListGrid();
        Criteria criteria = getCurrentCriteria();
        listGrid.setCriteria(criteria);
        listGrid.fetchData(criteria);
        listGrid.markForRedraw();
        refreshTableInfo();
    }
}
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.