NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
BlockStyler_DoubleTable.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口访问 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// BlockStyler_DoubleTable.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 DoubleTable;
35 }
36 namespace BlockStyler
37 {
38 class UIBlock;
39 }
40 namespace BlockStyler
41 {
42 class _DoubleTableBuilder;
43 class DoubleTableImpl;
47 class NXOPENUICPPEXPORT DoubleTable : public NXOpen::BlockStyler::UIBlock
48 {
49 private: DoubleTableImpl * m_doubletable_impl;
50 private: friend class _DoubleTableBuilder;
51 protected: DoubleTable();
52 public: ~DoubleTable();
56 public: int CellWidth
57 (
58 );
62 public: void SetCellWidth
63 (
64 int cellWidth
65 );
69 public: std::vector<double> GetMaximumValues
70 (
71 int* nRows ,
72 int* nColumns
73 );
77 public: void SetMaximumValues
78 (
79 int nRows ,
80 int nColumns ,
81 const std::vector<double> & matrixValue
82 );
86 public: std::vector<double> GetMinimumValues
87 (
88 int* nRows ,
89 int* nColumns
90 );
94 public: void SetMinimumValues
95 (
96 int nRows ,
97 int nColumns ,
98 const std::vector<double> & matrixValue
99 );
103 public: std::vector<double> GetValues
104 (
105 int* nRows ,
106 int* nColumns
107 );
111 public: void SetValues
112 (
113 int nRows ,
114 int nColumns ,
115 const std::vector<double> & matrixValue
116 );
120 public: std::vector<NXString> GetRowTitles
121 (
122 );
126 public: void SetRowTitles
127 (
128 std::vector<NXString> & rowTitle
129 );
133 public: bool Spin
134 (
135 );
139 public: void SetSpin
140 (
141 bool spin
142 );
146 public: bool WrapSpin
147 (
148 );
152 public: void SetWrapSpin
153 (
154 bool wrapSpin
155 );
159 public: double Increment
160 (
161 );
165 public: void SetIncrement
166 (
167 double increment
168 );
172 public: bool RetainValue
173 (
174 );
178 public: void SetRetainValue
179 (
180 bool retain
181 );
185 public: std::vector<NXString> GetColumnTitles
186 (
187 );
191 public: void SetColumnTitles
192 (
193 std::vector<NXString> & columnTitles
194 );
198 public: void TestValueChanged
199 (
200 int nRows ,
201 int nColumns ,
202 const std::vector<double> & matrixValue
203 );
204};
205 }
206}
207#ifdef _MSC_VER
208#pragma warning(pop)
209#endif
210#ifdef __GNUC__
211#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
212#pragma GCC diagnostic warning "-Wdeprecated-declarations"
213#endif
214#endif
215#undef EXPORTLIBRARY