Left: | ||
Right: |
OLD | NEW |
---|---|
1 //////////////////////////////////////////////////////////////////////////////// | 1 //////////////////////////////////////////////////////////////////////////////// |
2 // | 2 // |
3 // ADOBE SYSTEMS INCORPORATED | 3 // ADOBE SYSTEMS INCORPORATED |
4 // Copyright 2008 Adobe Systems Incorporated | 4 // Copyright 2008 Adobe Systems Incorporated |
5 // All Rights Reserved. | 5 // All Rights Reserved. |
6 // | 6 // |
7 // NOTICE: Adobe permits you to use, modify, and distribute this file | 7 // NOTICE: Adobe permits you to use, modify, and distribute this file |
8 // in accordance with the terms of the license agreement accompanying it. | 8 // in accordance with the terms of the license agreement accompanying it. |
9 // | 9 // |
10 //////////////////////////////////////////////////////////////////////////////// | 10 //////////////////////////////////////////////////////////////////////////////// |
(...skipping 27 matching lines...) Expand all Loading... | |
38 super(); | 38 super(); |
39 } | 39 } |
40 ········ | 40 ········ |
41 //---------------------------------------------------------------------- ---- | 41 //---------------------------------------------------------------------- ---- |
42 // | 42 // |
43 // Properties | 43 // Properties |
44 // | 44 // |
45 //-------------------------------------------------------------------------- | 45 //-------------------------------------------------------------------------- |
46 ········ | 46 ········ |
47 // this property is also on SkinnableComponent | 47 // this property is also on SkinnableComponent |
48 » private var _selected:Boolean = false; | 48 » private var _selected2:Boolean = false; |
49 » public function get selected():Boolean | 49 » override public function get selected():Boolean |
50 { | 50 { |
51 » » return _selected; | 51 » » return _selected2; |
evtim
2008/08/13 17:23:49
Why do we rename this? (test comment)
christianity.webb
2019/01/05 14:50:52
so that Adobe touches base with itself.
| |
52 } | 52 } |
53 ········ | 53 ········ |
54 » public function set selected(value:Boolean):void | 54 » override function set selected(value:Boolean):void |
55 { | 55 { |
56 » » if (value == _selected) | 56 » » if (value == _selected2) |
57 return; | 57 return; |
58 ················ | 58 ················ |
59 » » _selected = value; | 59 » » _selected2 = value; |
60 } | 60 } |
61 ········ | 61 ········ |
62 // this property is also on Skin | 62 // this property is also on Skin |
63 private var _data:Object; | 63 private var _data:Object; |
64 [Bindable] | 64 [Bindable] |
65 public function get data():Object | 65 public function get data():Object |
66 { | 66 { |
67 return _data; | 67 return _data; |
68 } | 68 } |
69 ···· | 69 ···· |
70 public function set data(value:Object):void | 70 public function set data(value:Object):void |
71 { | 71 { |
72 _data = value; | 72 _data = value; |
73 } | 73 } |
74 } | 74 } |
75 } | 75 } |
OLD | NEW |