docs: public boolean[] setEnableListeners(boolean flag)
      {
          int iPosition = 0;
          boolean rgbEnabled[] = ALL_TRUE;
          FileListener fileBehavior = this.getListener();
          while (fileBehavior != null)
          {
              if (!fileBehavior.isEnabledListener())
              {   // This one was disabled, set it.
                  if (iPosition >= rgbEnabled.length)
                  {       // Increase the size
                      boolean[] rgbEnabledNew = new boolean[iPosition + 8];
                      for (int i = 0; i < rgbEnabledNew.length; i++)
                      {
                          if (i < rgbEnabled.length)
                              rgbEnabledNew[i] = rgbEnabled[i];
                          else
                              rgbEnabledNew[i] = true;
                      }
                      rgbEnabled = rgbEnabledNew;
                  }
                  rgbEnabled[iPosition] = false;  // This listener was disabled
              }
              iPosition++;
              fileBehavior.setEnabledListener(flag);
              fileBehavior = (FileListener)fileBehavior.getNextListener();
          }
          return rgbEnabled;
      }