- Timestamp:
- 08/14/10 12:54:49 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ssme/trunk/flex/Calendar/src/com/kh/ssme/components/EventField.as
r4040 r4042 24 24 25 25 import com.kh.ssme.entity.TimeFrameEntity; 26 27 import flash.display.DisplayObject; 28 26 29 27 import mx.binding.utils.BindingUtils; 30 import mx.binding.utils.ChangeWatcher;31 import mx.controls.TextArea;32 28 import mx.core.Container; 33 29 import mx.core.UIComponent; 30 import mx.events.ToolTipEvent; 31 import mx.managers.ToolTipManager; 34 32 35 33 public class EventField extends RoundedCornerContainer { … … 40 38 container_.visible = container_.includeInLayout = true; 41 39 this.addChild( container_ ); 40 41 this.toolTip = ""; 42 42 } 43 43 … … 68 68 } 69 69 70 /** 71 * Index of beginning quarter 72 */ 73 public var beginIndex:int; 74 75 /** 76 * Index of ending quarter 77 */ 78 public var endIndex:int; 79 80 /** 81 * number of neighbour events 82 */ 83 public var neighbours:int; 84 85 /** 86 * Component position rank 87 */ 88 public var rank:int; 89 90 /** 91 * Component left alignment 92 */ 93 public var leftPosition:int; 70 94 71 95 protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{ … … 75 99 container_.y = this.borderThickness_; 76 100 container_.width = this.width - this.borderThickness_*2; 77 container_.height = this.height - this.borderThickness_*2; 101 container_.height = this.height - this.borderThickness_*2; 102 103 this.toolTip = "Indexes : ["+beginIndex+" - "+endIndex+"]\n" + 104 "neighbours: "+neighbours+"; rank:"+rank+"\n" + 105 "x: "+x+"; y:"+y+"; width:"+width+"; height:"+height+ 106 "UUID:"+data.UUID; 78 107 } 79 108
