NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
BlockStyler_IntegerTable.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口访问 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// BlockStyler_IntegerTable.ja
9//
10// 生成方式:
11// apiwrap
12//
13// 警告:
14// 此文件为自动生成,请勿手动编辑
15//
16#pragma once
17#include <NXOpen/NXDeprecation.hxx>
18#include <vector>
19#include <NXOpen/NXString.hxx>
20#include <NXOpen/Callback.hxx>
21#include <NXOpen/BlockStyler_UIBlock.hxx>
22#include <NXOpen/libnxopenuicpp_exports.hxx>
23#ifdef _MSC_VER
24#pragma warning(push)
25#pragma warning(disable:4996)
26#endif
27#ifdef __GNUC__
28#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29#endif
30namespace NXOpen
31{
32 namespace BlockStyler
33 {
34 class IntegerTable;
35 }
36 namespace BlockStyler
37 {
38 class UIBlock;
39 }
40 namespace BlockStyler
41 {
42 class _IntegerTableBuilder;
43 class IntegerTableImpl;
47 class NXOPENUICPPEXPORT IntegerTable : public NXOpen::BlockStyler::UIBlock
48 {
49 private: IntegerTableImpl * m_integertable_impl;
50 private: friend class _IntegerTableBuilder;
51 protected: IntegerTable();
52 public: ~IntegerTable();
57 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::BlockStyler::IntegerTable::JA_BLOCK_STYLER_INTEGER_TABLE_get_column_titles instead.") NXString ColumnTitles
58 (
59 );
64 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::BlockStyler::IntegerTable::JA_BLOCK_STYLER_INTEGER_TABLE_set_column_titles instead.") void SetColumnTitles
65 (
66 const NXString & title
67 );
73 (
74 const char * title
75 );
79 public: std::vector<int> GetMaximumValues
80 (
81 int* nRows ,
82 int* nColumns
83 );
87 public: void SetMaximumValues
88 (
89 int nRows ,
90 int nColumns ,
91 const std::vector<int> & matrixValue
92 );
96 public: std::vector<int> GetMinimumValues
97 (
98 int* nRows ,
99 int* nColumns
100 );
104 public: void SetMinimumValues
105 (
106 int nRows ,
107 int nColumns ,
108 const std::vector<int> & matrixValue
109 );
113 public: std::vector<int> GetValues
114 (
115 int* nRows ,
116 int* nColumns
117 );
121 public: void SetValues
122 (
123 int nRows ,
124 int nColumns ,
125 const std::vector<int> & matrixValue
126 );
130 public: std::vector<NXString> GetRowTitles
131 (
132 );
136 public: void SetRowTitles
137 (
138 std::vector<NXString> & rowTitle
139 );
143 public: bool Spin
144 (
145 );
149 public: void SetSpin
150 (
151 bool spin
152 );
156 public: bool WrapSpin
157 (
158 );
162 public: void SetWrapSpin
163 (
164 bool wrapSpin
165 );
169 public: double Increment
170 (
171 );
175 public: void SetIncrement
176 (
177 double increment
178 );
182 public: bool RetainValue
183 (
184 );
188 public: void SetRetainValue
189 (
190 bool retain
191 );
195 public: std::vector<NXString> GetColumnTitles
196 (
197 );
201 public: void SetColumnTitles
202 (
203 std::vector<NXString> & columnTitles
204 );
208 public: void TestValueChanged
209 (
210 int nRows ,
211 int nColumns ,
212 const std::vector<int> & matrixValue
213 );
214 };
215 }
216}
217#ifdef _MSC_VER
218#pragma warning(pop)
219#endif
220#ifdef __GNUC__
221#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
222#pragma GCC diagnostic warning "-Wdeprecated-declarations"
223#endif
224#endif
225#undef EXPORTLIBRARY