      */
     private static const LAYOUT_PROPERTY_FLAG:uint = 1 << 1;
 
+    /**
+     *  @private
+     */
+    private static const VISIBLE_PROPERTY_FLAG:uint = 1 << 2;
+
     //--------------------------------------------------------------------------
     //
     //  Constructor

        var state:String = enabled ? "normal" : "disabled";
        if (controlBarGroup)
        {
            if (BitFlagUtil.isSet(controlBarGroupProperties as uint, CONTROLBAR_PROPERTY_FLAG))
                state += "WithControlBar";
        }
        else
        {
            if (controlBarGroupProperties.controlBarContent)
                state += "WithControlBar";
        }


                                                               LAYOUT_PROPERTY_FLAG, true);
            }

            if (controlBarGroupProperties.visible !== undefined)
            {
                controlBarGroup.visible = controlBarGroupProperties.visible;
                newControlBarGroupProperties = BitFlagUtil.update(newControlBarGroupProperties, 
                                                               VISIBLE_PROPERTY_FLAG, true);
            }

            controlBarGroupProperties = newControlBarGroupProperties;
        }
    }
