Packagecom.esri.bacore.thematicmapping.extensionClasses
Classpublic class TMVisibilityFilter
InheritanceTMVisibilityFilter Inheritance TMLayerComponent Inheritance flash.events.EventDispatcher

The TMVisibilityFilter class controls visibility of thematic layer features.



Public Properties
 PropertyDefined By
  filter : IAttributesFilter
Visibility filter to be applied to graphic features of TMLayer.
TMVisibilityFilter
  hideUnknownGraphics : Boolean
True value means that graphics whose filtering result is AttributesFilterResult.UNKNOWN will be hidden.
TMVisibilityFilter
 Inheritedlayer : TMLayer
Thematic layer associated with this extension object.
TMLayerComponent
  visibleFeaturesCount : int
The number of visible features of the associated graphics layer.
TMVisibilityFilter
Public Methods
 MethodDefined By
  
Creates a new instance of the TMVisibilityFilter class.
TMVisibilityFilter
  
Updates visibility of features of the thematic layer associated with this instance.
TMVisibilityFilter
Events
 Event Summary Defined By
 InheritedThe propertyChange event is dispatched when a property of thematic layer component is changed.TMLayerComponent
Property Detail
filterproperty
filter:IAttributesFilter

Visibility filter to be applied to graphic features of TMLayer.

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


Implementation
    public function get filter():IAttributesFilter
    public function set filter(value:IAttributesFilter):void
hideUnknownGraphicsproperty 
hideUnknownGraphics:Boolean

True value means that graphics whose filtering result is AttributesFilterResult.UNKNOWN will be hidden.

The default value is true.

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


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

See also

visibleFeaturesCountproperty 
visibleFeaturesCount:int

Since : Community Analyst API for Flex 2.2.

The number of visible features of the associated graphics layer.

The default value is -1.

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


Implementation
    public function get visibleFeaturesCount():int
    public function set visibleFeaturesCount(value:int):void
Constructor Detail
TMVisibilityFilter()Constructor
public function TMVisibilityFilter()

Creates a new instance of the TMVisibilityFilter class.

Method Detail
updateVisibility()method
public function updateVisibility():void

Updates visibility of features of the thematic layer associated with this instance.

Updates are applied automatically when filter property is changed or graphic features or attributes of associated TMLayer are changed. So, you need not call this method manually in ordinary cases when the associated filter is read-only.