Dg Class
Drag框架的基础对象
Item Index
Methods
- findDraw static
- getKeyCode static
- isDraw static
- isNode static
- listNodes static
Properties
- VERSION static
Methods
findDraw
(
Obejct
static
-
n
查找节点的布局面板节点
Parameters:
-
n
Obejct指定节点
Returns:
Obejct:
找到返回布局面板节点否则返回null
getKeyCode
(
Integer
static
-
e
添加子节点到当前节点中
Parameters:
-
e
Events事件对象
Returns:
Integer:
当前按键对于键码值
isDraw
(
Boolean
static
-
n
判断实例是否为布局面板
Parameters:
-
n
Obejct指定节点
Returns:
Boolean:
如果是返回true
isNode
(
Boolean
static
-
n
判断实例是否为节点
Parameters:
-
n
Obejct指定节点
Returns:
Boolean:
如果是返回true
listNodes
(
static
-
n
-
fuc
迭代给定的节点列表,并回调执行方法
Parameters:
-
n
Obejct指定节点或者节点列表
-
fuc
Function需执行的方法
Properties
VERSION
String
final
static
设定当前版本