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

Implements the Object for Menu Buttons
Created in NX6.0.0. More...

Inheritance diagram for NXOpen::MenuBar::MenuButton:
NXOpen::TransientObject

Public Types

enum  SensitivityStatus { SensitivityStatusSensitive, SensitivityStatusInsensitive }
 Sensitivity Status. More...
 
enum  Toggle { ToggleOn, ToggleOff }
 Toggle Status. More...
 
enum  Type {
  TypeCascadeButton, TypePushButton, TypeToggleButton, TypeSeparator,
  TypeApplicationButton, TypeNullButton
}
 Available button types. More...
 

Public Member Functions

int ButtonId ()
 Returns the identifier of the button. More...
 
NXString ButtonName ()
 Returns the name of the button. More...
 
NXOpen::MenuBar::MenuButton::SensitivityStatus ButtonSensitivity ()
 Returns the sensitivity of the button. More...
 
NXOpen::MenuBar::MenuButton::Type ButtonType ()
 Returns the type of the button. More...
 
NXString ButtonTypeName ()
 Returns the type name of the button. More...
 
void SetButtonSensitivity (NXOpen::MenuBar::MenuButton::SensitivityStatus sensitivity)
 Sets the sensitivity of the button. More...
 
void SetToggleStatus (NXOpen::MenuBar::MenuButton::Toggle toggleStatus)
 Sets the toggle status of the button. More...
 
NXOpen::MenuBar::MenuButton::Toggle ToggleStatus ()
 Returns the toggle status of the button. More...
 
virtual ~MenuButton ()
 Frees the object from memory. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Implements the Object for Menu Buttons
Created in NX6.0.0.


Member Enumeration Documentation

Sensitivity Status.

Enumerator
SensitivityStatusSensitive 

The button is sensitive.

SensitivityStatusInsensitive 

The button is insensitive.

Toggle Status.

Enumerator
ToggleOn 

The toggle is on.

ToggleOff 

The toggle is off.

Available button types.

Enumerator
TypeCascadeButton 

cascade button

TypePushButton 

push button

TypeToggleButton 

toggle button

TypeSeparator 

separator

TypeApplicationButton 

application button

TypeNullButton 

null button

Constructor & Destructor Documentation

virtual NXOpen::MenuBar::MenuButton::~MenuButton ( )
virtual

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET and Java, his method is automatically called when the object is deleted by the garbage collector.
Created in NX6.0.0.

License requirements : None

Member Function Documentation

int NXOpen::MenuBar::MenuButton::ButtonId ( )

Returns the identifier of the button.


Created in NX6.0.0.

License requirements : None

NXString NXOpen::MenuBar::MenuButton::ButtonName ( )

Returns the name of the button.


Created in NX6.0.0.

License requirements : None

NXOpen::MenuBar::MenuButton::SensitivityStatus NXOpen::MenuBar::MenuButton::ButtonSensitivity ( )

Returns the sensitivity of the button.


Created in NX6.0.0.

License requirements : None

NXOpen::MenuBar::MenuButton::Type NXOpen::MenuBar::MenuButton::ButtonType ( )

Returns the type of the button.


Created in NX6.0.0.

License requirements : None

NXString NXOpen::MenuBar::MenuButton::ButtonTypeName ( )

Returns the type name of the button.


Created in NX6.0.0.

License requirements : None

void NXOpen::MenuBar::MenuButton::SetButtonSensitivity ( NXOpen::MenuBar::MenuButton::SensitivityStatus  sensitivity)

Sets the sensitivity of the button.


Created in NX6.0.0.

License requirements : None

Parameters
sensitivitysensitivity
void NXOpen::MenuBar::MenuButton::SetToggleStatus ( NXOpen::MenuBar::MenuButton::Toggle  toggleStatus)

Sets the toggle status of the button.


Created in NX6.0.0.

License requirements : None

Parameters
toggleStatustoggle status
NXOpen::MenuBar::MenuButton::Toggle NXOpen::MenuBar::MenuButton::ToggleStatus ( )

Returns the toggle status of the button.


Created in NX6.0.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.