| <?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 Spark skin class for the MX LinkButton component. |
| |
| @see mx.controls.LinkButton |
| |
| @langversion 3.0 |
| @playerversion Flash 10 |
| @playerversion AIR 1.5 |
| @productversion Flex 4 |
| --> |
| <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" |
| minWidth="21" minHeight="21" |
| alpha.disabledStates="0.5"> |
| |
| <!-- states --> |
| <s:states> |
| <s:State name="up" stateGroups="upStates"/> |
| <s:State name="over" stateGroups="overStates"/> |
| <s:State name="down" stateGroups="downStates" /> |
| <s:State name="disabled" stateGroups="disabledStates"/> |
| <s:State name="selectedUp" stateGroups="upStates"/> |
| <s:State name="selectedOver" stateGroups="overStates"/> |
| <s:State name="selectedDown" stateGroups="downStates"/> |
| <s:State name="selectedDisabled" stateGroups="disabledStates"/> |
| </s:states> |
| |
| <!-- layer 1: fill --> |
| <s:Rect left="0" right="0" top="0" bottom="0" |
| radiusX="{getStyle('cornerRadius')}" excludeFrom="upStates,disabledStates" > |
| <s:fill> |
| <s:SolidColor color.overStates="{getStyle('rollOverColor')}" |
| color.downStates="{getStyle('selectionColor')}" alpha="1" /> |
| </s:fill> |
| </s:Rect> |
| |
| </s:Skin> |