Examples of invalidate()


Examples of org.w3c.tools.resources.DummyResourceReference.invalidate()

  try {
      Resource r = rr.lock();
      r.delete();
  } catch (InvalidResourceException ex) {
  } finally {
      rr.invalidate();
      rr.unlock();
  }
  super.delete();
    }
View Full Code Here

Examples of org.zkoss.ganttz.TaskComponent.invalidate()

        task.firePropertyChangeForTaskDates();
        TaskComponent taskComponent = planner.getTaskComponentRelatedTo(task);
        if (taskComponent != null) {
            taskComponent.updateTooltipText();
            taskComponent.updateProperties();
            taskComponent.invalidate();
        }

        context.recalculatePosition(taskElement);
    }
View Full Code Here

Examples of org.zkoss.zk.ui.Component.invalidate()

    return "zhtml.Text";
  }
  public void setParent(Component parent) {
    final Component old = getParent();
    if (old != null && old != parent && !isIdRequired())
      old.invalidate();

    super.setParent(parent);

    if (parent != null && old != parent && !isIdRequired())
      parent.invalidate();
View Full Code Here

Examples of org.zkoss.zk.ui.Page.invalidate()

  public void invalidate() {
    for (Iterator it = _pages.iterator(); it.hasNext();) {
      final Page page = (Page)it.next();
      if (((PageCtrl)page).getOwner() == null)
        page.invalidate();
    }
  }
  private static class ReqResult {
    private final String id;
    private final Object response;
View Full Code Here

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

        // Is already added?
        Button button = (Button) ComponentsFinder.findById("expandAllButton", children);
        if (button != null) {
            if (button.getSclass().equals("planner-command clicked")) {
                button.setSclass("planner-command");
                button.invalidate();
            }
            return;
        }

        // Append expand/collapse button
View Full Code Here

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

        }

        private void updateBudgetFor(T element) {
            if (!readOnly && element.isLeaf()) {
                Decimalbox decimalbox = budgetDecimalboxByElement.get(element);
                decimalbox.invalidate();
                refreshBudgetValueForThisNodeAndParents(element);
            }
        }

        private void updateNameFor(T element) {
View Full Code Here

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

    private void repaint(Component self, HoursGroupWrapper hoursGroupWrapper) {
        Grid grid = getHoursGroupDetailsGrid(self);
        if (grid != null) {
            grid.setModel(new SimpleListModel(hoursGroupWrapper
                    .getCriterionRequirementWrappersView().toArray()));
            grid.invalidate();
        } else {
            Util.reloadBindings(listHoursGroups);
        }
    }
View Full Code Here

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

        private void updateHoursFor(T element) {
            if (!readOnly && element.isLeaf()) {
                Intbox boxHours = (Intbox) hoursIntBoxByElement.get(element);
                Treecell tc = (Treecell) boxHours.getParent();
                setReadOnlyHoursCell(element, boxHours, tc);
                boxHours.invalidate();
                refreshHoursValueForThisNodeAndParents(element);
            }
        }

        public void refreshHoursValueForThisNodeAndParents(T node) {
View Full Code Here

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

    public void onChangingText(Event event) {
        Bandbox bd = (Bandbox) event.getTarget();
        final String inputText = ((InputEvent) event).getValue();
        Listbox listbox = (Listbox) bd.getFirstChild().getFirstChild();
        listbox.setModel(getSubModel(inputText));
        listbox.invalidate();
        bd.open();
    }

    public void onCtrlKey(Event event) {
        Bandbox bd = (Bandbox) event.getTarget();
View Full Code Here

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

  }
 
  public void invalidate() {
    Tabbox tbox = getTabbox();
    if (tbox != null && tbox.isVertical())
      tbox.invalidate();
    else
      super.invalidate();
  }
  public String getZclass() {
    if (_zclass != null) return _zclass;
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.