码迷,mamicode.com
首页 >  
搜索关键字:cell    ( 5130个结果
leetcode 之 Word Search
Word Search Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those...
分类:其他好文   时间:2014-09-06 22:34:14    阅读次数:261
使用鼠标监听器,使鼠标悬停在JTable某行时背景色改变
一、需要知道的事实:1、当鼠标悬停在JTable上时,相应的格子(cell)的渲染器(TableCellRenderer)的渲染方法(getTableCellRenererComponent)会被调用,但不够及时(这一点可以通过在渲染方法里打印一句话来自行测试),而且只是鼠标覆盖的格子的渲染方法会被...
分类:其他好文   时间:2014-09-05 19:40:51    阅读次数:220
iOS UICollectionView 纯代码,无xib
//     1)  必须使用下面的方法进行Cell类的注册:     //    - (void)registerClass:forCellWithReuseIdentifier:     //    - (void)registerClass:forSupplementaryViewOfKind:withReuseIdentifier:     //    - (voi...
分类:移动开发   时间:2014-09-05 14:24:21    阅读次数:270
图片垂直居中
http://blog.csdn.net/dyllove98/article/details/89669101.利用table-cell实现居中,font-size做兼容兼容IE6+/FF/Chrome优点:不添加任何多余标签,兼容主流浏览器 /* 样式 */.box-1{ display:...
分类:其他好文   时间:2014-09-05 14:19:21    阅读次数:184
重用标识
-(UITableViewCell*)tableView:(UITableView*)tableViewcellForRowAtIndexPath:(NSIndexPath*)indexPath{//重用标识符staticNSString*identifider=@"reuse";//去重用队列中根据标识符取可重用的cellAddressBookCell*cell=[tableViewdequeueReusableCellWithIdentifier:identifi..
分类:其他好文   时间:2014-09-05 03:24:31    阅读次数:208
POJ 1838 Banana (并查集)
Description Consider a tropical forrest, represented as a matrix. The cell from the right top corner of the matrix has the coordinates (1,1), and the coordinates of the other cells are determinated...
分类:其他好文   时间:2014-09-05 01:01:10    阅读次数:282
The maximum number of cell styles was exceeded. You can define up to 4000 styles
POI操作Excel中,导出的数据不是很大时,则不会有问题,而数据很多或者比较多时,就会报以下的错误,是由于cell styles太多create造成,故一般可以把cellstyle设置放到循环外面报错如下:Caused by: java.lang.IllegalStateException: Th...
分类:其他好文   时间:2014-09-04 23:29:21    阅读次数:408
iOS_29仿微信聊天界面
最终效果图: 自定义cell的封装 BeyondCell // // BeyondCell.h // 29_仿微信聊天 // // Created by beyond on 14-9-4. // Copyright (c) 2014年 com.beyond. All rights reserved. // #import @class Beyo...
分类:微信   时间:2014-09-04 22:21:10    阅读次数:488
UICollectionView自定义Layout之蜂窝布局
网上的UICollectionView的Layout布局,其cell的形状多为矩形和圆形。 本篇博文将正六边形作为cell的基本形状,为您展现独特的蜂窝布局效果及实现源码。 帮助您让自己的App脱颖而出,更加与众不同。...
分类:其他好文   时间:2014-09-02 21:28:15    阅读次数:342
TableViewCell Swipe to Delete and More Button(like mail app in iOS7 or later)
在iOS7系统的Mail App中TableViewCell的一个功能让我们做TableView的比较羡慕,就是滑动cell,右边出现了两个按钮,如下:网上在github上有很多大牛用custom tableViewCell的方法实现了这个效果,甚至更强,比如这两位:https://github.c...
分类:移动开发   时间:2014-09-01 22:33:53    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!