RadioBox Class¶
-
class
NXOpen.UIStyler.RadioBox¶ Bases:
NXOpen.UIStyler.StylerItemRepresents a RadioBox for UI Styler
New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| ItemValue | Returns or sets the item value |
| Visibility | Returns or sets the visibility |
Methods¶
| Method | Description |
|---|---|
| AddValueChangedHandler | Registers value change callback. |
| Dispose | Free resources associated with the instance. |
| GetItemType | Gets the dialog item type. |
| GetSensitivity | Gets the sensitivity |
| InitializeAttachment | Returns initialized dialog item attachment information |
| IsEqualTo | Equates two styler items |
| SetAttachment | Specifies the updated dialog item attachment information |
| SetDefaultAction | Set default action |
| SetLabel | Sets label |
| SetSensitivity | Sets the sensitivity |
Property Detail¶
ItemValue¶
-
RadioBox.ItemValue¶ Returns or sets the item value
-------------------------------------Getter Method
Signature
ItemValueReturns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ItemValueParameters: itemVal (int) – Zero-based index indicating the choice to be selected. It must be in the range of existing choices. New in version NX5.0.0.
License requirements: None.
Visibility¶
-
RadioBox.Visibility¶ Returns or sets the visibility
-------------------------------------Getter Method
Signature
VisibilityReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
VisibilityParameters: type (bool) – TRUE if sensitive, FALSE if insensitive New in version NX5.0.0.
License requirements: None.
Method Detail¶
AddValueChangedHandler¶
-
RadioBox.AddValueChangedHandler¶ Registers value change callback.
This method should be called before calling
UIStyler.Dialog.Show()orUIStyler.Dialog.RegisterWithUiMenu()Signature
AddValueChangedHandler(valuechangedevent, isDialogLaunchingEvent)Parameters: - valuechangedevent (CallableObject) – Callback for value changed event
- isDialogLaunchingEvent (bool) – TRUE if dialog is going to launch, FALSE if not
New in version NX5.0.0.
License requirements: None.
GetSensitivity¶
-
RadioBox.GetSensitivity¶ Gets the sensitivity
Signature
GetSensitivity()Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
SetDefaultAction¶
-
RadioBox.SetDefaultAction¶ Set default action
Signature
SetDefaultAction()New in version NX5.0.0.
License requirements: None.