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

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

Inheritance diagram for NXOpen::UIStyler::RealItem:
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 enters a valid real value and presses Return.

Public Member Functions

void AddActivateHandler (const NXOpen::UIStyler::RealItem::Activate &activateevent, bool isDialogLaunchingEvent)
 Registers activate callback.
double ItemValue ()
 Returns the item value
Created in NX5.0.0.
bool Sensitivity ()
 Returns the sensitivity
Created in NX5.0.0.
void SetBitmap (const NXString &strBitmap)
 
Created in NX5.0.0.
void SetFocus ()
 Sets focus
Created in NX5.0.0.
void SetItemValue (double itemVal)
 Sets the item value
Created in NX5.0.0.
void SetLabel (const NXString &strLabel)
 Set the label
Created in NX5.0.0.
void SetSensitivity (bool type)
 Sets the sensitivity
Created in NX5.0.0.
void SetVisibility (bool type)
 Sets the visibility
Created in NX5.0.0.
bool Visibility ()
 Returns the visibility
Created in NX5.0.0.

Detailed Description

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



Member Typedef Documentation

Called when a dialog user enters a valid real value and presses Return.


Created in NX5.0.0.

License requirements : None


Member Function Documentation

void NXOpen::UIStyler::RealItem::AddActivateHandler ( const NXOpen::UIStyler::RealItem::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:
activateeventCallback for activate event
isDialogLaunchingEventTRUE if dialog is going to launch, FALSE if not

Returns the item value
Created in NX5.0.0.



License requirements : None

Returns the sensitivity
Created in NX5.0.0.



License requirements : None

void NXOpen::UIStyler::RealItem::SetBitmap ( const NXString strBitmap)


Created in NX5.0.0.



License requirements : None

Parameters:
strBitmapFilename with .ubm, .xpm, or .bmp extension that contains a bitmap definition
NOTE: The full Unicode character set is not supported for this parameter.

Sets focus
Created in NX5.0.0.



License requirements : None

void NXOpen::UIStyler::RealItem::SetItemValue ( double  itemVal)

Sets the item value
Created in NX5.0.0.



License requirements : None

Parameters:
itemValReal value to display in the text field
void NXOpen::UIStyler::RealItem::SetLabel ( const NXString strLabel)

Set the label
Created in NX5.0.0.



License requirements : None

Parameters:
strLabelText label to display on the left side of the text field.
NOTE: The full Unicode character set is not supported for this parameter.

Sets the sensitivity
Created in NX5.0.0.



License requirements : None

Parameters:
typeTRUE if sensitive, FALSE if insensitive

Sets the visibility
Created in NX5.0.0.



License requirements : None

Parameters:
typeTRUE if visible, FALSE if invisible

Returns the visibility
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.