伸缩容器支持的属性有: 1,display 2,flex-direction 3,flex-wrap 4,flex-flow 5,justify-content 6,align-items 7,align-content 8,order 9,flex-grow 10,flex-basis 11,fl ...
分类:
微信 时间:
2018-09-09 14:57:09
阅读次数:
197
vsvim下载链接: https://marketplace.visualstudio.com/items?itemName=JaredParMSFT.VsVim 下载,关闭visual studio,安装,打开vs,调整快捷键冲突。 工具->选项->vsVIM,调整keyboard(include ...
分类:
系统相关 时间:
2018-09-08 23:33:30
阅读次数:
329
1)什么是字典(dict)dict.以{}表示.每一项用逗号隔开,内部元素用key:value的形式来保存数据{"jj":"林俊杰","jay":"周杰伦"}查询的效率非常高,通过key来查找元素内部使用key来计算一个内存地址(暂时),hash算法.key必须是不可变的数据类型(key必须是可哈希的数据类型)可哈希就
分类:
其他好文 时间:
2018-09-08 21:11:20
阅读次数:
164
django模板{%for%}中的forloop的应用 {% for k, v in data.items %} {{ k }}: {{ v }} {% endfor %} 这里假设data.items这个列表类似:[ [a,b],[c,d],[e,f]......]这种类型。那么我们可以使用{% ...
分类:
其他好文 时间:
2018-09-06 14:46:18
阅读次数:
111
By default, a list allows more than one item to be selected. Also, the selected items need not be contiguous. To change this default, see e781 设置JList ...
分类:
其他好文 时间:
2018-09-06 11:08:35
阅读次数:
179
The following methods return the indices of the selected items: The following methods return the selected item objects: ...
分类:
其他好文 时间:
2018-09-06 11:02:53
阅读次数:
198
These methods are used to find an item: These methods can be used to find the range of visible items: ...
分类:
其他好文 时间:
2018-09-06 11:02:37
阅读次数:
145
The default model for a list does not allow the addition and removal of items. The list must be created with a DefaultListModel. This method replaces ...
分类:
其他好文 时间:
2018-09-06 11:02:12
阅读次数:
147
// Create a list String[] items = {"A", "B", "C", "D"}; JList list = new JList(items); // Add a listener for mouse clicks list.addMouseListener(new Mo... ...
分类:
其他好文 时间:
2018-09-06 10:56:54
阅读次数:
117
When the set of items in a list component is changed, a list data event is fired. ...
分类:
其他好文 时间:
2018-09-06 10:52:44
阅读次数:
178