806807808809810811812813814815816
// lets also tell the Children that can that they may use their GUI's synchronized(children) { for (Iterator i = children.keySet().iterator(); i.hasNext();) { Visibility v = getChildVisibility(i.next()); if (v != null) v.okToUseGui(); } } } }
228229230231232233234235236237238
// set an appropriate type of ability to render GUI Visibility vis = getChildVisibility(targetChild); if (vis != null) { if (this.okToUseGui) { vis.okToUseGui(); } else { vis.dontUseGui(); } }
740741742743744745746747748749750
for (Iterator it = iterator(); it.hasNext();) { Object next = it.next(); Visibility vis = getChildVisibility(next); if (vis != null) { vis.okToUseGui(); } } } public void propertyChange(PropertyChangeEvent pce) {
328329330331332333334335336337338
} if (targetChild instanceof Visibility) { Visibility visibleChild = (Visibility) targetChild; if (okToUseGui) visibleChild.okToUseGui(); else visibleChild.dontUseGui(); } childJustAddedHook(targetChild, child); }