チェンジセット 117
- コミット日時:
- 2007/11/27 20:06:30 (6 年前)
- ファイル:
-
- ido/as2/src/jp/ojos/button/BaseButton.as (更新) (10 diffs)
- ido/as2/src/jp/ojos/button/SwitchingButton.as (更新) (1 diff)
- ido/as2/src/jp/ojos/core/BaseObject.as (更新) (3 diffs)
- ido/as2/src/jp/ojos/core/Group.as (更新) (2 diffs)
- ido/as2/src/jp/ojos/event/EventBroadcaster.as (更新) (1 diff)
- ido/as2/src/jp/ojos/movieclip/BaseMovieClip.as (更新) (9 diffs)
- ido/as2/src/jp/ojos/movieclip/EnterFrameMovieClip.as (更新) (1 diff)
- ido/as2/src/jp/ojos/movieclip/SwitchingMovieClip.as (更新) (1 diff)
- ido/as2/src/jp/ojos/sound/SoundManager.as (更新) (5 diffs)
- ido/as2/src/jp/ojos/textfield/BaseTextField.as (更新) (4 diffs)
- ido/as2/src/jp/ojos/textfield/SwitchingTextField.as (更新) (1 diff)
- ido/as2/src/jp/ojos/ui/Slider.as (更新) (5 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
ido/as2/src/jp/ojos/button/BaseButton.as
r114 r117 192 192 }; 193 193 194 /** 195 * @sends onRollOver = function(sender:BaseButton) {} 196 */ 194 197 private function $onRollOver():Void 195 198 { … … 199 202 } 200 203 204 /** 205 * @sends onRollOver = function(sender:BaseButton) {} 206 */ 201 207 private function $onRollOut():Void 202 208 { … … 206 212 } 207 213 214 /** 215 * @sends onRelease = function(sender:BaseButton) {} 216 */ 208 217 private function $onRelease():Void 209 218 { … … 213 222 } 214 223 224 /** 225 * @sends onReleaseOutside = function(sender:BaseButton) {} 226 */ 215 227 private function $onReleaseOutside():Void 216 228 { … … 220 232 } 221 233 234 /** 235 * @sends onPress = function(sender:BaseButton) {} 236 */ 222 237 private function $onPress():Void 223 238 { … … 227 242 } 228 243 244 /** 245 * @sends onDragOut = function(sender:BaseButton) {} 246 */ 229 247 private function $onDragOut():Void 230 248 { … … 234 252 } 235 253 254 /** 255 * @sends onDragOver = function(sender:BaseButton) {} 256 */ 236 257 private function $onDragOver():Void 237 258 { … … 241 262 } 242 263 264 /** 265 * @sends onKeyDown = function(sender:BaseButton) {} 266 */ 243 267 private function $onKeyDown():Void 244 268 { … … 248 272 } 249 273 274 /** 275 * @sends onKeyUp = function(sender:BaseButton) {} 276 */ 250 277 private function $onKeyUp():Void 251 278 { … … 255 282 } 256 283 257 private function $onKillFocus():Void 284 /** 285 * @sends onKillFocus = function(sender:BaseButton, newFocus:Object) {} 286 */ 287 private function $onKillFocus(newFocus:Object):Void 258 288 { 259 289 this._onKillFocus.apply( this, arguments ); 260 290 this.$startSound( BaseButton.EVENT_KILL_FOCUS ); 261 this.dispatchEvent( BaseButton.EVENT_KILL_FOCUS, this ); 262 } 263 264 private function $onSetFocus():Void 291 this.dispatchEvent( BaseButton.EVENT_KILL_FOCUS, this, newFocus ); 292 } 293 294 /** 295 * @sends onSetFocus = function(sender:BaseButton, oldFocus:Object) {} 296 */ 297 private function $onSetFocus(oldFocus:Object):Void 265 298 { 266 299 this._onSetFocus.apply( this, arguments ); 267 300 this.$startSound( BaseButton.EVENT_SET_FOCUS ); 268 this.dispatchEvent( BaseButton.EVENT_SET_FOCUS, this );301 this.dispatchEvent( BaseButton.EVENT_SET_FOCUS, this, oldFocus ); 269 302 } 270 303 ido/as2/src/jp/ojos/button/SwitchingButton.as
r114 r117 66 66 } 67 67 68 /** 69 * @sends onChangeState = function(sender:SwitchingMovieClip, currentState:String) {} 70 */ 68 71 public function switchState(stateName:String, func:Function, inclusionList:Object):Boolean 69 72 { ido/as2/src/jp/ojos/core/BaseObject.as
r114 r117 28 28 * @param locked: <strong>[optional]</strong>trueの場合はlock()、falseの場合はunlock();を呼び出す 29 29 * @param initObject: <strong>[optional]</strong>ここで定義されたイベントハンドラやプロパティはこのオブジェクトに設定される 30 * @sends onInitComplete = function(sender:BaseObject) {} 30 31 */ 31 32 public function init(locked:Boolean, initObject:Object):Void … … 69 70 /** 70 71 * ロックする 72 * 73 * @sends onLock = function(sender:BaseObject) {} 71 74 */ 72 75 public function lock():Void … … 81 84 /** 82 85 * ロックを解除する 86 * 87 * @sends onUnlock = function(sender:BaseObject) {} 83 88 */ 84 89 public function unlock():Void ido/as2/src/jp/ojos/core/Group.as
r114 r117 155 155 } 156 156 157 /** 158 * @sends onChangeState = function(sender:Group, currentState:String) {} 159 */ 157 160 public function switchState(stateName:String, func:Function, inclusionList:Object):Boolean 158 161 { … … 220 223 } 221 224 225 /** 226 * @sends onChangePercent = function(sender:Group, percent:Percent) {} 227 */ 222 228 public function setPercent(percent:Percent):Void 223 229 { ido/as2/src/jp/ojos/event/EventBroadcaster.as
r114 r117 3 3 4 4 /** 5 * dispatchEvent時にaddEventObserverで登録した引数変換関数を 適用できる5 * dispatchEvent時にaddEventObserverで登録した引数変換関数を登録できる 6 6 * 7 7 * @author Tsuyoshi Aizu ido/as2/src/jp/ojos/movieclip/BaseMovieClip.as
r114 r117 110 110 * @param locked: <strong>[optional]</strong>trueの場合はlock()、falseの場合はunlock();を呼び出す 111 111 * @param initObject: <strong>[optional]</strong>ここで定義されたイベントハンドラやプロパティはこのオブジェクトに設定される 112 * @sends onInitComplete = function(sender:BaseMovieClip) {} 112 113 */ 113 114 public function init(locked:Boolean, initObject:Object):Void … … 152 153 * ロックし、on〜のイベントハンドラを無効にする 153 154 * ただし、mouseDown、mouseUp、keyDown、keyUpなどは引き続き受け取ります。 155 * 156 * @sends onLock = function(sender:BaseMovieClip) {} 154 157 */ 155 158 public function lock():Void … … 166 169 /** 167 170 * ロックを解除する 171 * 172 * @sends onUnlock = function(sender:BaseMovieClip) {} 168 173 */ 169 174 public function unlock():Void … … 247 252 /** 248 253 * MovieClip.onDataを参照 254 * 255 * @sends onData = function(sender:BaseMovieClip) {} 249 256 */ 250 257 public function onData():Void … … 264 271 /** 265 272 * MovieClip.onLoadを参照 273 * 274 * @sends onLoad = function(sender:BaseMovieClip) {} 266 275 */ 267 276 public function onLoad():Void … … 281 290 /** 282 291 * MovieClip.onUnloadを参照 292 * 293 * @sends onUnload = function(sender:BaseMovieClip) {} 283 294 */ 284 295 public function onUnload():Void … … 298 309 /** 299 310 * MovieClip.onMouseDownを参照 311 * 312 * @sends onMouseDown = function(sender:BaseMovieClip) {} 300 313 */ 301 314 public function onMouseDown():Void … … 315 328 /** 316 329 * MovieClip.onMouseUpを参照 330 * 331 * @sends onMouseUp = function(sender:BaseMovieClip) {} 317 332 */ 318 333 public function onMouseUp():Void … … 332 347 /** 333 348 * MovieClip.onMouseMoveを参照 349 * 350 * @sends onMouseMove = function(sender:BaseMovieClip) {} 334 351 */ 335 352 public function onMouseMove():Void ido/as2/src/jp/ojos/movieclip/EnterFrameMovieClip.as
r114 r117 37 37 /** 38 38 * MovieClip.onEnterFrameを参照 39 * 40 * @sends onEnterFrame = function(sender:BaseMovieClip) {} 39 41 */ 40 42 public function onEnterFrame():Void ido/as2/src/jp/ojos/movieclip/SwitchingMovieClip.as
r114 r117 64 64 } 65 65 66 /** 67 * @sends onChangeState = function(sender:SwitchingMovieClip, currentState:String) {} 68 */ 66 69 public function switchState(stateName:String, func:Function, inclusionList:Object):Boolean 67 70 { ido/as2/src/jp/ojos/sound/SoundManager.as
r114 r117 599 599 * @param volume: 音量 600 600 * @param manual: <strong>[optional]</strong>自動スタート、自動ストップをしない場合はtrue、そうでない場合はfalse 601 * @sends onVolumeIn = function(soundName:String, 'on') {} 602 * @sends onVolumeOut = function(soundName:String, 'off') {} 603 * @sends onChangePosition = function(soundName:String, volume:Number) {} 601 604 */ 602 605 public function setVolume(name:String, volume:Number, manual:Boolean):Void … … 702 705 } 703 706 707 /** 708 * @sends onStart = function(soundName:String) {} 709 */ 704 710 private function $onStart(tween:Tween):Void 705 711 { … … 707 713 } 708 714 715 /** 716 * @sends onStop = function(soundName:String) {} 717 */ 709 718 private function $onStop(tween:Tween):Void 710 719 { … … 716 725 this.setVolume( tween['soundName'], position, tween['manual'] ); 717 726 } 718 727 728 /** 729 * @sends onChangePercent = function(soundName:String, percent:Percent) {} 730 */ 719 731 private function $onProgress(tween:Tween, percent:Percent):Void 720 732 { … … 722 734 } 723 735 736 /** 737 * @sends onComplete = function(soundName:String) {} 738 */ 724 739 private function $onComplete(tween:Tween):Void 725 740 { ido/as2/src/jp/ojos/textfield/BaseTextField.as
r114 r117 612 612 /** 613 613 * TextField.onScrollerを参照 614 * 615 * @sends onScroller = function(sender:BaseTextField) {} 614 616 */ 615 617 public function onScroller():Void … … 629 631 /** 630 632 * TextField.onChangedを参照 633 * 634 * @sends onChanged = function(sender:BaseTextField) {} 631 635 */ 632 636 public function onChanged():Void … … 646 650 /** 647 651 * TextField.onKillFocusを参照 652 * 653 * @sends onKillFocus = function(sender:BaseTextField, newFocus:Object) {} 648 654 */ 649 655 public function onKillFocus(newFocus:Object):Void … … 663 669 /** 664 670 * TextField.onSetFocusを参照 671 * 672 * @sends onSetFocus = function(sender:BaseTextField, oldFocus:Object) {} 665 673 */ 666 674 public function onSetFocus(oldFocus:Object):Void ido/as2/src/jp/ojos/textfield/SwitchingTextField.as
r114 r117 64 64 } 65 65 66 /** 67 * @sends onChangeState = function(sender:SwitchingMovieClip, currentState:String) {} 68 */ 66 69 public function switchState(stateName:String, func:Function, inclusionList:Object):Boolean 67 70 { ido/as2/src/jp/ojos/ui/Slider.as
r114 r117 133 133 } 134 134 135 /** 136 * @sends onChangePercent = function(sender:Group, percent:Percent) {} 137 */ 135 138 public function setPercent(percent:Percent):Void 136 139 { … … 188 191 /** 189 192 * handleが動いたことを通知する 193 * 194 * @sends onMoveHandle = function(sender:Slider, x:Number, y:Number) {} 190 195 */ 191 196 public function moveHandle():Void … … 198 203 } 199 204 205 /** 206 * @sends onPressHandle = function(sender:Slider) {} 207 */ 200 208 private function $onPressHandle():Void 201 209 { … … 211 219 } 212 220 221 /** 222 * @sends onReleaseHandle = function(sender:Slider) {} 223 */ 213 224 private function $onReleaseHandle():Void 214 225 { … … 221 232 } 222 233 234 /** 235 * @sends onReleaseRange = function(sender:Slider) {} 236 */ 223 237 private function $onReleaseRange():Void 224 238 {

