<commit_before>////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2010 Adobe Systems Incorporated
//  All Rights Reserved.
//
//  NOTICE: Adobe permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package spark.skins.mobile
{
import flash.display.BlendMode;

import mx.core.ClassFactory;
import mx.core.IFactory;

import spark.components.Button;
import spark.components.HSlider;
import spark.skins.mobile.supportClasses.MobileSkin;

/**
 *  Actionscript based skin for HSlider on mobile applications.
 * 
 *  The base Flex implementation creates an HSlider with fixed height
 *  and variable width with a fixed-size thumb. As the height of the
 *  HSlider component increases, the vertical dimensions of the visible HSlider remain
 *  the same, and the HSlider stays vertically centered.
 * 
 *  The thumb and track implementations can be customized by subclassing
 *  this skin class and overriding the thumbSkinClass, trackSkinClass,
 *  and/or dataTipClass variables as necessary.
 * 
 *  @langversion 3.0
 *  @playerversion Flash 10
 *  @playerversion AIR 2.5 
 *  @productversion Flex 4.5
 */
public class HSliderSkin extends MobileSkin
{    
    //--------------------------------------------------------------------------
    //
    //  Constructor
    //
    //--------------------------------------------------------------------------

    /**
     * 
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     * 
     */    
	public function HSliderSkin()
	{
		super();
        
        thumbSkinClass = spark.skins.mobile.HSliderThumbSkin;
        trackSkinClass = spark.skins.mobile.HSliderTrackSkin;
        dataTipClass = HSliderDataTip;
		
		blendMode = BlendMode.LAYER;
	}
	
    //--------------------------------------------------------------------------
    //
    //  Properties
    //
    //--------------------------------------------------------------------------
	
    /** 
     *  @copy spark.skins.spark.ApplicationSkin#hostComponent
     */
	public var hostComponent:HSlider;
	
    //--------------------------------------------------------------------------
    //
    //  Skin parts 
    //
    //--------------------------------------------------------------------------
    
    /**
     *  HSlider track skin part
     *
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     */    
	public var track:Button;
    
    /**
     *  HSlider thumb skin part
     * 
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     */    
	public var thumb:Button;
    
    /**
     *  HSlider dataTip class factory
     * 
     *  @langversion 3.0<commit_msg>Transferred from the Adobe Open Source Subversion Repository<commit_after>////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2010 Adobe Systems Incorporated
//  All Rights Reserved.
//
//  NOTICE: Adobe permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package spark.skins.mobile
{
import flash.display.BlendMode;

import mx.core.ClassFactory;
import mx.core.IFactory;

import spark.components.Button;
import spark.components.HSlider;
import spark.skins.mobile.supportClasses.MobileSkin;

/**
 *  Actionscript based skin for HSlider on mobile applications.
 * 
 *  The base Flex implementation creates an HSlider with fixed height
 *  and variable width with a fixed-size thumb. As the height of the
 *  HSlider component increases, the vertical dimensions of the visible HSlider remain
 *  the same, and the HSlider stays vertically centered.
 * 
 *  The thumb and track implementations can be customized by subclassing
 *  this skin class and overriding the thumbSkinClass, trackSkinClass,
 *  and/or dataTipClass variables as necessary.
 * 
 *  @langversion 3.0
 *  @playerversion Flash 10
 *  @playerversion AIR 2.5 
 *  @productversion Flex 4.5
 */
public class HSliderSkin extends MobileSkin
{    
    //--------------------------------------------------------------------------
    //
    //  Constructor
    //
    //--------------------------------------------------------------------------

    /**
     *  Constructor.
     * 
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     * 
     */    
    public function HSliderSkin()
    {
        super();
        
        thumbSkinClass = spark.skins.mobile.HSliderThumbSkin;
        trackSkinClass = spark.skins.mobile.HSliderTrackSkin;
        dataTipClass = HSliderDataTip;
        
        blendMode = BlendMode.LAYER;
    }
    
    //--------------------------------------------------------------------------
    //
    //  Properties
    //
    //--------------------------------------------------------------------------
    
    /** 
     *  @copy spark.skins.spark.ApplicationSkin#hostComponent
     */
    public var hostComponent:HSlider;
    
    //--------------------------------------------------------------------------
    //
    //  Skin parts 
    //
    //--------------------------------------------------------------------------
    
    /**
     *  HSlider track skin part
     *
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     */    
    public var track:Button;
    
    /**
     *  HSlider thumb skin part
     * 
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     */    
    public var thumb:Button;
    
    /**
     *  HSlider dataTip class factory
     * 
     *  @langversion 3.0
{'fraction_non_alphanumeric': 0.26634225466342254, 'fraction_numerical': 0.012327656123276562, 'mean_word_length': 1.2147988505747127, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6744665', 'n_tokens_mistral': 1639, 'n_tokens_neox': 1524, 'n_words': 427}