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

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

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

Public Types

typedef NXOpen::Callback1
< NXOpen::UIStyler::DialogState,
NXOpen::UIStyler::StylerEvent * > 
Activate
 
Created in NX5.0.0. More...
 
typedef NXOpen::Callback1
< NXOpen::UIStyler::DialogState,
NXOpen::UIStyler::StylerEvent * > 
DoubleClick
 Called when a dialog user selects an entry with a single mouse click or presses the spacebar on a selected item. More...
 
- Public Types inherited from NXOpen::UIStyler::StylerItem
enum  ItemType {
  ItemTypeInvalidType = -1, ItemTypeActionButton, ItemTypeDialog, ItemTypeRadioBox,
  ItemTypeReal, ItemTypeScaleReal, ItemTypeBitmap, ItemTypeRowColumn,
  ItemTypeButtonLayout, ItemTypeScrolledWindow, ItemTypeColorTool, ItemTypeSelectionBox,
  ItemTypeSeparator, ItemTypeSingleSelectionList, ItemTypeString, ItemTypeBeginGroup,
  ItemTypeInteger, ItemTypeScaleInteger, ItemTypeMultiList, ItemTypeLabel,
  ItemTypeMultiLineText, ItemTypeTabControl, ItemTypeOptionMenu, ItemTypeToggle,
  ItemTypeOptionToggle, ItemTypeToolPalette, ItemTypeWideString, ItemTypePropertyPage,
  ItemTypeCollapsibleGroup
}
 Describes kind of action to be taken from callbac. More...
 

Public Member Functions

void AddActivateHandler (const NXOpen::UIStyler::MultiSelectList::Activate &activateevent, bool isDialogLaunchingEvent)
 Called when a dialog user selects an entry with a double mouse click or presses Return on a selected item. More...
 
void AddDoubleClickHandler (const NXOpen::UIStyler::MultiSelectList::DoubleClick &doubleclickevent, bool isDialogLaunchingEvent)
 Registers double click callback. More...
 
void Append (std::vector< NXString > &multiEntries)
 Appends one or more entries to be inserted into the list
Created in NX5.0.0. More...
 
void DeleteSubitem (int subItemIndex)
 Deletes sub item
Created in NX5.0.0. More...
 
void Deselect (int subItemIndex)
 Requests a list entry to be deselected. More...
 
void Focus ()
 Indicates that this dialog item is receiving keyboard focus. More...
 
std::vector< int > GetAllIndicesSelected ()
 Gets the indices of all selected list entries. More...
 
std::vector< NXStringGetAllNameSelected ()
 Gets the names of all selected list entries. More...
 
std::vector< NXStringGetListItems ()
 Gets an array of character strings for item names that are used as selectable choices for this dialog item. More...
 
void InsertSubitems (int subitemIndex, std::vector< NXString > &multiEntries)
 
Created in NX5.0.0. More...
 
bool Sensitivity ()
 Returns the senstivity
Created in NX5.0.0. More...
 
void SetAllSelected ()
 Specifies all list entry to be selected. More...
 
void SetListItems (std::vector< NXString > &itemVal)
 Specifies an array of character strings for item names that are used as selectable choices for this dialog item. More...
 
void SetSelected (int subIndex)
 Specifies particular list items to be selected. More...
 
void SetSensitivity (bool type)
 Sets the senstivity
Created in NX5.0.0. More...
 
void SetVisibility (bool type)
 Sets the visibility
Created in NX5.0.0. More...
 
void ShowSubItem (int subItemIndex)
 Requests a list entry to be scrolled up to the first line in the list
Created in NX5.0.0. More...
 
bool Visibility ()
 Returns the visibility
Created in NX5.0.0. More...
 
- Public Member Functions inherited from NXOpen::UIStyler::StylerItem
NXOpen::UIStyler::StylerItem::ItemType GetItemType ()
 Gets the dialog item type. More...
 
NXOpen::UIStyler::AttachmentInitializeAttachment ()
 Returns initialized dialog item attachment information. More...
 
bool IsEqualTo (NXOpen::UIStyler::StylerItem *itemToCompare)
 Equates two styler items. More...
 
void SetAttachment (NXOpen::UIStyler::Attachment *attachment)
 Specifies the updated dialog item attachment information
Created in NX5.0.0. More...
 
virtual ~StylerItem ()
 Free resources associated with the instance. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

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


