nsITreeColumn 编辑
The nsITreeColumn
interface represents a tree column.
layout/xul/base/src/tree/public/nsITreeColumns.idl
Scriptable Please add a summary to this article. Last changed in Gecko 1.9 (Firefox 3)Inherits from: nsISupports
Method overview
void getIdConst([shared] out wstring idConst); Native code only! |
nsITreeColumn getNext(); |
nsITreeColumn getPrevious(); |
void invalidate(); |
Attributes
Attribute | Type | Description |
atom |
| The atom attribute of nsITreeColumn which returns an nsIAtom for the column, making it fast to do comparisons. Read only. Native code only! |
columns |
| The nsITreeColumns containing this column. Read only. |
cycler | boolean | If true , then the column is a cycler column. If the cycler attribute is not set, the column cells are regular text cells. Read only. |
editable | boolean | If true the nsITreeColumn content is editable. If the editable attribute is not set, the column cells are not editable. Read only. |
element |
| The treecol element. Read only. |
id | AString | The id attribute of the nsITreeColumn . Read only. |
index | long | The index of the nsITreeColumn in displayed order. Read only. |
primary | boolean | If true the nsITreeColumn is the primary column. If the primary attribute is not set, the column is not the primary column. Read only. |
selectable | boolean | If true the nsITreeColumn is able to be selected. If the selectable attribute is not set, the column cells are not selectable. Read only. |
type | short | The type of the column, see constants. Read only. |
width | long | The width of nsITreeColumn . Read only. |
x | long | The X position in the tree of the left edge of the nsITreeColumn . Read only. |
Constants
Constant | Value | Description |
TYPE_TEXT | 1 | Text column type. |
TYPE_CHECKBOX | 2 | Checkbox column type. |
TYPE_PROGRESSMETER | 3 | Progress meter column type. |
Methods
Native code only!getIdConst
void getIdConst( [shared] out wstring idConst );
Parameters
idConst
getNext()
Get the next column in the nsITreeColumns.
nsITreeColumn getNext();
Parameters
None.
Return value
The next nsITreeColumn
in the nsITreeColumns
.
getPrevious()
Get the previous column in the nsITreeColumn.
nsITreeColumn getPrevious();
Parameters
None.
Return value
The previous nsITreeColumn
in the nsITreeColumns
.
invalidate()
void invalidate();
Parameters
None.
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论