code: public void dontUseGui() {
          if (!_mayUseGui) return;
  
          _mayUseGui = false;
  
          for (Object o : _children.keySet()) {
              if (o instanceof Visibility) {
                  ((Visibility) o).dontUseGui();
              }
          }
      }
docs: This method instructs the bean that it should not use the Gui.