![]() |
Microscopy Image Browser 2.91
MIB
|
a controller class for chopping the dataset into several smaller ones More...


Public Member Functions | |
| mibRandomRestoreDatasetController (mibModel) | |
| function | closeWindow () |
| closing mibRandomRestoreDatasetController window | |
| function | updateWidgets () |
| function | updateProjectDetails () |
| update details of the project in the file | |
| function | projectFilenameEdit_Callback () |
| update filename of the project file with details | |
| function | selectSettingsFileBtn_Callback () |
| callback for obj.View.handles.selectSettingsFileBtn select filename with the project details | |
| function | copyShowDirectory (listId, parameter) |
| callback from a dropdown menu with the directory lists | |
| function | updateDir (parameter) |
| update directory name for restore | |
| function | resaveProject () |
| resave the project with the updated directories | |
| function | restoreBtn_Callback () |
| restore the dataset | |
Public Attributes | |
| mibModel | |
| handles to the model | |
| View | |
| handle to the view | |
| listener | |
| a cell array with handles to listeners | |
| inputFilename = "[]" | |
| a char with filename to the project file, *.mibShuffle | |
| Settings = struct("") | |
| a structure with project settings | |
| EVENT | closeEvent |
| > Description of events event firing when window is closed | |
Public Attributes inherited from handle | |
| addlistener | |
| Creates a listener for the specified event and assigns a callback function to execute when the event occurs. | |
| notify | |
| Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects. | |
| delete | |
| Handle object destructor method that is called when the object's lifecycle ends. | |
| disp | |
| Handle object disp method which is called by the display method. See the MATLAB disp function. | |
| display | |
| Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function. | |
| findobj | |
| Finds objects matching the specified conditions from the input array of handle objects. | |
| findprop | |
| Returns a meta.property objects associated with the specified property name. | |
| fields | |
| Returns a cell array of string containing the names of public properties. | |
| fieldnames | |
| Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function. | |
| isvalid | |
| Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass. | |
| eq | |
| Relational functions example. See details for more information. | |
| transpose | |
| Transposes the elements of the handle object array. | |
| permute | |
| Rearranges the dimensions of the handle object array. See the MATLAB permute function. | |
| reshape | |
| hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function. | |
| sort | |
| ort the handle objects in any array in ascending or descending order. | |
a controller class for chopping the dataset into several smaller ones
| mibRandomRestoreDatasetController.mibRandomRestoreDatasetController | ( | mibModel | ) |
References mibModel.
| function mibRandomRestoreDatasetController.closeWindow | ( | ) |
closing mibRandomRestoreDatasetController window
References handle.isvalid, and handle.notify.
| function mibRandomRestoreDatasetController.copyShowDirectory | ( | listId, | |
| parameter ) |
callback from a dropdown menu with the directory lists
| listId | [string] identifying the list - "randomDirsList", "destinationDirsList" |
| parameter | [string] clipboard - copy the directory address to the system clipboard fileexplorer - open the directory in file explorer |
| function mibRandomRestoreDatasetController.projectFilenameEdit_Callback | ( | ) |
update filename of the project file with details
References Settings.
| function mibRandomRestoreDatasetController.resaveProject | ( | ) |
resave the project with the updated directories
References handle.fieldnames, and Settings.
| function mibRandomRestoreDatasetController.restoreBtn_Callback | ( | ) |
restore the dataset
References handle.disp, and mibModel.
| function mibRandomRestoreDatasetController.selectSettingsFileBtn_Callback | ( | ) |
callback for obj.View.handles.selectSettingsFileBtn select filename with the project details
References mib_uigetfile(), and Settings.

| function mibRandomRestoreDatasetController.updateDir | ( | parameter | ) |
update directory name for restore
| parameter | a char that defines which list should be updated randomDirsList destinationDirsList |
References handle.fieldnames.
| function mibRandomRestoreDatasetController.updateProjectDetails | ( | ) |
update details of the project in the file
References handle.fieldnames.
| function mibRandomRestoreDatasetController.updateWidgets | ( | ) |
| EVENT mibRandomRestoreDatasetController.closeEvent |
> Description of events event firing when window is closed
| mibRandomRestoreDatasetController.inputFilename = "[]" |
a char with filename to the project file, *.mibShuffle
Default: "[]"
| mibRandomRestoreDatasetController.listener |
a cell array with handles to listeners
| mibRandomRestoreDatasetController.mibModel |
handles to the model
Referenced by mibRandomRestoreDatasetController(), and restoreBtn_Callback().
| mibRandomRestoreDatasetController.Settings = struct("") |
a structure with project settings
Default: struct("")
Referenced by projectFilenameEdit_Callback(), resaveProject(), and selectSettingsFileBtn_Callback().
| mibRandomRestoreDatasetController.View |
handle to the view