- Timestamp:
- 08/11/10 12:55:02 (22 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ssme/trunk/flex/Calendar/src/com/kh/ssme/components/EventField.as
r4031 r4040 23 23 package com.kh.ssme.components { 24 24 25 import flash.display.DisplayObject; 25 import com.kh.ssme.entity.TimeFrameEntity; 26 27 import flash.display.DisplayObject; 26 28 27 29 import mx.binding.utils.BindingUtils; … … 51 53 ( eventInfo_ as UIComponent ).x = ( eventInfo_ as UIComponent ).y = 0; 52 54 container_.addChild( eventInfo_ as UIComponent ); 53 // var a:TextArea = new TextArea();54 // a.text = "[TEST]";55 // a.width = 100;56 // a.height = 100;57 // container_.addChild( a );58 55 } 59 56 } … … 61 58 return eventInfo_; 62 59 } 60 61 public override function set data(value:Object):void{ 62 if(eventInfo_){ 63 eventInfo_.eventData = value as TimeFrameEntity; 64 } 65 } 66 public override function get data():Object{ 67 return (eventInfo_) ? eventInfo_.eventData : null; 68 } 69 63 70 64 71 protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{
