1  /**
     2   * com.sekati.display.UIClip
     3   * @version 1.0.3
     4   * @author jason m horwitz | sekati.com | tendercreative.com
     5   * Copyright (C) 2007  jason m horwitz, Sekat LLC. All Rights Reserved.
     6   * Released under the MIT License: http://www.opensource.org/licenses/mit-license.php
     7   */
     8  
     9  import com.sekati.display.EventClip;
    10  import com.sekati.display.TextDisplay;
    11  
    12  /**
    13   * UIClip - any clip which needs to respond to StageResize or StageResizeComplete (delayed) events to create Liquid Layout 
    14   * via {@link com.sekati.events Dispatcher} which extends {@link com.sekati.display.EventClip} for Broadcaster event core. Class
    15   * also adds some wrappers to {@link com.sekati.display.TextDisplay} for automatic styling.
    16   */
    17  class com.sekati.display.UIClip extends EventClip {
    18  
    19  	/**
    20  	 * Constructor
    21  	 */
    22  	public function UIClip() {
    23  		super( );
    24  		TextDisplay.clear( _this );
    25  	}
    26  
    27  	/**
    28  	 * Application has been Configured (Config & Data loaded).
    29  	 * NOTE: Automatically applies the application stylesheet to all TextField Objects!
    30  	 * @return Void
    31  	 */
    32  	public function onAppConfigured():Void {
    33  		TextDisplay.style( _this );
    34  	}	
    35  }