OSDN Git Service

Version 0.6.169, add doc comment.
[pettanr/clientJs.git] / 0.6.x / js / 20_ui / 06_AbstractUINode.js
index 87cea63..5e0dce7 100644 (file)
@@ -740,11 +740,11 @@ var XUI_AbstractUINode = X_EventDispatcher[ 'inherits' ](
                                };\r
                        };\r
                        \r
-                       arg1 && arg1.kind ? ( f = arg1 ) : ( f = X_Callback_classifyCallbackArgs( arg1, arg2, arg3 ) );\r
+                       arg1 && arg1.kind ? ( f = arg1 ) : ( f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 ) );\r
                        if( !f.kind ){\r
                                return X_EventDispatcher_listen.call( this, type, this.User, f );\r
                        } else\r
-                       if( f.kind === X_Callback_FUNC_ONLY ){\r
+                       if( f.kind === X_CLOSURE_FUNC_ONLY ){\r
                                return X_EventDispatcher_listen.call( this, type, this.User, f.func, f.supplement );\r
                        };\r
                        return X_EventDispatcher_listen.apply( this, arguments );\r
@@ -777,11 +777,11 @@ var XUI_AbstractUINode = X_EventDispatcher[ 'inherits' ](
                                        };\r
                                };\r
                        };\r
-                       arg1 && arg1.kind ? ( f = arg1 ) : ( f = X_Callback_classifyCallbackArgs( arg1, arg2, arg3 ) );\r
+                       arg1 && arg1.kind ? ( f = arg1 ) : ( f = X_Closure_classifyCallbackArgs( arg1, arg2, arg3 ) );\r
                        if( !f.kind ){\r
                                return X_EventDispatcher_unlisten.apply( this, [ type, this.User, f ] );\r
                        } else\r
-                       if( f.kind === X_Callback_FUNC_ONLY ){\r
+                       if( f.kind === X_CLOSURE_FUNC_ONLY ){\r
                                return X_EventDispatcher_unlisten.apply( this, [ type, this.User, f.func, f.supplement ] );\r
                        };\r
                        return X_EventDispatcher_unlisten.apply( this, arguments );\r
@@ -794,12 +794,12 @@ var XUI_AbstractUINode = X_EventDispatcher[ 'inherits' ](
                                type = e.type || e;\r
                        \r
                        // TODO captureEvent PointerEvent\r
-                       if( ret & X_Callback_CAPTURE_POINTER && !this.hitChildData && XUI_Event._POINTER_MOVE === type ){\r
+                       if( ret & X_CALLBACK_CAPTURE_POINTER && !this.hitChildData && XUI_Event._POINTER_MOVE === type ){\r
                                this.rootData.monopolyNodeData = this;\r
                                return ret;\r
                        };\r
                        this.rootData.monopolyNodeData = null;\r
-                       if( xve._START_BUBLEUP < type && this.parentData && !( ret & X_Callback_STOP_PROPAGATION ) && !( ret & X_Callback_STOP_NOW ) ) return this.parentData[ 'dispatch' ]( e );\r
+                       if( xve._START_BUBLEUP < type && this.parentData && !( ret & X_CALLBACK_STOP_PROPAGATION ) && !( ret & X_CALLBACK_STOP_NOW ) ) return this.parentData[ 'dispatch' ]( e );\r
                        return ret;\r
                },\r
                \r
@@ -1073,14 +1073,14 @@ X.UI.AbstractUINode = X_Class_create(
                                        for( i = 0, l = list.length; i < l; ++i ){\r
                                                f = list[ i ];\r
                                                switch( f.kind ){\r
-                                                       case X_Callback_THIS_FUNC :\r
+                                                       case X_CLOSURE_THIS_FUNC :\r
                                                                if( f.lock ){\r
                                                                        X_EventDispatcher_systemListen( newNode, type, f.context === this ? newNode : f.context, f.func, f.supplement );\r
                                                                } else {\r
                                                                        newNode[ f.once ? 'listenOnce' : 'listen' ]( type, f.context === this ? newNode : f.context, f.func, f.supplement );\r
                                                                };\r
                                                                break;\r
-                                                       case X_Callback_HANDLEEVENT :\r
+                                                       case X_CLOSURE_HANDLEEVENT :\r
                                                                if( f.lock ){\r
                                                                        X_EventDispatcher_systemListen( newNode, type, f.context === this ? newNode : f.context, f.supplement );\r
                                                                } else {\r
@@ -1088,7 +1088,7 @@ X.UI.AbstractUINode = X_Class_create(
                                                                };\r
                                                                break;\r
                                                        /*\r
-                                                       case X_Callback_FUNC_ONLY :\r
+                                                       case X_CLOSURE_FUNC_ONLY :\r
                                                                if( f.lock ){\r
                                                                        X_EventDispatcher_systemListen( newNode, type, f.func, f.supplement );\r
                                                                } else {\r