NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::TableEditorDefaultDataProvider Class Reference

Provides basic data for a Table Editor block. More...

Inheritance diagram for NXOpen::TableEditorDefaultDataProvider:
NXOpen::Builder NXOpen::ITableEditorDataProvider NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

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.

Member Function Documentation

virtual int NXOpen::TableEditorDefaultDataProvider::ColumnCount ( )
virtual

Returns the number of columns in the table
Created in NX10.0.0.



License requirements : None

Implements NXOpen::ITableEditorDataProvider.

virtual NXString NXOpen::TableEditorDefaultDataProvider::GetString ( int  row,
int  column 
)
virtual

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

Returns
the string data at the row and column specified
Created in NX10.0.0.

License requirements : None
Parameters
rowthe rows to query
columnthe column to query

Implements NXOpen::ITableEditorDataProvider.

virtual int NXOpen::TableEditorDefaultDataProvider::RowCount ( )
virtual

Returns the number of rows in the table
Created in NX10.0.0.



License requirements : None

Implements NXOpen::ITableEditorDataProvider.

virtual void NXOpen::TableEditorDefaultDataProvider::SetColumnCount ( int  columnCount)
virtual

Sets the number of columns in the table
Created in NX10.0.0.



License requirements : None

Parameters
columnCountthe number of columns in the table

Implements NXOpen::ITableEditorDataProvider.

virtual void NXOpen::TableEditorDefaultDataProvider::SetRowCount ( int  rowCount)
virtual

Sets the number of rows in the table
Created in NX10.0.0.



License requirements : None

Parameters
rowCountthe number of columns in the table

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetString ( int  rows,
int  column,
const NXString stringData 
)
virtual

Sets string data at a particular location in the table.

Returns
whether or not the data was successfully set.
Created in NX10.0.0.

License requirements : None
Parameters
rowsthe row to set
columnthe column to set
stringDatathe string data to set

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetString ( int  rows,
int  column,
const char *  stringData 
)
virtual

Sets string data at a particular location in the table.

Returns
whether or not the data was successfully set.
Created in NX10.0.0.

License requirements : None
Parameters
rowsthe row to set
columnthe column to set
stringDatathe string data to set

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetString ( const std::vector< int > &  rows,
int  column,
const NXString stringData 
)
virtual

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

Returns whether any data was successfully set.

Returns
whether or not the 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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetString ( const std::vector< int > &  rows,
int  column,
const char *  stringData 
)
virtual

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

Returns whether any data was successfully set.

Returns
whether or not the 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

Implements NXOpen::ITableEditorDataProvider.


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