Simulink.dialog.TreeControl class
Package: Simulink.dialog
Control Tree control programmatically
Description
Use an instance of Simulink.dialog.TreeControl
class to perform the following operations:
Get selected items from the tree
Set selected items in the tree
Properties
|
Uniquely identifies the dialog control and is a required field. Type: |
|
Specifies the text displayed on the tree dialog control. Type: Default:
|
|
Specifies the items shown in the tree. Type: Default:
|
|
Specifies the MATLAB® command (s) to be executed when the dialog control is invoked. Type: Default:
|
|
Specifies whether dialog control is placed on the current row or on a new row. Type: Value:
Default:
|
|
Indicates whether tree control is active on the mask dialog box. Type:
Value:
Default:
|
|
Indicates whether tree control is displayed on the mask dialog box. Type:
Value:
Default:
|
|
Indicates whether tree control is enabled for multiple selection. Type:
Value:
Default:
|
|
Indicates whether tree control has a tooltip configured. Type: Default:
|
Methods
getSelectedItems(TreeControl) | Get the values of selected items from a tree hierarchy |
setSelectedItems(TreeControl) | Set values for a tree |