NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::UIStyler::PushButton Class Reference

Represents a PushButton for UI Styler
Created in NX5.0.0. More...

Inheritance diagram for NXOpen::UIStyler::PushButton:
NXOpen::UIStyler::StylerItem NXOpen::TransientObject

List of all members.

Public Types

typedef NXOpen::Callback1
< NXOpen::UIStyler::DialogState,
NXOpen::UIStyler::StylerEvent * > 
Activate
 Called when a dialog user clicks on the push button or presses the spacebar when the push button has keyboard focus.

Public Member Functions

void AddActivateHandler (const NXOpen::UIStyler::PushButton::Activate &activateevent, bool isDialogLaunchingEvent)
 Registers activate callback.
bool Sensitivity ()
 Returns the senstivity of dialog.
void SetBitmap (const NXString &bitmap)
 Specifies a filename that contains a bitmap definition.
void SetDefaultAction ()
 Sets default action
Created in NX5.0.0.
void SetFocus ()
 Indicates that this dialog item is receiving keyboard focus.
void SetLabel (const NXString &strLabel)
 Specifies descriptive text to display for the dialog item.
void SetSensitivity (bool type)
 Sets the senstivity of dialog.
void SetVisibility (bool type)
 Sets the visibility of dialog.
bool Visibility ()
 Returns the visibility of dialog.

Detailed Description

Represents a PushButton for UI Styler
Created in NX5.0.0.



Member Typedef Documentation

Called when a dialog user clicks on the push button or presses the spacebar when the push button has keyboard focus.


Created in NX5.0.0.

License requirements : None


Member Function Documentation

void NXOpen::UIStyler::PushButton::AddActivateHandler ( const NXOpen::UIStyler::PushButton::Activate activateevent,
bool  isDialogLaunchingEvent 
)

Registers activate callback.

This method should be called before calling UIStyler::Dialog::Show or UIStyler::Dialog::RegisterWithUiMenu
Created in NX5.0.0.

License requirements : None

Parameters:
activateeventactivateevent
isDialogLaunchingEventis dialog launching event

Returns the senstivity of dialog.


Created in NX5.0.0.

License requirements : None

Specifies a filename that contains a bitmap definition.

The filename must contain a UBM, XPM, or BMP extension. When you use this field, the system displays a bitmap for this dialog item instead of a text label. When a bitmap is present, the system uses the text label as a popup hint when a user places the mouse cursor over the bitmap.
Created in NX5.0.0.

License requirements : None

Parameters:
bitmapthe bitmap extension
NOTE: The full Unicode character set is not supported for this parameter.

Sets default action
Created in NX5.0.0.



License requirements : None

Indicates that this dialog item is receiving keyboard focus.


Created in NX5.0.0.

License requirements : None

Specifies descriptive text to display for the dialog item.

It should describe the dialog item's intended use. If you specify a bitmap for this dialog item, it uses this text as tooltip text.
Created in NX5.0.0.

License requirements : None

Parameters:
strLabelthe label string
NOTE: The full Unicode character set is not supported for this parameter.

Sets the senstivity of dialog.


Created in NX5.0.0.

License requirements : None

Parameters:
typeto set senstivity of dialog

Sets the visibility of dialog.


Created in NX5.0.0.

License requirements : None

Parameters:
typeto set visibility of dialog

Returns the visibility of dialog.


Created in NX5.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.