blob: bdb8c5920f0b57fcfa9c1b4c8c59483d072d9ce7 [file]
<?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 wireframe skin class for the Spark NumericStepper component. The skin for the text input field on a NumericStepper
component is defined by the wireframe NumericStepperTextInputSkin class.
Skin classes in the wireframe package are useful for using as a simple base for a custom skin.
@see spark.components.NumericStepper
@see spark.skins.wireframe.NumericStepperTextInputSkin
@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"
minHeight="22" minWidth="40"
alpha.disabled="0.5">
<fx:Metadata>
/**
* @copy spark.skins.spark.ApplicationSkin#hostComponent
*/
[HostComponent("spark.components.NumericStepper")]
</fx:Metadata>
<s:states>
<s:State name="normal" />
<s:State name="disabled" />
</s:states>
<!--- The default class is SpinnerIncrementButtonSkin.
@copy spark.components.Spinner#incrementButton -->
<s:Button id="incrementButton" right="0" top="0" height="50%" tabEnabled="false"
skinClass="spark.skins.wireframe.SpinnerIncrementButtonSkin" />
<!--- The default class is SpinnerDecrementButtonSkin.
@copy spark.components.Spinner#decrementButton -->
<s:Button id="decrementButton" right="0" bottom="0" height="50%" tabEnabled="false"
skinClass="spark.skins.wireframe.SpinnerDecrementButtonSkin" />
<!--- The default class is NumericStepperTextInputSkin.
@copy spark.components.NumericStepper#textDisplay -->
<s:TextInput id="textDisplay" width="30"
left="0" top="0" right="18" bottom="0" skinClass="spark.skins.wireframe.NumericStepperTextInputSkin"/>
</s:Skin>