//////////////////////////////////////////////////////////////////////////////// // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// /** * Background color of the component when it is disabled. * The global default value is undefined. * The default value for List controls is 0xDDDDDD (light gray). * If a container is disabled, the background is dimmed, and the degree of * dimming is controlled by the disabledOverlayAlpha style. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="backgroundDisabledColor", type="uint", format="Color", inherit="yes", theme="halo")] /** * Background image of a component. This can be an absolute or relative * URL or class. You can set either the backgroundColor or the * backgroundImage. The background image is displayed * on top of the background color. * The default value is undefined, meaning "not set". * If this style and the backgroundColor style are undefined, * the component has a transparent background. * *

The default skins of most Flex controls are partially transparent. As a result, the background image of * a container partially "bleeds through" to controls that are in that container. You can avoid this by setting the * alpha values of the control's fillAlphas property to 1, as the following example shows: *

 *  <mx:Container backgroundColor="0x66CC66"/>
 *      <mx:ControlName ... fillAlphas="[1,1]"/>
 *  </mx:Container>
*

* * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="backgroundImage", type="Object", format="File", inherit="no", theme="halo")] /** * Scales the image specified by backgroundImage * to different percentage sizes. * A value of "100%" stretches the image * to fit the entire component. * To specify a percentage value, you must include the percent sign (%). * The default for the Application container is 100%. * The default value for all other containers is auto, which maintains * the original size of the image. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="backgroundSize", type="String", inherit="no", theme="halo")] /** * Alpha of the border. * @default 1 * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4 */ [Style(name="borderAlpha", type="Number", inherit="no", theme="spark")] /** * Color of the border. * The default value depends on the component class; * if not overridden for the class, the default value is 0xB7BABC * for the Halo theme and 0x696969 for the Spark theme. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="borderColor", type="uint", format="Color", inherit="no", theme="halo, spark")] /** * Bounding box sides. * A space-delimited String that specifies the sides of the border to show. * The String can contain "left", "top", * "right", and "bottom" in any order. * The default value is "left top right bottom", * which shows all four sides. * * This style is only used when borderStyle is "solid". * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="borderSides", type="String", inherit="no", theme="halo")] /** * The border skin class of the component. * The default value in all components that do not explicitly * set their own default for the Halo theme is mx.skins.halo.HaloBorder * and for the Spark theme is mx.skins.spark.BorderSkin. * The Panel container has a default value of mx.skins.halo.PanelSkin * for the Halo theme and mx.skins.spark.BorderSkin for the Spark theme. * To determine the default value for a component, see the default.css file. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="borderSkin", type="Class", inherit="no")] /** * Bounding box style. * The possible values are "none", "solid", * "inset", and "outset". * The default value depends on the component class; * if not overridden for the class, the default value is "inset". * The default value for most Containers is "none". * The "inset" and "outset" values are only * valid with the halo theme. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="borderStyle", type="String", enumeration="inset,outset,solid,none", inherit="no")] /** * Bounding box thickness. * Only used when borderStyle is set to "solid". * * @default 1 * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="borderThickness", type="Number", format="Length", inherit="no", theme="halo")] /** * Visibility of the border. * * @default true * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4 */ [Style(name="borderVisible", type="Boolean", inherit="no", theme="spark")] /** * Boolean property that specifies whether the component has a visible * drop shadow. * This style is used with borderStyle="solid". * The default value is false. * *

Note: For drop shadows to appear on containers, set * backgroundColor or backgroundImage properties. * Otherwise, the shadow appears behind the container because * the default background of a container is transparent.

* * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="dropShadowEnabled", type="Boolean", inherit="no", theme="halo")] /** * Boolean property that specifies whether the component has a visible * drop shadow. * The default value is false. * *

Note: For drop shadows to appear on containers, set * contentBackgroundColor property. * Otherwise, the shadow appears behind the container because * the default background of a container is transparent.

* * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4 */ [Style(name="dropShadowVisible", type="Boolean", inherit="no", theme="spark")] /** * Color of the drop shadow. * * @default 0x000000 * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="dropShadowColor", type="uint", format="Color", inherit="yes", theme="halo")] /** * Direction of the drop shadow. * Possible values are "left", "center", * and "right". * * @default "center" * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="shadowDirection", type="String", enumeration="left,center,right", inherit="no", theme="halo")] /** * Distance of the drop shadow. * If the property is set to a negative value, the shadow appears above the component. * * @default 2 * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ [Style(name="shadowDistance", type="Number", format="Length", inherit="no", theme="halo")]