Interface ITreeViewTable
A JavaFX TreeViewTable.
Inherited Members
Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITreeViewTable : ITreeViewBase, ITableBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
Properties
ColumnHeaders
Returns the column headers.
Declaration
IReadOnlyCollection<string> ColumnHeaders { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyCollection<string> |
ColumnsCount
Returns the number of columns in the table.
Declaration
int ColumnsCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
RowsCount
Returns the number of rows in the table.
Declaration
int RowsCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
SelectedNodes
Returns the selected nodes in the tree.
Declaration
IReadOnlyList<ITreeViewTableRow> SelectedNodes { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ITreeViewTableRow> |
Methods
Activate(string)
Activates a node or row in the tree view table. Tip: Use the HP.LFT.SDK.Technologies.Java.API.ITreeViewBase#BuildNodePath method to build the node path strings to be used as arguments for this method.
Declaration
void Activate(string nodePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | nodePath | The full path of the node to activate within the tree. |
Collapse(int)
Collapses the expandable node in the tree.
Declaration
void Collapse(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The 0-based index of the node or row to collapse. |
Collapse(string)
Collapses the expandable node in the tree.
Declaration
void Collapse(string nodePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | nodePath | The full path of the node to collapse within the tree. |
Deselect(params ITreeViewTableRow[])
Clears he selection of nodes in the tree.
Declaration
void Deselect(params ITreeViewTableRow[] nodes)
Parameters
| Type | Name | Description |
|---|---|---|
| ITreeViewTableRow[] | nodes |
DeselectColumn(int)
Unselects column by column index.
Declaration
void DeselectColumn(int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | column | 0-based index of the column. |
Remarks
Important: This method is not supported for SWT tables.
DeselectColumn(string)
Unselects column by column header.
Declaration
void DeselectColumn(string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnHeader | Header of the column. |
DeselectRowsRange(ITreeViewTableRow, ITreeViewTableRow)
Unselects rows by ITreeViewTableRow.
Declaration
void DeselectRowsRange(ITreeViewTableRow fromRow, ITreeViewTableRow toRow)
Parameters
| Type | Name | Description |
|---|---|---|
| ITreeViewTableRow | fromRow | The first ITreeViewTableRow. |
| ITreeViewTableRow | toRow | The last ITreeViewTableRow. |
Expand(int)
Expands the expandable node in the tree.
Declaration
void Expand(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The 0-based index of the node or row to expand. |
Expand(string)
Expands the expandable node in the tree.
Declaration
void Expand(string nodePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | nodePath | The full path of the node to expand within the tree. |
ExtendSelect(params ITreeViewTableRow[])
Selects additional nodes in the tree.
Declaration
void ExtendSelect(params ITreeViewTableRow[] nodes)
Parameters
| Type | Name | Description |
|---|---|---|
| ITreeViewTableRow[] | nodes | The nodes to add to the selection. |
GetNode(int)
Returns the value of the specified node.
Declaration
ITreeViewTableRow GetNode(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The 0-based index of the node or row you want to retrieve. |
Returns
| Type | Description |
|---|---|
| ITreeViewTableRow | The value of the specified node. |
Select(params ITreeViewTableRow[])
Selects the specified nodes.
Declaration
void Select(params ITreeViewTableRow[] nodes)
Parameters
| Type | Name | Description |
|---|---|---|
| ITreeViewTableRow[] | nodes | The nodes to select. |
SelectColumn(int)
Selects column by column index.
Declaration
void SelectColumn(int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | column | 0-based index. |
SelectColumn(string)
Selects column by column header.
Declaration
void SelectColumn(string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnHeader | Header of the column. |
SelectRange(ITreeViewTableRow, ITreeViewTableRow)
Selects the specified range of nodes.
Declaration
void SelectRange(ITreeViewTableRow fromNode, ITreeViewTableRow toNode)
Parameters
| Type | Name | Description |
|---|---|---|
| ITreeViewTableRow | fromNode | The first node in the range. |
| ITreeViewTableRow | toNode | The last node of the range. |
SelectRowsRange(ITreeViewTableRow, ITreeViewTableRow)
Seects a rane of ows by row objects.
Declaration
void SelectRowsRange(ITreeViewTableRow fromRow, ITreeViewTableRow toRow)
Parameters
| Type | Name | Description |
|---|---|---|
| ITreeViewTableRow | fromRow | The first ITreeViewTableRow. |
| ITreeViewTableRow | toRow | The last ITreeViewTableRow. |