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

Implements the Object for Menu Buttons. More...

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

List of all members.

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.
NXString ButtonName ()
 Returns the name of the button.
NXOpen::MenuBar::MenuButton::SensitivityStatus ButtonSensitivity ()
 Returns the sensitivity of the button.
NXOpen::MenuBar::MenuButton::Type ButtonType ()
 Returns the type of the button.
NXString ButtonTypeName ()
 Returns the type name of the button.
void SetButtonSensitivity (NXOpen::MenuBar::MenuButton::SensitivityStatus sensitivity)
 Sets the sensitivity of the button.
void SetToggleStatus (NXOpen::MenuBar::MenuButton::Toggle toggleStatus)
 Sets the toggle status of the button.
NXOpen::MenuBar::MenuButton::Toggle ToggleStatus ()
 Returns the toggle status of the button.
virtual ~MenuButton ()
 Frees the object from memory.

Detailed Description

Implements the Object for Menu Buttons.


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

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

Returns the identifier of the button.


Created in NX6.0.0.

License requirements : None

Returns the name of the button.


Created in NX6.0.0.

License requirements : None

Returns the sensitivity of the button.


Created in NX6.0.0.

License requirements : None

Returns the type of the button.


Created in NX6.0.0.

License requirements : None

Returns the type name of the button.


Created in NX6.0.0.

License requirements : None

Sets the sensitivity of the button.


Created in NX6.0.0.

License requirements : None

Parameters:
sensitivitysensitivity

Sets the toggle status of the button.


Created in NX6.0.0.

License requirements : None

Parameters:
toggleStatustoggle status

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 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.