Member Typedef Documentation


Created in NX5.0.0.



License requirements : None

Called when a dialog user selects an entry with a single mouse click or presses the spacebar on a selected item.


Created in NX5.0.0.

License requirements : None

Member Function Documentation

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

Called when a dialog user selects an entry with a double mouse click or presses Return on a selected item.


Created in NX5.0.0.

License requirements : None

Parameters
activateeventactivateevent
isDialogLaunchingEventis dialog launching event
void NXOpen::UIStyler::MultiSelectList::AddDoubleClickHandler ( const NXOpen::UIStyler::MultiSelectList::DoubleClick doubleclickevent,
bool  isDialogLaunchingEvent 
)

Registers double click callback.

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

License requirements : None

Parameters
doubleclickeventdoubleclickevent
isDialogLaunchingEventis dialog launching event
void NXOpen::UIStyler::MultiSelectList::Append ( std::vector< NXString > &  multiEntries)

Appends one or more entries to be inserted into the list
Created in NX5.0.0.



License requirements : None

Parameters
multiEntriesAn array of entry names to be inserted into the list. This field is used only when more than one entry are to be inserted into the list.
void NXOpen::UIStyler::MultiSelectList::DeleteSubitem ( int  subItemIndex)

Deletes sub item
Created in NX5.0.0.



License requirements : None

Parameters
subItemIndexZero-based index of a list entry to be deleted
void NXOpen::UIStyler::MultiSelectList::Deselect ( int  subItemIndex)

Requests a list entry to be deselected.


Created in NX5.0.0.

License requirements : None

Parameters
subItemIndexIndex of the list entry to be deselected.
void NXOpen::UIStyler::MultiSelectList::Focus ( )

Indicates that this dialog item is receiving keyboard focus.


Created in NX5.0.0.

License requirements : None

std::vector<int> NXOpen::UIStyler::MultiSelectList::GetAllIndicesSelected ( )

Gets the indices of all selected list entries.

Returns
An array of integers for item indices of selected items
Created in NX5.0.0.

License requirements : None
std::vector<NXString> NXOpen::UIStyler::MultiSelectList::GetAllNameSelected ( )

Gets the names of all selected list entries.

Returns
An array of character strings of selected items
Created in NX5.0.0.

License requirements : None
std::vector<NXString> NXOpen::UIStyler::MultiSelectList::GetListItems ( )

Gets an array of character strings for item names that are used as selectable choices for this dialog item.

Returns
An array of character strings for item names
Created in NX5.0.0.

License requirements : None
void NXOpen::UIStyler::MultiSelectList::InsertSubitems ( int  subitemIndex,
std::vector< NXString > &  multiEntries 
)


Created in NX5.0.0.



License requirements : None

Parameters
subitemIndexSub item index
multiEntriesAn array of items to be inserted
bool NXOpen::UIStyler::MultiSelectList::Sensitivity ( )

Returns the senstivity
Created in NX5.0.0.



License requirements : None

void NXOpen::UIStyler::MultiSelectList::SetAllSelected ( )

Specifies all list entry to be selected.


Created in NX5.0.0.

License requirements : None

void NXOpen::UIStyler::MultiSelectList::SetListItems ( std::vector< NXString > &  itemVal)

Specifies an array of character strings for item names that are used as selectable choices for this dialog item.


Created in NX5.0.0.

License requirements : None

Parameters
itemValarray of character strings for item names
void NXOpen::UIStyler::MultiSelectList::SetSelected ( int  subIndex)

Specifies particular list items to be selected.


Created in NX5.0.0.

License requirements : None

Parameters
subIndexAn index of particular list items to be selected
void NXOpen::UIStyler::MultiSelectList::SetSensitivity ( bool  type)

Sets the senstivity
Created in NX5.0.0.



License requirements : None

Parameters
typetype
void NXOpen::UIStyler::MultiSelectList::SetVisibility ( bool  type)

Sets the visibility
Created in NX5.0.0.



License requirements : None

Parameters
typetype
void NXOpen::UIStyler::MultiSelectList::ShowSubItem ( int  subItemIndex)

Requests a list entry to be scrolled up to the first line in the list
Created in NX5.0.0.



License requirements : None

Parameters
subItemIndexZero-based index of a list entry to be scrolled up to the first line of the list.
bool NXOpen::UIStyler::MultiSelectList::Visibility ( )

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