blob: 787e266202c4a6fda2aee0999508da42d982056b [file] [log] [blame]
////////////////////////////////////////////////////////////////////////////////
//
// 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.
//
////////////////////////////////////////////////////////////////////////////////
/**
* Color of the border.
* The following controls support this style: Button, CheckBox,
* ComboBox, MenuBar,
* NumericStepper, ProgressBar, RadioButton, ScrollBar, Slider, and any
* components that support the <code>borderStyle</code> style.
* The default value depends on the component class;
* if not overridden for the class, the default value is <code>0xB7BABC</code>.
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
[Style(name="borderColor", type="uint", format="Color", inherit="no", theme="halo")]
/**
* Radius of component corners.
* The following components support this style: Alert, Button, ComboBox,
* LinkButton, MenuBar, NumericStepper, Panel, ScrollBar, Tab, TitleWindow,
* and any component
* that supports a <code>borderStyle</code> property set to <code>"solid"</code>.
* The default value depends on the component class;
* if not overridden for the class, the default value
* for the Halo theme is <code>0</code> and for the Spark theme is <code>2</code>.
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
[Style(name="cornerRadius", type="Number", format="Length", inherit="no", theme="halo, spark")]
/**
* Alphas used for the background fill of controls. Use [1, 1] to make the control background
* opaque.
*
* @default [ 0.6, 0.4 ]
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
[Style(name="fillAlphas", type="Array", arrayType="Number", inherit="no", theme="halo")]
/**
* Colors used to tint the background of the control.
* Pass the same color for both values for a flat-looking control.
*
* @default [ 0xFFFFFF, 0xCCCCCC ]
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
[Style(name="fillColors", type="Array", arrayType="uint", format="Color", inherit="no", theme="halo")]
/**
* Alpha transparencies used for the highlight fill of controls.
* The first value specifies the transparency of the top of the highlight and the second value specifies the transparency
* of the bottom of the highlight. The highlight covers the top half of the skin.
*
* @default [ 0.3, 0.0 ]
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
[Style(name="highlightAlphas", type="Array", arrayType="Number", inherit="no", theme="halo")]