This page describes an older version, please see latest API at http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/supportClasses/LayerLegendInfo.html.
Packagecom.esri.ags.layers.supportClasses
Classpublic class LayerLegendInfo
InheritanceLayerLegendInfo Inheritance flash.events.EventDispatcher

Contains basic information about legend for a layer in a map service.



Public Properties
 PropertyDefined By
  layerId : String
The layer id.
LayerLegendInfo
  layerLegendInfos : Array
Collection of LayerLegendInfos for this layer legend.
LayerLegendInfo
  layerName : String
The layer name.
LayerLegendInfo
  layerType : String
The layer type.
LayerLegendInfo
  legendItemInfos : Array
Collection of legend items for the layer
LayerLegendInfo
  maxScale : Number
The maximum scale of the layer as specified in the Service Directory.
LayerLegendInfo
  minScale : Number
The minimum scale of the layer as specified in the Service Directory.
LayerLegendInfo
  visible : Boolean
Whether or not the legend info is visible.
LayerLegendInfo
Property Detail
layerIdproperty
layerId:String

The layer id.

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


Implementation
    public function get layerId():String
    public function set layerId(value:String):void
layerLegendInfosproperty 
layerLegendInfos:Array

Collection of LayerLegendInfos for this layer legend.

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


Implementation
    public function get layerLegendInfos():Array
    public function set layerLegendInfos(value:Array):void
layerNameproperty 
layerName:String

The layer name.

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


Implementation
    public function get layerName():String
    public function set layerName(value:String):void
layerTypeproperty 
layerType:String

The layer type.

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


Implementation
    public function get layerType():String
    public function set layerType(value:String):void
legendItemInfosproperty 
legendItemInfos:Array

Collection of legend items for the layer

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


Implementation
    public function get legendItemInfos():Array
    public function set legendItemInfos(value:Array):void
maxScaleproperty 
maxScale:Number

The maximum scale of the layer as specified in the Service Directory.

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


Implementation
    public function get maxScale():Number
    public function set maxScale(value:Number):void
minScaleproperty 
minScale:Number

The minimum scale of the layer as specified in the Service Directory.

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


Implementation
    public function get minScale():Number
    public function set minScale(value:Number):void
visibleproperty 
visible:Boolean

Since : ArcGIS API for Flex 2.4

Whether or not the legend info is visible.

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


Implementation
    public function get visible():Boolean
    public function set visible(value:Boolean):void