Packagecom.adobe.portfolio.components.supportClasses
Classpublic class AutoWatch
InheritanceAutoWatch Inheritance Object

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The AutoWatch class both adds and tracks change watchers and provides the ability to remove all watchers with a single call.



Public Methods
 MethodDefined By
  
Constructor
AutoWatch
  
addWatcher(watcher:ChangeWatcher):void
Adds a change watcher to the list that removeAllWatchers will reference when called.
AutoWatch
  
Remove all watchers that were added through addWatcher.
AutoWatch
Constructor Detail
AutoWatch()Constructor
public function AutoWatch()

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Constructor

Method Detail
addWatcher()method
public function addWatcher(watcher:ChangeWatcher):void

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Adds a change watcher to the list that removeAllWatchers will reference when called.

Parameters

watcher:ChangeWatcher — The change watcher to add.

See also

ChangeWatcher
removeAllWatchers()method 
public function removeAllWatchers():void

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Remove all watchers that were added through addWatcher.