我们先来看看前台JS: Ext.onReady(function() { Ext.QuickTips.init();// 浮动信息提示 Ext.form.Field.prototype.msgTarget = ‘side‘;// 设置控件的错误信息显示位置,主要可选的位置有:qtip,title,under,side...
分类:
Web程序 时间:
2014-08-04 14:50:28
阅读次数:
392
面向对象不是取代面向过程的类、对象。"人"是类,"张三"是人这个类的对象。类是抽象的,对象是具体的。按钮就是类,某个按钮就是对象。对象可以叫做类的实例。类就像int,对象就像10.字段field(和某个对象相关的变量),字段就是类的状态。人这个 类有姓名、年龄、身高等字段。类不占内存,对象才占内存。...
分类:
其他好文 时间:
2014-08-04 08:18:36
阅读次数:
251
val graph=GraphLoader.edgeListFile(sc,"/home/spark/spark/graphx/data/followers.txt")//加载边时顶点是边上出现的点,定点默认数据是1
val users = sc.textFile("/home/spark/spark/graphx/data/users.txt").map { line=>
val field...
分类:
其他好文 时间:
2014-08-01 23:17:12
阅读次数:
323
Playground
Time limit:
2s
Source limit:
50000B
Memory limit:
256MB
My kid's school cleared a large field on their property recently to convert it into a play...
分类:
其他好文 时间:
2014-08-01 19:43:32
阅读次数:
328
原文地址http://download.oracle.com/javafx/2.0/ui_controls/text-field.htm
TextField类实现了一种可以接受和显示文本输入的UI控件,它提供了接受用户输入的功能。和另一个文本输入控件PasswordField一起都继承了TextInput这个类,TextInput是所有文...
分类:
编程语言 时间:
2014-08-01 16:13:41
阅读次数:
1071
ioctl.h 分析
我自己画了个解析图。。。不要嫌弃丑啊。。。哈哈
type
The magic number. Just choose one number (after consultingioctl-number.txt ) and use it throughout the driver. This field is eight b...
分类:
其他好文 时间:
2014-08-01 10:55:41
阅读次数:
234
Page 2 Line 1, "reads" should be "read".Page 2 Line 5, "are initial velocity and initial magnetic field" should be"are initial velocity and initial ma...
分类:
其他好文 时间:
2014-07-31 16:47:06
阅读次数:
217
MySQL 1364 错误提示:#1364 - Field "details" doesn't have a default value。大概意思是:details字段没有默认的数值;也就是说我们没有为其分配数值,而表中此字段也没有设置默认值。这是MySQL5出来后搞出来的东东,认真看一下my.in...
分类:
数据库 时间:
2014-07-31 16:42:36
阅读次数:
1574
error message:原因: 从2.6.36开始,file_operations结构发生了重大变化具体看 xx../include/linux/fs.h定义:取消了原先的int (*ioctl)(struct inode*, struct file*, unsigned int, unsign...
分类:
其他好文 时间:
2014-07-31 16:19:37
阅读次数:
275
Ext.form.field.Time拓展自Ext.form.field.Picker组件,是带下来选择框的时间框输入字段;并且有自动的时间验证功能;代码示例: (function(){
Ext.onReady(function(){
Ext.QuickTips.init();
Ext.create...
分类:
Web程序 时间:
2014-07-30 23:48:35
阅读次数:
327