チェンジセット 37

差分発生行の前後
無視リスト:
コミット日時:
2007/07/28 16:48:31 (6 年前)
コミッタ:
munegon
ログメッセージ:

--

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • munegon/as3/src/com/voidelement/display/RepeatButton.as

    r35 r37  
    4242                 
    4343                /** 
    44                  * ボタン押下中のリピート処理を行うクラス 
    45                  * @param       target          マウスイベントを登録するための InteractiveObject インスタンス 
    46                  * @param       delay           リピート処理開始までの遅延時間 
    47                  * @param       interval        リピート処理間隔 
     44                 * �{�^���������̃��s�[�g��������N���X 
     45                 * @param       target          �}�E�X�C�x���g��^���邽�߂�InteractiveObject �C���X�^���X 
     46                 * @param       delay           ���s�[�g�����J�n�܂ł̒x������ 
     47                 * @param       interval        ���s�[�g�����Ԋu 
    4848                 */ 
    4949                public function RepeatButton( target:InteractiveObject, delay:uint = 500, interval:uint = 50 ) { 
     
    7070                 
    7171                /** 
    72                  * マウス押下 - リピート処理登録 
     72                 * �}�E�X���� - ���s�[�g�����o�^ 
    7373                 */ 
    7474                private function onMouseDown( e:MouseEvent ):void { 
     
    8888                 
    8989                /** 
    90                  * リピート処理 
     90                 * ���s�[�g���� 
    9191                 */ 
    9292                private function onMouseDownRepeat( e:TimerEvent ):void { 
     
    9898                 
    9999                /** 
    100                  * マウス押上 - リピート処理解除 
     100                 * �}�E�X���� ���s�[�g������ 
    101101                 */ 
    102102                private function onMouseUp( e:MouseEvent ):void { 
  • munegon/as3/src/com/voidelement/manager/DepthManager.as

    r36 r37  
    4040                 
    4141                /** 
    42                  * コンストラクタ 
     42                 * �R���X�g���N�^ 
    4343                 *  
    44                  * @param base 進度を管理するDisplayObjectContainer 
     44                 * @param base �i�x�������splayObjectContainer 
    4545                 */ 
    4646                public function DepthManager( container:DisplayObjectContainer ):void { 
     
    6161                 
    6262                /** 
    63                  * 末尾に子を追加する 
    64                  *  
    65                  * @param child 追加するDisplayObject 
     63                 * ����q������           *  
     64                 * @param child �lj����splayObject 
    6665                 */ 
    6766                public function addChild( child:DisplayObject ):DisplayObject { 
     
    7675                 
    7776                /** 
    78                  * 指定した深度に子を追加する 
    79                  *  
    80                  * @param child 追加するDisplayObject 
    81                  * @param depth 追加先深度 
     77                 * �w�肵���[�x�Ɏq������           *  
     78                 * @param child �lj����splayObject 
     79                 * @param depth �lj���x 
    8280                 */ 
    8381                public function addChildAt( child:DisplayObject, depth:int ):DisplayObject { 
     
    8886                                 
    8987                                if ( _dict[ child0 ] == depth ){ 
    90                                         // 指定深度に先客がいる場合は削除 
     88                                        // �w���x�ɐ����������͍폜 
    9189                                        removeChild( child0 ); 
    9290                                } 
     
    10199                 
    102100                /** 
    103                  * 指定した深度へ子を移動させる 
    104                  *  
    105                  * @param child 移動するDisplayObject 
    106                  * @param depth 移動先深度 
     101                 * �w�肵���[�x�֎q���������                *  
     102                 * @param child �ړ�����splayObject 
     103                 * @param depth �ړ����x 
    107104                 */ 
    108105                public function setDepth( child:DisplayObject, depth:int ):void { 
     
    117114                         
    118115                        if ( child0 != null ){ 
    119                                 // 指定深度に先客がいる場合は交換 
     116                                // �w���x�ɐ����������͌� 
    120117                                swapChildren( child, child0 ); 
    121118                        } else { 
     
    136133                 
    137134                /** 
    138                  * 指定した子の深度を取得する 
    139                  */ 
     135                 * �w�肵���q�̐[�x�������          */ 
    140136                public function getDepth( child:DisplayObject ):int { 
    141137                        return _dict[ child ]; 
     
    144140                 
    145141                /** 
    146                  * 子を交換する 
    147                  */ 
     142                 * �q�������             */ 
    148143                public function swapChildren( child1:DisplayObject, child2:DisplayObject ):void { 
    149144                        if ( child1 == child2 ){ 
     
    163158                 
    164159                /** 
    165                  * 指定した子を削除する 
    166                  *  
    167                  * @param child 削除するDisplayObject 
     160                 * �w�肵���q�������               *  
     161                 * @param child �폜����splayObject 
    168162                 */ 
    169163                public function removeChild( child:DisplayObject ):DisplayObject { 
     
    176170                 
    177171                /** 
    178                  * 指定深度の子を削除する 
    179                  *  
    180                  * @param depth 削除指定深度 
     172                 * �w���x�̎q�������              *  
     173                 * @param depth �폜�w���x 
    181174                 */ 
    182175                public function removeChildAt( depth:int ):DisplayObject { 
     
    194187                 
    195188                /** 
    196                  * 指定深度に該当する子のインデックスを返す 
     189                 * �w���x�ɊY�������̃C���f�b�N�X��� 
    197190                 */ 
    198191                private function searchIndex( depth:int ):int { 
     
    234227                 
    235228                /** 
    236                  *  指定深度に配置されているインスタンスを取得する 
    237                  */ 
     229                 *  �w���x�ɔz�u�����������X�^���X�������                 */ 
    238230                private function getInstanceAtDepth( depth:int ):DisplayObject { 
    239231                        return _dict[ depth ];