code: public void setToggleStates(Map toggleStates) {
          // We are providing a toggleStates map - so by definition we must want to
          // store the toggle states
          setRestoreToggleStates(true);
          this.toggleStates.clear();
          this.toggleStates.putAll(toggleStates);
      }
docs: Sets the toggle states for the category views. Note this <b>MUST</b> be
  called <b>BEFORE</b> setting any properties.
  
  @param toggleStates the toggle states as returned by getToggleStates