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

Represents a Wizard block
Created in NX7.5.0. More...

Inheritance diagram for NXOpen::BlockStyler::Wizard:
NXOpen::BlockStyler::UIBlock NXOpen::TaggedObject

Public Types

typedef NXOpen::Callback2
< bool,
NXOpen::BlockStyler::Wizard
*, int > 
IsStepOkayCallback
 The IsStepOkay callback allows the client to notify the Wizard that the step is okay or not. More...
 
typedef NXOpen::Callback4
< void,
NXOpen::BlockStyler::Wizard
*, NXOpen::BlockStyler::Wizard::TaskNavigatorItem,
int, int > 
OnMenuCallback
 The OnMenu callback notifies a client prior to creating the popup menu in the Task Navigator. More...
 
typedef NXOpen::Callback5
< void,
NXOpen::BlockStyler::Wizard
*, NXOpen::BlockStyler::Wizard::TaskNavigatorItem,
int, int, int > 
OnMenuSelectionCallback
 The OnMenuSelection callback notifies a client of the menu item selection on the popup menu in the Task Navigator. More...
 
typedef NXOpen::Callback4
< void,
NXOpen::BlockStyler::Wizard
*, int, int,
NXOpen::BlockStyler::Wizard::SubNodeAction
OnSubNodeCallback
 The OnSubNode callback notifies a client of an action performed on a sub-node in the Wizard Task Navigator. More...
 
typedef NXOpen::Callback2
< void,
NXOpen::BlockStyler::Wizard
*, int > 
StepNotifyPostCallback
 The StepNotifyPost callback notifies a client after navigating to the next step in the Wizard. More...
 
typedef NXOpen::Callback2< int,
NXOpen::BlockStyler::Wizard
*, int > 
StepNotifyPreCallback
 The StepNotifyPre callback notifies a client before navigating to the next step in the Wizard. More...
 
enum  SubNodeAction { SubNodeActionSelect, SubNodeActionDeselect, SubNodeActionCheck, SubNodeActionUncheck }
 Specifies the type of action performed on a sub-node in the Wizard Task Navigator. More...
 
enum  TaskNavigatorItem { TaskNavigatorItemStep, TaskNavigatorItemSubNode, TaskNavigatorItemBackground }
 Specifies an item in the Task Navigator. More...
 

Public Member Functions

NXOpen::BlockStyler::TreeListMenuCreateMenu ()
 Creates a popup menu. More...
 
int CreateStepSubNode (int step, const NXString &text, const NXString &bitmap, bool showCheckBox, bool checkBoxChecked)
 Create a sub-node for a step in the Task Navigator. More...
 
int CreateStepSubNode (int step, const char *text, const char *bitmap, bool showCheckBox, bool checkBoxChecked)
 Create a sub-node for a step in the Task Navigator. More...
 
int CurrentStep ()
 Returns the CurrentStep. More...
 
std::vector< NXStringGetStepBannerBitmaps ()
 Gets the StepBannerBitmaps. More...
 
std::vector< NXStringGetStepBitmaps ()
 Gets the StepBitmaps. More...
 
std::vector< NXStringGetStepCues ()
 Gets the StepCues. More...
 
std::vector< NXStringGetStepText ()
 Gets the StepText. More...
 
bool HighQualityBitmap ()
 Returns the HighQualityBitmap. More...
 
bool Localize ()
 Returns the Localize. More...
 
NXOpen::BlockStyler::PropertyListMembers ()
 Returns the Members
Created in NX8.5.0. More...
 
void RemoveStepSubNode (int subNodeId)
 Remove a sub-node in the Task Navigator. More...
 
void SetCurrentStep (int currentStep)
 Sets the CurrentStep. More...
 
void SetHighQualityBitmap (bool highQuality)
 Sets the HighQualityBitmap. More...
 
void SetIsStepOkayHandler (const NXOpen::BlockStyler::Wizard::IsStepOkayCallback &cb)
 Sets the IsStepOkay handler. More...
 
void SetLocalize (bool localize)
 Sets the Localize. More...
 
void SetMenu (NXOpen::BlockStyler::TreeListMenu *menu)
 Set the menu items for the popup menu for a step, sub-node or the background in the Task Navigator. More...
 
void SetOnMenuHandler (const NXOpen::BlockStyler::Wizard::OnMenuCallback &cb)
 Sets the OnMenu handler. More...
 
