|
NX Open C++ 参考指南 2406 v1.1
|
字符串输入块 更多...
#include <BlockStyler_StringBlock.hxx>
Public 类型 | |
| typedef NXOpen::Callback2< int, NXOpen::BlockStyler::StringBlock *, NXString > | KeystrokeCallback |
Public 成员函数 | |
| NXString | BalloonTooltipLayoutAsString () |
| NXString | Bitmap () |
| std::vector< NXString > | GetBalloonTooltipImages () |
| std::vector< NXString > | GetBalloonTooltipLayoutMembers () |
| std::vector< NXString > | GetBalloonTooltipTexts () |
| std::vector< NXString > | GetListItems () |
| std::vector< NXString > | GetPresentationStyleMembers () |
| std::vector< NXString > | GetWidthMembers () |
| bool | IsPassword () |
| bool | Localize () |
| int | MaxTextLength () |
| NX_DEPRECATED ("Deprecated in NX12.0.0. Not required from NX10 onwards. Internationalization is available by default.") bool AllowInternationalTextInput() | |
| NX_DEPRECATED ("Deprecated in NX12.0.0. Not required from NX10 onwards. Internationalization is available by default.") void SetAllowInternationalTextInput(bool allow) | |
| NX_DEPRECATED ("Deprecated in NX12.0.0. Use 'Value' instead which supports Internationalization.") NXString WideValue() | |
| NX_DEPRECATED ("Deprecated in NX12.0.0. Use 'Value' instead which supports Internationalization.") void SetWideValue(const NXString &wideValueString) | |
| NXString | PresentationStyleAsString () |
| bool | ReadOnlyString () |
| bool | RetainValue () |
| void | SetBalloonTooltipImages (std::vector< NXString > &imageStrings) |
| void | SetBalloonTooltipLayoutAsString (const char *enumString) |
| void | SetBalloonTooltipLayoutAsString (const NXString &enumString) |
| void | SetBalloonTooltipTexts (std::vector< NXString > &tooltipTextArray) |
| void | SetBitmap (const char *bitmapString) |
| void | SetBitmap (const NXString &bitmapString) |
| void | SetKeystrokeCallback (const NXOpen::BlockStyler::StringBlock::KeystrokeCallback &cb) |
| void | SetListItems (std::vector< NXString > &itemStrings) |
| void | SetLocalize (bool localize) |
| void | SetMaxTextLength (int textLength) |
| void | SetPassword (bool passwrod) |
| void | SetPresentationStyleAsString (const char *enumString) |
| void | SetPresentationStyleAsString (const NXString &enumString) |
| void | SetReadOnlyString (bool readonly) |
| void | SetRetainValue (bool retain) |
| void | SetTooltip (const char *tooltipString) |
| void | SetTooltip (const NXString &tooltipString) |
| void | SetUncommittedValue (const char *valueString) |
| void | SetUncommittedValue (const NXString &valueString) |
| void | SetValue (const char *valueString) |
| void | SetValue (const NXString &valueString) |
| void | SetWideValue (const char *wideValueString) |
| void | SetWidthAsString (const char *enumString) |
| void | SetWidthAsString (const NXString &enumString) |
| void | TestKeystrokeObserver () |
| void | TestValueChanged (const char *valueString) |
| void | TestValueChanged (const NXString &valueString) |
| void | TestWideValueChanged (const char *valueString) |
| void | TestWideValueChanged (const NXString &valueString) |
| NXString | Tooltip () |
| NXString | UncommittedValue () |
| NXString | Value () |
| NXString | WidthAsString () |
| Public 成员函数 继承自 NXOpen::BlockStyler::UIBlock | |
| bool | Enable () |
| bool | Expanded () |
| void | Focus () |
| NXOpen::BlockStyler::PropertyList * | GetProperties () |
| bool | Group () |
| NXString | Label () |
| NXString | Name () |
| void | SetEnable (bool enable) |
| void | SetExpanded (bool expanded) |
| void | SetGroup (bool group) |
| void | SetLabel (const char *label) |
| void | SetLabel (const NXString &label) |
| void | SetShow (bool show) |
| bool | Show () |
| void | TestFocusChange () |
| NXString | Type () |
| Public 成员函数 继承自 NXOpen::TaggedObject | |
| tag_t | Tag () const |
友元 | |
| class | _StringBlockBuilder |
字符串输入块
表示一个字符串块
创建于 NX8.5.0.
| typedef NXOpen::Callback2<int, NXOpen::BlockStyler::StringBlock *, NXString> NXOpen::BlockStyler::StringBlock::KeystrokeCallback |
通过调用 SetKeystrokeCallback 注册的击键回调函数。 用户每次在字符串块输入字段中进行击键时都会调用此函数。
创建于 NX12.0.1.
许可要求 : 无
| NXString NXOpen::BlockStyler::StringBlock::BalloonTooltipLayoutAsString | ( | ) |
获取 气球工具提示布局的字符串形式
创建于 NX8.5.0.
许可要求 : 无
| NXString NXOpen::BlockStyler::StringBlock::Bitmap | ( | ) |
获取 位图
创建于 NX8.5.0.
许可要求 : 无
| std::vector< NXString > NXOpen::BlockStyler::StringBlock::GetBalloonTooltipImages | ( | ) |
获取气球提示图像
创建于 NX8.5.0。
许可要求:无
| std::vector< NXString > NXOpen::BlockStyler::StringBlock::GetBalloonTooltipLayoutMembers | ( | ) |
获取气球工具提示布局的成员
| std::vector< NXString > NXOpen::BlockStyler::StringBlock::GetBalloonTooltipTexts | ( | ) |
获取气球提示文本
| std::vector< NXString > NXOpen::BlockStyler::StringBlock::GetListItems | ( | ) |
获取列表项
| std::vector< NXString > NXOpen::BlockStyler::StringBlock::GetPresentationStyleMembers | ( | ) |
获取表示样式成员
| std::vector< NXString > NXOpen::BlockStyler::StringBlock::GetWidthMembers | ( | ) |
获取宽度成员
| bool NXOpen::BlockStyler::StringBlock::IsPassword | ( | ) |
返回 是否为密码。如果为真,字符将不可读,显示为*。
创建于 NX8.5.0。
许可要求:无
| bool NXOpen::BlockStyler::StringBlock::Localize | ( | ) |
返回本地化设置
创建于 NX8.5.0。
许可要求:无
| int NXOpen::BlockStyler::StringBlock::MaxTextLength | ( | ) |
返回 最大文本长度
创建于 NX8.5.0。
许可要求:无
| NXOpen::BlockStyler::StringBlock::NX_DEPRECATED | ( | "Deprecated in NX12.0.0. Not required from NX10 onwards. Internationalization is available by default." | ) |
返回 是否允许国际化文本输入
| NXOpen::BlockStyler::StringBlock::NX_DEPRECATED | ( | "Deprecated in NX12.0.0. Not required from NX10 onwards. Internationalization is available by default." | ) |
| NXOpen::BlockStyler::StringBlock::NX_DEPRECATED | ( | "Deprecated in NX12.0.0. Use 'Value' instead which supports Internationalization." | ) |
返回 宽值。指定国际化文本。此属性接受 NX 支持的国际化字符。
| NXOpen::BlockStyler::StringBlock::NX_DEPRECATED | ( | "Deprecated in NX12.0.0. Use 'Value' instead which supports Internationalization." | ) | const & |
设置 宽值。指定国际化文本。此属性接受 NX 支持的国际化字符。
wide value string
| NXString NXOpen::BlockStyler::StringBlock::PresentationStyleAsString | ( | ) |
返回 以字符串表示的呈现样式
创建于 NX8.5.0。
许可要求:无
| bool NXOpen::BlockStyler::StringBlock::ReadOnlyString | ( | ) |
返回 只读字符串
创建于 NX8.5.0。
许可要求:无
| bool NXOpen::BlockStyler::StringBlock::RetainValue | ( | ) |
返回 保留值
创建于 NX8.5.0。
许可要求:无
| void NXOpen::BlockStyler::StringBlock::SetBalloonTooltipImages | ( | std::vector< NXString > & | imageStrings | ) |
设置气球提示图像
创建于 NX8.5.0。
许可要求:无
| imageStrings | 图像字符串 |
| void NXOpen::BlockStyler::StringBlock::SetBalloonTooltipLayoutAsString | ( | const char * | enumString | ) |
设置 气球工具提示布局的字符串形式
创建于 NX8.5.0.
许可要求 : 无
| enumString | enumstring |
| void NXOpen::BlockStyler::StringBlock::SetBalloonTooltipLayoutAsString | ( | const NXString & | enumString | ) |
设置 气球工具提示布局的字符串形式
创建于 NX8.5.0.
许可要求 : 无
| enumString | enumstring |
| void NXOpen::BlockStyler::StringBlock::SetBalloonTooltipTexts | ( | std::vector< NXString > & | tooltipTextArray | ) |
设置气球提示文本
创建于 NX8.5.0。
许可要求:无
| tooltipTextArray | 为属性设置的值。 |
| void NXOpen::BlockStyler::StringBlock::SetBitmap | ( | const char * | bitmapString | ) |
设置 位图
创建于 NX8.5.0.
许可要求 : 无
| bitmapString | bitmap string |
| void NXOpen::BlockStyler::StringBlock::SetBitmap | ( | const NXString & | bitmapString | ) |
设置 位图
创建于 NX8.5.0.
许可要求 : 无
| bitmapString | bitmap string |
| void NXOpen::BlockStyler::StringBlock::SetKeystrokeCallback | ( | const NXOpen::BlockStyler::StringBlock::KeystrokeCallback & | cb | ) |
设置块样式字符串块的击键回调函数。
创建于 NX12.0.1。
许可要求:无
| cb | 击键事件的回调函数。 |
| void NXOpen::BlockStyler::StringBlock::SetListItems | ( | std::vector< NXString > & | itemStrings | ) |
设置列表项
创建于 NX8.5.0。
许可要求:无
| itemStrings | 为属性设置的值 |
| void NXOpen::BlockStyler::StringBlock::SetLocalize | ( | bool | localize | ) |
设置本地化设置
创建于 NX8.5.0。
许可要求:无
| localize | 本地化 |
| void NXOpen::BlockStyler::StringBlock::SetMaxTextLength | ( | int | textLength | ) |
设置 最大文本长度
创建于 NX8.5.0。
许可要求:无
| textLength | 文本长度 |
| void NXOpen::BlockStyler::StringBlock::SetPassword | ( | bool | passwrod | ) |
设置 是否为密码。如果为真,字符将不可读,显示为*。
创建于 NX8.5.0。
许可要求:无
| passwrod | 密码 |
| void NXOpen::BlockStyler::StringBlock::SetPresentationStyleAsString | ( | const char * | enumString | ) |
设置 以字符串表示的呈现样式
创建于 NX8.5.0。
许可要求:无
| enumString | 枚举字符串 |
| void NXOpen::BlockStyler::StringBlock::SetPresentationStyleAsString | ( | const NXString & | enumString | ) |
设置 以字符串表示的呈现样式
创建于 NX8.5.0。
许可要求:无
| enumString | 枚举字符串 |
| void NXOpen::BlockStyler::StringBlock::SetReadOnlyString | ( | bool | readonly | ) |
设置 只读字符串
创建于 NX8.5.0。
许可要求:无
| readonly | readonly |
| void NXOpen::BlockStyler::StringBlock::SetRetainValue | ( | bool | retain | ) |
设置 保留值
创建于 NX8.5.0。
许可要求:无
| retain | retain |
| void NXOpen::BlockStyler::StringBlock::SetTooltip | ( | const char * | tooltipString | ) |
设置 工具提示
创建于 NX8.5.0。
许可要求:无
| tooltipString | tooltip string |
| void NXOpen::BlockStyler::StringBlock::SetTooltip | ( | const NXString & | tooltipString | ) |
设置 工具提示
创建于 NX8.5.0。
许可要求:无
| tooltipString | tooltip string |
| void NXOpen::BlockStyler::StringBlock::SetUncommittedValue | ( | const char * | valueString | ) |
设置字符串块的未提交值。
创建于 NX1980.0.0。
许可要求:无
| valueString | 值字符串 |
| void NXOpen::BlockStyler::StringBlock::SetUncommittedValue | ( | const NXString & | valueString | ) |
设置字符串块的未提交值。
创建于 NX1980.0.0。
许可要求:无
| valueString | 值字符串 |
| void NXOpen::BlockStyler::StringBlock::SetValue | ( | const char * | valueString | ) |
设置 值
创建于 NX8.5.0。
许可要求:无
| valueString | value string |
| void NXOpen::BlockStyler::StringBlock::SetValue | ( | const NXString & | valueString | ) |
设置 值
创建于 NX8.5.0。
许可要求:无
| valueString | value string |
| void NXOpen::BlockStyler::StringBlock::SetWideValue | ( | const char * | wideValueString | ) |
设置 宽值。指定国际化文本。此属性接受 NX 支持的国际化字符。
| wideValueString | wide value string |
| void NXOpen::BlockStyler::StringBlock::SetWidthAsString | ( | const char * | enumString | ) |
设置宽度为字符串
创建于 NX8.5.0。
许可要求:无
| enumString | 枚举字符串 |
| void NXOpen::BlockStyler::StringBlock::SetWidthAsString | ( | const NXString & | enumString | ) |
设置宽度为字符串
创建于 NX8.5.0。
许可要求:无
| enumString | 枚举字符串 |
| void NXOpen::BlockStyler::StringBlock::TestKeystrokeObserver | ( | ) |
测试此块的击键观察器。它还将传递的值设置到块中。 要模拟事件,请在调用此方法之前设置必要的值
创建于 NX2206.0.0。
许可要求:nx_auto_test_studio ("NX Automated Testing Studio")
| void NXOpen::BlockStyler::StringBlock::TestValueChanged | ( | const char * | valueString | ) |
测试映射到此字符串块的值更改事件工作流。
创建于 NX2206.0.0。
许可要求:nx_auto_test_studio ("NX Automated Testing Studio")
| valueString | 值字符串 |
| void NXOpen::BlockStyler::StringBlock::TestValueChanged | ( | const NXString & | valueString | ) |
测试映射到此字符串块的值更改事件工作流。
创建于 NX2206.0.0。
许可要求:nx_auto_test_studio ("NX Automated Testing Studio")
| valueString | 值字符串 |
| void NXOpen::BlockStyler::StringBlock::TestWideValueChanged | ( | const char * | valueString | ) |
测试映射到此 StringBlock 块的值更改事件工作流。
创建于 NX2206.0.0。
许可要求:nx_auto_test_studio ("NX Automated Testing Studio")
| valueString | 值字符串 |
| void NXOpen::BlockStyler::StringBlock::TestWideValueChanged | ( | const NXString & | valueString | ) |
测试映射到此 StringBlock 块的值更改事件工作流。
创建于 NX2206.0.0。
许可要求:nx_auto_test_studio ("NX Automated Testing Studio")
| valueString | 值字符串 |
| NXString NXOpen::BlockStyler::StringBlock::Tooltip | ( | ) |
返回 工具提示
创建于 NX8.5.0。
许可要求:无
| NXString NXOpen::BlockStyler::StringBlock::UncommittedValue | ( | ) |
返回字符串块的未提交值。
创建于 NX1980.0.0。
许可要求:无
| NXString NXOpen::BlockStyler::StringBlock::Value | ( | ) |
返回 值
创建于 NX8.5.0。
许可要求:无
| NXString NXOpen::BlockStyler::StringBlock::WidthAsString | ( | ) |
以字符串形式返回宽度
创建于 NX8.5.0。
许可要求:无