Examples of invalidate()


Examples of org.zkoss.zul.Textbox.invalidate()

    private void updateEffort(final Row row) {
        WorkReportLine line = (WorkReportLine) row.getValue();
        Textbox effort = getEffort(row);
        if (effort != null && line.getEffort() != null) {
            effort.setValue(line.getEffort().toFormattedString());
            effort.invalidate();
        }
    }

    public void checkCannotBeHigher(Timebox starting, Timebox ending) {
        starting.clearErrorMessage(true);
View Full Code Here

Examples of org.zkoss.zul.Window.invalidate()

      //prepare a data binder for the popupWin
      final AnnotateDataBinder binder = new AnnotateDataBinder(popupWin, true);
      popupWin.setAttribute("binder", binder, true);

      //redraw
      popupWin.invalidate();
    }
  }
 
  private void replaceFragment(String fragment, Map fragmentMap, Map pageMap) {
    logger.debug("ZK View render fragment: "+fragment);
View Full Code Here

Examples of org.zkoss.zul.impl.api.InputElement.invalidate()

    private void disableCodeBoxes(Treeitem item, boolean disabled) {
        Treerow row = item.getTreerow();
        InputElement codeBox = (InputElement) ((Treecell) row.getChildren()
                .get(1)).getChildren().get(0);
        codeBox.setDisabled(disabled);
        codeBox.invalidate();

        Set<Treeitem> childrenSet = new HashSet<Treeitem>();
        Treechildren children = item.getTreechildren();
        if (children != null) {
            childrenSet.addAll((Collection<Treeitem>) children.getItems());
View Full Code Here

Examples of research.Figure.invalidate()

                //update the figure's display
                Iterator iterator = set.iterator();
                while (iterator.hasNext()) {
                    Figure fig = (Figure) iterator.next();
                    fig.setAttribute(FeatureProperties.VARIABILITY, target.getVariability().getName());
                    fig.invalidate();
                }
            } else if (propertyName.equals(FeatureProperties.BINDINGTIME)){
               //find the figure
                Set set = idToFigureMap.get(target.getID());
View Full Code Here

Examples of sun.java2d.SurfaceData.invalidate()

     * code should always invoke dispose(), never disposeImpl().
     */
    protected void disposeImpl() {
        SurfaceData oldData = surfaceData;
        surfaceData = null;
        oldData.invalidate();
        MToolkit.targetDisposedPeer(target, this);
        pDispose();
    }
    public final void dispose() {
        boolean call_disposeImpl = false;
View Full Code Here

Examples of sun.java2d.windows.GDIWindowSurfaceData.invalidate()

     */
    private void removeGdiSurface(final D3DWindowSurfaceData d3dw) {
        if (gdiSurfaces != null) {
            GDIWindowSurfaceData gdisd = gdiSurfaces.get(d3dw);
            if (gdisd != null) {
                gdisd.invalidate();
                gdiSurfaces.remove(d3dw);
            }
        }
    }

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.