| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| //////////////////////////////////////////////////////////////////////////////// |
| // |
| // 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. |
| // |
| //////////////////////////////////////////////////////////////////////////////// |
| --> |
| |
| <!--- The default skin class for the Spark VScrollBar component. The thumb and track skins are defined by the |
| VScrollBarThumbSkin and VScrollBarTrackSkin classes, respectively. |
| |
| @see spark.components.VScrollBar |
| @see spark.skins.spark.VScrollBarThumbSkin |
| @see spark.skins.spark.VScrollBarTrackSkin |
| |
| @langversion 3.0 |
| @playerversion Flash 10 |
| @playerversion AIR 1.5 |
| @productversion Flex 4 |
| --> |
| <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" |
| xmlns:fb="http://ns.adobe.com/flashbuilder/2009" |
| alpha.disabled="0.5" alpha.inactive="0.5" minHeight="36"> |
| |
| <fx:Metadata> |
| <![CDATA[ |
| /** |
| * @copy spark.skins.spark.ApplicationSkin#hostComponent |
| */ |
| [HostComponent("spark.components.VScrollBar")] |
| ]]> |
| </fx:Metadata> |
| |
| <fx:Script fb:purpose="styling"> |
| /* Define the skin elements that should not be colorized. |
| For scroll bar, the skin itself is colorized but the individual parts are not. */ |
| static private const exclusions:Array = ["track", "thumb", "decrementButton", "incrementButton"]; |
| |
| /** |
| * @private |
| */ |
| override public function get colorizeExclusions():Array {return exclusions;} |
| |
| /** |
| * @private |
| */ |
| override protected function initializationComplete():void |
| { |
| useChromeColor = true; |
| super.initializationComplete(); |
| } |
| </fx:Script> |
| |
| <s:states> |
| <s:State name="normal" /> |
| <s:State name="disabled" /> |
| <s:State name="inactive" /> |
| </s:states> |
| |
| <!--- The default skin class is ScrollBarUpButtonSkin. |
| @copy spark.components.supportClasses.ScrollBarBase#decrementButton |
| @see spark.skins.spark.ScrollBarUpButtonSkin --> |
| <s:Button id="decrementButton" top="0" left="0" right="0" |
| minWidth="10" minHeight="16" |
| enabled.inactive="false" focusEnabled="false" |
| skinClass="spark.skins.spark.ScrollBarUpButtonSkin"/> |
| |
| <!--- The default skin class is ScrollBarDownButtonSkin. |
| @copy spark.components.supportClasses.ScrollBarBase#incrementButton |
| @see spark.skins.spark.ScrollBarDownButtonSkin --> |
| <s:Button id="incrementButton" bottom="0" left="0" right="0" |
| minWidth="10" minHeight="16" |
| enabled.inactive="false" focusEnabled="false" |
| skinClass="spark.skins.spark.ScrollBarDownButtonSkin"/> |
| |
| </s:SparkSkin> |