Package | com.esri.bacore.thematicmapping.extensionClasses |
Class | public class TMVisibilityFilter |
Inheritance | TMVisibilityFilter TMLayerComponent flash.events.EventDispatcher |
Property | Defined 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 | ||
layer : TMLayer
Thematic layer associated with this extension object. | TMLayerComponent | ||
visibleFeaturesCount : int
The number of visible features of the associated graphics layer. | TMVisibilityFilter |
Method | Defined By | ||
---|---|---|---|
Creates a new instance of the TMVisibilityFilter class. | TMVisibilityFilter | ||
updateVisibility():void
Updates visibility of features of the thematic layer associated with this instance. | TMVisibilityFilter |
filter | property |
filter:IAttributesFilter
Visibility filter to be applied to graphic features of TMLayer.
This property can be used as the source for data binding.
public function get filter():IAttributesFilter
public function set filter(value:IAttributesFilter):void
hideUnknownGraphics | property |
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.
public function get hideUnknownGraphics():Boolean
public function set hideUnknownGraphics(value:Boolean):void
See also
visibleFeaturesCount | property |
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.
public function get visibleFeaturesCount():int
public function set visibleFeaturesCount(value:int):void
TMVisibilityFilter | () | Constructor |
public function TMVisibilityFilter()
Creates a new instance of the TMVisibilityFilter class.
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.