NX Open C++ Reference Guide
|
Provides basic data for a Table Editor block. More...
Public Member Functions | |
virtual int | ColumnCount () |
Returns the number of columns in the table Created in NX10.0.0. More... | |
virtual NXString | GetString (int row, int column) |
Gets the string data at a particular location in the table. More... | |
virtual int | RowCount () |
Returns the number of rows in the table Created in NX10.0.0. More... | |
virtual void | SetColumnCount (int columnCount) |
Sets the number of columns in the table Created in NX10.0.0. More... | |
virtual void | SetRowCount (int rowCount) |
Sets the number of rows in the table Created in NX10.0.0. More... | |
virtual bool | SetString (int rows, int column, const NXString &stringData) |
Sets string data at a particular location in the table. More... | |
virtual bool | SetString (int rows, int column, const char *stringData) |
Sets string data at a particular location in the table. More... | |
virtual bool | SetString (const std::vector< int > &rows, int column, const NXString &stringData) |
Sets string data on a range of table cells in a specified column. More... | |
virtual bool | SetString (const std::vector< int > &rows, int column, const char *stringData) |
Sets string data on a range of table cells in a specified column. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Provides basic data for a Table Editor block.
To create a new instance of this class, use NXOpen::Session::CreateTableEditorDefaultDataProvider
Created in NX10.0.0.
|
virtual |
Returns the number of columns in the table
Created in NX10.0.0.
License requirements : None
Implements NXOpen::ITableEditorDataProvider.
|
virtual |
Gets the string data at a particular location in the table.
row | the rows to query |
column | the column to query |
Implements NXOpen::ITableEditorDataProvider.
|
virtual |
Returns the number of rows in the table
Created in NX10.0.0.
License requirements : None
Implements NXOpen::ITableEditorDataProvider.
|
virtual |
Sets the number of columns in the table
Created in NX10.0.0.
License requirements : None
columnCount | the number of columns in the table |
Implements NXOpen::ITableEditorDataProvider.
|
virtual |
Sets the number of rows in the table
Created in NX10.0.0.
License requirements : None
rowCount | the number of columns in the table |
Implements NXOpen::ITableEditorDataProvider.
|
virtual |
Sets string data at a particular location in the table.
rows | the row to set |
column | the column to set |
stringData | the string data to set |
Implements NXOpen::ITableEditorDataProvider.
|
virtual |
Sets string data at a particular location in the table.
rows | the row to set |
column | the column to set |
stringData | the string data to set |
Implements NXOpen::ITableEditorDataProvider.
|
virtual |
Sets string data on a range of table cells in a specified column.
Returns whether any data was successfully set.
rows | the rows to set |
column | the column to be set |
stringData | the string data to set |
Implements NXOpen::ITableEditorDataProvider.
|
virtual |
Sets string data on a range of table cells in a specified column.
Returns whether any data was successfully set.
rows | the rows to set |
column | the column to be set |
stringData | the string data to set |
Implements NXOpen::ITableEditorDataProvider.