NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
BlockStyler_Node.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口访问 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// BlockStyler_Node.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/DataContainer.hxx>
22#include <NXOpen/TaggedObject.hxx>
23#include <NXOpen/libnxopenuicpp_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace BlockStyler
34 {
35 class Node;
36 }
37 class DataContainer;
38 namespace BlockStyler
39 {
40 class _NodeBuilder;
41 class NodeImpl;
46 class NXOPENUICPPEXPORT Node : public NXOpen::TaggedObject
47 {
55
63
64 public: enum DragType
65 {
68 };
69
78 private: NodeImpl * m_node_impl;
79 private: friend class _NodeBuilder;
80 protected: Node();
81 public: ~Node();
85 public: void ScrollTo
86 (
87 int columnID ,
89 );
93 public: void Expand
94 (
96 );
100 public: int GetState
101 (
102 );
106 public: void SetState
107 (
108 int state
109 );
114 (
115 );
119 public: void SetDisplayText
120 (
121 const NXString & displayTest
122 );
127 (
128 const char * displayTest
129 );
134 (
135 int columnID
136 );
141 (
142 int columnID ,
143 const NXString & columnDisplayText
144 );
149 (
150 int columnID ,
151 const char * columnDisplayText
152 );
156 public: bool CrossSelection
157 (
158 );
162 public: void SetCrossSelection
163 (
164 bool crossSelection
165 );
169 public: int ForegroundColor
170 (
171 );
176 (
177 int nodeForgroundColor
178 );
183 (
184 );
191 (
192 );
198 (
199 );
204 (
205 );
211 (
212 );
218 (
219 );
224 (
225 );
231 (
232 );
237 (
238 );
242 public: void SetDisplayIcon
243 (
244 const NXString & icon
245 );
250 (
251 const char * icon
252 );
257 (
258 );
262 public: void SetSelectedIcon
263 (
264 const NXString & icon
265 );
270 (
271 const char * icon
272 );
282 (
283 );
287 public: bool IsInserted
288 (
289 );
293 public: bool IsExpanded
294 (
295 );
299 public: bool IsSelected
300 (
301 );
302 };
303 }
304}
305#ifdef _MSC_VER
306#pragma warning(pop)
307#endif
308#ifdef __GNUC__
309#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
310#pragma GCC diagnostic warning "-Wdeprecated-declarations"
311#endif
312#endif
313#undef EXPORTLIBRARY