Packagecom.esri.ags.skins
Classpublic class ScaleBarUSSkin
InheritanceScaleBarUSSkin Inheritance spark.components.supportClasses.Skin
Implements mx.binding.IBindingClient

The skin class for the ScaleBar component to only render US units. Miles or feet are displayed depending on the scale.

Default MXML PropertymxmlContent



Public Properties
 PropertyDefined By
  hostComponent : ScaleBar
A strongly typed property that references the component to which this skin is applied.
ScaleBarUSSkin
  label : Label
Label to display US text.
ScaleBarUSSkin
Public Methods
 MethodDefined By
  
Constructor.
ScaleBarUSSkin
Protected Methods
 MethodDefined By
  
measure():void
[override] Here we override the measure method and adjust the position of parts _before_ we call the super.measure that will define the width and height based on the newly position.
ScaleBarUSSkin
Property Detail
hostComponentproperty
public var hostComponent:ScaleBar

A strongly typed property that references the component to which this skin is applied.

This property can be used as the source for data binding.

labelproperty 
public var label:Label

Label to display US text.

This property can be used as the source for data binding.

Constructor Detail
ScaleBarUSSkin()Constructor
public function ScaleBarUSSkin()

Constructor.

Method Detail
measure()method
override protected function measure():void

Here we override the measure method and adjust the position of parts _before_ we call the super.measure that will define the width and height based on the newly position.