void SetOnMenuSelectionHandler (const NXOpen::BlockStyler::Wizard::OnMenuSelectionCallback &cb)
 Sets the OnMenuSelection handler. More...
 
void SetOnSubNodeHandler (const NXOpen::BlockStyler::Wizard::OnSubNodeCallback &cb)
 Sets the OnSubNode handler. More...
 
void SetShowTaskNavigator (bool show)
 Sets the ShowTaskNavigator. More...
 
void SetStepBannerBitmaps (std::vector< NXString > &bitmaps)
 Sets the StepBannerBitmaps. More...
 
void SetStepBitmaps (std::vector< NXString > &bitmaps)
 Sets the StepBitmaps. More...
 
void SetStepCues (std::vector< NXString > &cues)
 Sets the StepCues. More...
 
void SetStepNotifyPostHandler (const NXOpen::BlockStyler::Wizard::StepNotifyPostCallback &cb)
 Sets the StepNotifyPost handler. More...
 
void SetStepNotifyPreHandler (const NXOpen::BlockStyler::Wizard::StepNotifyPreCallback &cb)
 Sets the StepNotifyPre handler. More...
 
void SetStepText (std::vector< NXString > &text)
 Sets the StepText. More...
 
bool ShowTaskNavigator ()
 Returns the ShowTaskNavigator. More...
 
- Public Member Functions inherited from NXOpen::BlockStyler::UIBlock
bool Enable ()
 Returns the Enable. More...
 
bool Expanded ()
 Returns the Expanded
Created in NX8.5.0. More...
 
void Focus ()
 Focuses on the block. More...
 
NXOpen::BlockStyler::PropertyListGetProperties ()
 Returns the properties of the block. More...
 
bool Group ()
 Returns the Group
Created in NX8.5.0. More...
 
NXString Label ()
 Returns the Label
Created in NX8.5.0. More...
 
NXString Name ()
 Returns the name of the block or BlockID
Created in NX6.0.0. More...
 
void SetEnable (bool enable)
 Sets the Enable. More...
 
void SetExpanded (bool expanded)
 Sets the Expanded
Created in NX8.5.0. More...
 
void SetGroup (bool group)
 Sets the Group
Created in NX8.5.0. More...
 
void SetLabel (const NXString &label)
 Sets the Label
Created in NX8.5.0. More...
 
void SetLabel (const char *label)
 Sets the Label
Created in NX8.5.0. More...
 
void SetShow (bool show)
 Sets the Visibility of block. More...
 
bool Show ()
 Returns the Visibility of block. More...
 
NXString Type ()
 Returns the type of block
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a Wizard block
Created in NX7.5.0.


Member Typedef Documentation

The IsStepOkay callback allows the client to notify the Wizard that the step is okay or not.

Returns true if the step is okay and false otherwise. The step parameter for the callback is zero based and represents the steps in the Wizard.
Created in NX7.5.0.

License requirements : None

The OnMenu callback notifies a client prior to creating the popup menu in the Task Navigator.

The item parameter specifies the popup menu was activated on a step, sub-node or the background. The step parameter for the callback is zero based and represents the steps in the Wizard. The subNodeId parameter is the unique id returned by BlockStyler::Wizard::CreateStepSubNode . If the popup menu is invoked on the background of the Task Navigator the step and subNodeId parameters will be -1.
Created in NX7.5.0.

License requirements : None

The OnMenuSelection callback notifies a client of the menu item selection on the popup menu in the Task Navigator.

The item parameter specifies the popup menu was activated on a step, sub-node or the background. The step parameter for the callback is zero based and represents the steps in the Wizard. The subNodeId parameter is the unique id returned by BlockStyler::Wizard::CreateStepSubNode . The menuItemIndex parameter will be the unique id specified when creating menu items for the BlockStyler.TreeListMenu. If the popup menu is invoked on the background of the Task Navigator the step and subNodeId parameters will be -1.
Created in NX7.5.0.

License requirements : None

The OnSubNode callback notifies a client of an action performed on a sub-node in the Wizard Task Navigator.

The step parameter for the callback is zero based and represents the steps in the Wizard. The subNodeId parameter is the unique id returned by BlockStyler::Wizard::CreateStepSubNode .
Created in NX7.5.0.

