Show
Ignore:
Timestamp:
08/11/10 12:55:02 (22 months ago)
Author:
mszopinski
Message:

calendar, one-day display

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ssme/trunk/flex/Calendar/src/com/kh/ssme/components/EventField.as

    r4031 r4040  
    2323package com.kh.ssme.components { 
    2424 
    25     import flash.display.DisplayObject; 
     25import com.kh.ssme.entity.TimeFrameEntity; 
     26 
     27import flash.display.DisplayObject; 
    2628 
    2729    import mx.binding.utils.BindingUtils; 
     
    5153                ( eventInfo_ as UIComponent ).x = ( eventInfo_ as UIComponent ).y = 0;   
    5254                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 ); 
    5855            } 
    5956        } 
     
    6158            return eventInfo_; 
    6259        } 
     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 
    6370 
    6471        protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{