The nsITreeColumn
interface represents a tree column.
Inherits from: nsISupports
void getIdConst([shared] out wstring idConst); Native code only! |
nsITreeColumn getNext(); |
nsITreeColumn getPrevious(); |
void invalidate(); |
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. |
Constant | Value | Description |
TYPE_TEXT | 1 | Text column type. |
TYPE_CHECKBOX | 2 | Checkbox column type. |
TYPE_PROGRESSMETER | 3 | Progress meter column type. |
void getIdConst( [shared] out wstring idConst );
idConst
Get the next column in the nsITreeColumns.
nsITreeColumn getNext();
None.
The next nsITreeColumn
in the nsITreeColumns
.
Get the previous column in the nsITreeColumn.
nsITreeColumn getPrevious();
None.
The previous nsITreeColumn
in the nsITreeColumns
.
void invalidate();
None.