nsITreeColumn

The nsITreeColumn interface represents a tree column.

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 nsIAtom The atom attribute of nsITreeColumn which returns an nsIAtom for the column, making it fast to do comparisons. Read only. Native code only!
columns nsITreeColumns 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 nsIDOMElement 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