License requirements : None

The StepNotifyPost callback notifies a client after navigating to the next step in the Wizard.

The nextStep parameter for the callback is zero based and represents the steps in the Wizard.
Created in NX7.5.0.

License requirements : None

The StepNotifyPre callback notifies a client before navigating to the next step in the Wizard.

The nextStep parameter for the callback is zero based and represents the steps in the Wizard.
Created in NX7.5.0.

License requirements : None

Member Enumeration Documentation

Specifies the type of action performed on a sub-node in the Wizard Task Navigator.

The action is passed into the callback BlockStyler.Wizard.OnSubNodeCallback.

Enumerator
SubNodeActionSelect 

Sub-node has been selected.

SubNodeActionDeselect 

Sub-node has been deselected.

SubNodeActionCheck 

Sub-node has been checked if a checkbox was specified.

SubNodeActionUncheck 

Sub-node has been unchecked if a checkbox was specified.

Specifies an item in the Task Navigator.

Enumerator
TaskNavigatorItemStep 

step

TaskNavigatorItemSubNode 

sub node

TaskNavigatorItemBackground 

background

Member Function Documentation

NXOpen::BlockStyler::TreeListMenu* NXOpen::BlockStyler::Wizard::CreateMenu ( )

Creates a popup menu.

Use BlockStyler::Wizard::SetMenu to set the created menu. See the BlockStyler::TreeListMenu for information on creating a menu.

Returns

Created in NX7.5.0.

License requirements : None
int NXOpen::BlockStyler::Wizard::CreateStepSubNode ( int  step,
const NXString text,
const NXString bitmap,
bool  showCheckBox,
bool  checkBoxChecked 
)

Create a sub-node for a step in the Task Navigator.

Returns
Unique id for the sub-node.
Created in NX7.5.0.

License requirements : None
Parameters
stepThe step to add a sub-node.
textText for the sub-node.
bitmapOptional bitmap for the sub-node.
showCheckBoxAssociate an optional check box with the sub-node
checkBoxCheckedThe initial state of the check box.
int NXOpen::BlockStyler::Wizard::CreateStepSubNode ( int  step,
const char *  text,
const char *  bitmap,
bool  showCheckBox,
bool  checkBoxChecked 
)

Create a sub-node for a step in the Task Navigator.

Returns
Unique id for the sub-node.
Created in NX7.5.0.

License requirements : None
Parameters
stepThe step to add a sub-node.
textText for the sub-node.
bitmapOptional bitmap for the sub-node.
showCheckBoxAssociate an optional check box with the sub-node
checkBoxCheckedThe initial state of the check box.
int NXOpen::BlockStyler::Wizard::CurrentStep ( )

Returns the CurrentStep.


Created in NX8.5.0.

License requirements : None

std::vector<NXString> NXOpen::BlockStyler::Wizard::GetStepBannerBitmaps ( )

Gets the StepBannerBitmaps.

Gets the list of bitmaps for the step bitmaps in the banner area.

Returns

Created in NX8.5.0.

License requirements : None
std::vector<NXString> NXOpen::BlockStyler::Wizard::GetStepBitmaps ( )

Gets the StepBitmaps.

Gets the list of bitmaps for the node bitmaps in the Task Navigator.

Returns

Created in NX8.5.0.

License requirements : None
std::vector<NXString> NXOpen::BlockStyler::Wizard::GetStepCues ( )

Gets the StepCues.

Gets the list of cue lines for the wizard steps.

Returns

Created in NX8.5.0.

License requirements : None
std::vector<NXString> NXOpen::BlockStyler::Wizard::GetStepText ( )

Gets the StepText.

Gets the list of step descriptions for the banner area.

Returns

Created in NX8.5.0.

License requirements : None
bool NXOpen::BlockStyler::Wizard::HighQualityBitmap ( )

Returns the HighQualityBitmap.


Created in NX8.5.0.

License requirements : None

bool NXOpen::BlockStyler::Wizard::Localize ( )

Returns the Localize.


Created in NX8.5.0.

License requirements : None

NXOpen::BlockStyler::PropertyList* NXOpen::BlockStyler::Wizard::Members ( )

Returns the Members
Created in NX8.5.0.



License requirements : None

void NXOpen::BlockStyler::Wizard::RemoveStepSubNode ( int  subNodeId)

