NXOpen .NET Reference  12.0.0
Public Member Functions | Properties | List of all members
NXOpen.ITableEditorDataProvider Interface Reference

Interface for providing basic data for a Table Editor block. More...

Inheritance diagram for NXOpen.ITableEditorDataProvider:
NXOpen.TableEditorDefaultDataProvider NXOpen.Tooling.BomListDataProvider NXOpen.Tooling.CostTableDataProvider

Public Member Functions

bool SetString (int rows, int column, string stringData)
 Sets string data at a particular location in the table. More...
 
bool SetString (int[] rows, int column, string stringData)
 Sets string data on a range of table cells in a specified column. More...
 
string GetString (int row, int column)
 Gets the string data at a particular location in the table. More...
 
bool SetInteger (int rows, int column, int integerData)
 Sets integer data at a particular location in the table. More...
 
bool SetInteger (int[] rows, int column, int integerData)
 Sets integer data on a range of table cells in a specified column. More...
 
int GetInteger (int row, int column, out bool isUnassigned)
 Gets the integer data at a particular location in the table. More...
 
bool SetDouble (int rows, int column, double doubleData)
 Sets double data at a particular location in the table. More...
 
bool SetDouble (int[] rows, int column, double doubleData)
 Sets double data on a range of table cells in a specified column. More...
 
double GetDouble (int row, int column, out bool isUnassigned)
 Gets the double data at a particular location in the table. More...
 
bool SetBoolean (int rows, int column, bool booleanData)
 Sets boolean data at a particular location in the table. More...
 
bool SetBoolean (int[] rows, int column, bool booleanData)
 Sets boolean data on a range of table cells in a specified column. More...
 
bool GetBoolean (int row, int column)
 Gets the boolean data at a particular location in the table. More...
 
bool UnsetValue (int row, int column)
 Unsets the data at a particular location in the table. More...
 
bool UnsetValue (int[] rows, int column)
 Unsets the data on a range of table cells in a specified column. More...
 
void Destroy ()
 Deletes the data provider. More...
 

Properties

int ColumnCount [get, set]
 Returns or sets the number of columns in the table More...
 
int RowCount [get, set]
 Returns or sets the number of rows in the table More...
 

Detailed Description

Interface for providing basic data for a Table Editor block.

Created in NX10.0.0

Member Function Documentation

void NXOpen.ITableEditorDataProvider.Destroy ( )

Deletes the data provider.

This method should always be called when the data provider is no longer needed.

Created in NX11.0.0

License requirements: None.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.GetBoolean ( int  row,
int  column 
)

Gets the boolean data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowthe rows to query
columnthe column to query
Returns
the boolean data at the row and column specified

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

double NXOpen.ITableEditorDataProvider.GetDouble ( int  row,
int  column,
out bool  isUnassigned 
)

Gets the double data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowthe rows to query
columnthe column to query
isUnassignedis the value unassigned
Returns
the double data at the row and column specified

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

int NXOpen.ITableEditorDataProvider.GetInteger ( int  row,
int  column,
out bool  isUnassigned 
)

Gets the integer data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowthe rows to query
columnthe column to query
isUnassignedis the value unassigned
Returns
the integer data at the row and column specified

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

string NXOpen.ITableEditorDataProvider.GetString ( int  row,
int  column 
)

Gets the string data at a particular location in the table.

Created in NX10.0.0

License requirements: None.

Parameters
rowthe rows to query
columnthe column to query
Returns
the string data at the row and column specified

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.SetBoolean ( int  rows,
int  column,
bool  booleanData 
)

Sets boolean data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe row to set
columnthe column to set
booleanDatathe boolean data to set
Returns
whether or not the data was successfully set.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.SetBoolean ( int[]  rows,
int  column,
bool  booleanData 
)

Sets boolean data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe rows to set
columnthe column to be set
booleanDatathe boolean data to set
Returns
whether or not the data was successfully set.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.SetDouble ( int  rows,
int  column,
double  doubleData 
)

Sets double data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe row to set
columnthe column to set
doubleDatathe double data to set
Returns
whether or not the data was successfully set.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.SetDouble ( int[]  rows,
int  column,
double  doubleData 
)

Sets double data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe rows to set
columnthe column to be set
doubleDatathe double data to set
Returns
whether or not the data was successfully set.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.SetInteger ( int  rows,
int  column,
int  integerData 
)

Sets integer data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe row to set
columnthe column to set
integerDatathe integer data to set
Returns
whether or not the data was successfully set.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.SetInteger ( int[]  rows,
int  column,
int  integerData 
)

Sets integer data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe rows to set
columnthe column to be set
integerDatathe integer data to set
Returns
whether or not the data was successfully set.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.SetString ( int  rows,
int  column,
string  stringData 
)

Sets string data at a particular location in the table.

Created in NX10.0.0

License requirements: None.

Parameters
rowsthe row to set
columnthe column to set
stringDatathe string data to set
Returns
whether or not the data was successfully set.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.SetString ( int[]  rows,
int  column,
string  stringData 
)

Sets string data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Created in NX10.0.0

License requirements: None.

Parameters
rowsthe rows to set
columnthe column to be set
stringDatathe string data to set
Returns
whether or not the data was successfully set.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.UnsetValue ( int  row,
int  column 
)

Unsets the data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowthe row to unset
columnthe column to unset
Returns
whether or not the data was successfully unset.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

bool NXOpen.ITableEditorDataProvider.UnsetValue ( int[]  rows,
int  column 
)

Unsets the data on a range of table cells in a specified column.

Returns whether any data was successfully unset.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe rows to unset
columnthe column to be unset
Returns
whether or not the data was successfully unset.

Implemented in NXOpen.Tooling.BomListDataProvider, NXOpen.Tooling.CostTableDataProvider, and NXOpen.TableEditorDefaultDataProvider.

Property Documentation

int NXOpen.ITableEditorDataProvider.ColumnCount
getset

Returns or sets the number of columns in the table

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: None.

int NXOpen.ITableEditorDataProvider.RowCount
getset

Returns or sets the number of rows in the table

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: None.


The documentation for this interface was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.