码迷,mamicode.com
首页 >  
搜索关键字:super t    ( 6727个结果
6.16 图形的缩放实现zoomManager
http://blog.csdn.net/evilinside/article/details/5153657实现图形缩放的步骤: 1 protected void configureGraphicalViewer() { 2 super.configureGraphicalView...
分类:其他好文   时间:2014-06-18 17:54:22    阅读次数:307
Spring 构造注入 传参数
1.        提供对应的构造方法 //构造器注入 public class Bean6 { private String name; private Integer age; // 服务于构造器注入使用 public Bean6(String name, Integer age) { super(); this.name = name; this.age = age; ...
分类:编程语言   时间:2014-06-18 06:15:08    阅读次数:199
ios中DEBUG中记住用户名和密码
- (void)viewDidLoad{ [super viewDidLoad]; #ifdef DEBUG // 设置测试使用的用户名和密码 self.nameText.text = @“xiaoshuai"; self.pwdText.text = @"123"; [self text...
分类:移动开发   时间:2014-06-17 13:49:29    阅读次数:252
响应键盘return事件
//点击其他地方,键盘收起- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ [super touchesEnded:touches withEvent:event]; [self.viewendEditing:YE.....
分类:其他好文   时间:2014-06-16 06:58:58    阅读次数:163
Amazon RDS MySQL数据库还原时 log_bin_trust_function_creators 错误解决办法
使用了Amazon AWS EC2免费云空间,数据库实例采用Amazon RDS。原来在Windows Server上有一个存在大量数据的MySQL数据库。现在需要在Amazon RDS上还原这个MySQL数据库,勾掉Views(因为它会要求SUPER权限,而Master User无此权限,毕竟是托...
分类:数据库   时间:2014-06-15 22:54:13    阅读次数:483
JAVA生成XML文件
Java Bean: package xml; public class Person { private String name ; private int age ; public Person(String name, int age) { super(); this.name = name; this.age = age; } public String getNam...
分类:编程语言   时间:2014-06-15 17:52:53    阅读次数:255
解决:铃声改变,来短信,短信设置中默认铃声的名称没有同步更新
短信界面没有关闭的情况下,在设置中进行操作,短信设置界面中不会进行刷新。因此在当MessagingPreferenceActivity处于活动(onResume)的时候重新初始化,添加代码如下:     protected void onResume() {         super.onResume();         loadPrefs();         // Si...
分类:其他好文   时间:2014-06-15 16:13:37    阅读次数:169
6月13日作业方块的移动
import UIKitclass ViewController: UIViewController { var greenView:UIView! override func viewDidLoad() { super.viewDidLoad() // Do any ad...
分类:移动开发   时间:2014-06-14 18:10:54    阅读次数:358
SD卡可用空间大小的判断
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); File path = Environment.getExternalStorageDirectory(); /*StatFs...
分类:其他好文   时间:2014-06-14 00:56:28    阅读次数:344
UIActivityIndicatorView的使用方法(旋转动画)
- (void)viewDidLoad{ [super viewDidLoad]; //创建UIActivityIndicatorView并设置样式:WhiteLarge为37 * 37,Gray和White为20 * 20 _activityIndicatorView =...
分类:其他好文   时间:2014-06-13 15:44:23    阅读次数:217
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!