Remove a sub-node in the Task Navigator.


Created in NX7.5.0.

License requirements : None

Parameters
subNodeIdThe sub-node id.
void NXOpen::BlockStyler::Wizard::SetCurrentStep ( int  currentStep)

Sets the CurrentStep.


Created in NX8.5.0.

License requirements : None

Parameters
currentStepcurrentstep
void NXOpen::BlockStyler::Wizard::SetHighQualityBitmap ( bool  highQuality)

Sets the HighQualityBitmap.


Created in NX8.5.0.

License requirements : None

Parameters
highQualityhighquality
void NXOpen::BlockStyler::Wizard::SetIsStepOkayHandler ( const NXOpen::BlockStyler::Wizard::IsStepOkayCallback cb)

Sets the IsStepOkay handler.


Created in NX7.5.0.

License requirements : None

Parameters
cbcb
void NXOpen::BlockStyler::Wizard::SetLocalize ( bool  localize)

Sets the Localize.


Created in NX8.5.0.

License requirements : None

Parameters
localizelocalize
void NXOpen::BlockStyler::Wizard::SetMenu ( NXOpen::BlockStyler::TreeListMenu menu)

Set the menu items for the popup menu for a step, sub-node or the background in the Task Navigator.

See the BlockStyler::TreeListMenu for information on creating a menu.
Created in NX7.5.0.

License requirements : None

Parameters
menumenu
void NXOpen::BlockStyler::Wizard::SetOnMenuHandler ( const NXOpen::BlockStyler::Wizard::OnMenuCallback cb)

Sets the OnMenu handler.


Created in NX7.5.0.

License requirements : None

Parameters
cbcb
void NXOpen::BlockStyler::Wizard::SetOnMenuSelectionHandler ( const NXOpen::BlockStyler::Wizard::OnMenuSelectionCallback cb)

Sets the OnMenuSelection handler.


Created in NX7.5.0.

License requirements : None

Parameters
cbcb
void NXOpen::BlockStyler::Wizard::SetOnSubNodeHandler ( const NXOpen::BlockStyler::Wizard::OnSubNodeCallback cb)

Sets the OnSubNode handler.


Created in NX7.5.0.

License requirements : None

Parameters
cbcb
void NXOpen::BlockStyler::Wizard::SetShowTaskNavigator ( bool  show)

Sets the ShowTaskNavigator.


Created in NX8.5.0.

License requirements : None

Parameters
showshow
void NXOpen::BlockStyler::Wizard::SetStepBannerBitmaps ( std::vector< NXString > &  bitmaps)

Sets the StepBannerBitmaps.

Sets the list of bitmaps for the step bitmaps in the banner area.
Created in NX8.5.0.

License requirements : None

Parameters
bitmapsbitmaps
void NXOpen::BlockStyler::Wizard::SetStepBitmaps ( std::vector< NXString > &  bitmaps)

Sets the StepBitmaps.

Sets the list of bitmaps for the node bitmaps in the Task Navigator.
Created in NX8.5.0.

License requirements : None

Parameters
bitmapsbitmaps
void NXOpen::BlockStyler::Wizard::SetStepCues ( std::vector< NXString > &  cues)

Sets the StepCues.

Sets the list of cue lines for the wizard steps.
Created in NX8.5.0.

License requirements : None

Parameters
cuescues
void NXOpen::BlockStyler::Wizard::SetStepNotifyPostHandler ( const NXOpen::BlockStyler::Wizard::StepNotifyPostCallback cb)

Sets the StepNotifyPost handler.


Created in NX7.5.0.

License requirements : None

Parameters
cbcb
void NXOpen::BlockStyler::Wizard::SetStepNotifyPreHandler ( const NXOpen::BlockStyler::Wizard::StepNotifyPreCallback cb)

Sets the StepNotifyPre handler.


Created in NX7.5.0.

License requirements : None

Parameters
cbcb
void NXOpen::BlockStyler::Wizard::SetStepText ( std::vector< NXString > &  text)

Sets the StepText.

Sets the list of step descriptions for the banner area.
Created in NX8.5.0.

License requirements : None

Parameters
texttext
bool NXOpen::BlockStyler::Wizard::ShowTaskNavigator ( )

Returns the ShowTaskNavigator.


Created in NX8.5.0.

License requirements : None


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