![]() |
Microscopy Image Browser 2.91
MIB
|
class displays preferences dialog using appdesigner created GUI More...
Public Member Functions | |
mibPreferencesAppController (mibModel, varargin) | |
function | closeWindow () |
closing mibPreferencesAppController window | |
function | updateWidgets (panelId) |
update widgets of this window | |
function | helpBtnCallback () |
function status = | ApplyButtonPushedCallback () |
apply preferences to MIB | |
function | RescaleGUIButtonPushed () |
rescale user interface of MIB | |
function | OKButtonPushedCallback () |
callback on press of OK | |
function | ColorPanelCallbacks (event) |
callbacks for modification of the Colors panel | |
function | KeyboardShortcutsPanelCallbacks (event) |
callbacks for modification of the Keyboard shortcuts panel Parameters: event: a structure to the GUI element that has triggered callback | |
function | SegmentationPanelCallbacks (event) |
callbacks for modification of the Segmentation tools panel Parameters: event: a structure to the GUI element that has triggered callback | |
function | BackupAndUndoPanelCallbacks (event) |
callbacks for modification of the Undo and backup panel | |
function | UserInterfacePanelCallbacks (event) |
callbacks for modification of the User Interface panel | |
function | CategoriesTreeSelectionChanged (selectedNodes) |
callback for change of nodes of CategoriesTree | |
function | updateColorPalette () |
generate default colors for the selected palette | |
function | updateColorsTables (ColorTableTag, options) |
update color tables: ModelsColorsTable or LUTColorsTable | |
function | TableCellSelectionCallback (event) |
callback for selection of a cell in ModelsColorsTable | |
function | ModelsColorsTableContextMenuCallbacks (event) |
callbacks for the context menu of ModelsColorsTable | |
function | TableCellEditCallback (event) |
callback for modification of cells in tables | |
function | ExternalDirSelect (event) |
callback for press of select directory button | |
function | ExternalDirPathChange (event) |
update of external directories | |
function | updateKeyShortcut (eventdata) |
callback for change of key shortcuts in the table obj.View.handles.shortcutsTable | |
function | Calculate () |
---------------------------------------------------------------— % Additional functions and callbacks start main calculation of the plugin | |
Static Public Member Functions | |
static function | ViewListner_Callback (obj, src, evnt) |
Public Attributes | |
mibController | |
a handle to mibController class | |
mibModel | |
handles to mibModel | |
View | |
handle to the view / mibPreferencesAppGUI | |
listener | |
a cell array with handles to listeners | |
shownPanelTag | |
a tag of the shown panel | |
oldPreferences | |
stored old preferences | |
preferences | |
local copy of MIB preferences | |
duplicateEntries | |
array with duplicate key shortcut entries | |
renderedPanels | |
indices of panels that are already rendered, for faster change upon press on new tree node | |
EVENT | closeEvent |
> Description of events event firing when window is closed | |
![]() | |
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. | |
class displays preferences dialog using appdesigner created GUI
mibPreferencesAppController.mibPreferencesAppController | ( | mibModel, | |
varargin ) |
References handle.addlistener, mibModel, mibUpdateFontSize(), and moveWindowOutside().
function status = mibPreferencesAppController.ApplyButtonPushedCallback | ( | ) |
apply preferences to MIB
References mibUpdateFontSize(), and handle.notify.
function mibPreferencesAppController.BackupAndUndoPanelCallbacks | ( | event | ) |
callbacks for modification of the Undo and backup panel
event | a structure to the GUI element that has triggered callback |
function mibPreferencesAppController.Calculate | ( | ) |
---------------------------------------------------------------— % Additional functions and callbacks start main calculation of the plugin
References handle.notify.
function mibPreferencesAppController.CategoriesTreeSelectionChanged | ( | selectedNodes | ) |
callback for change of nodes of CategoriesTree
selectedNodes | handle to the selected nodes |
function mibPreferencesAppController.closeWindow | ( | ) |
closing mibPreferencesAppController window
References handle.isvalid, and handle.notify.
function mibPreferencesAppController.ColorPanelCallbacks | ( | event | ) |
callbacks for modification of the Colors panel
event | a structure to the GUI element that has triggered callback |
References max, and mibInputDlg().
function mibPreferencesAppController.ExternalDirPathChange | ( | event | ) |
update of external directories
function mibPreferencesAppController.ExternalDirSelect | ( | event | ) |
callback for press of select directory button
References mib_uigetfile().
function mibPreferencesAppController.helpBtnCallback | ( | ) |
function mibPreferencesAppController.KeyboardShortcutsPanelCallbacks | ( | event | ) |
callbacks for modification of the Keyboard shortcuts panel Parameters: event: a structure to the GUI element that has triggered callback
References generateDefaultKeyShortcuts().
function mibPreferencesAppController.ModelsColorsTableContextMenuCallbacks | ( | event | ) |
callbacks for the context menu of ModelsColorsTable
References max, mib_uigetfile(), mibInputDlg(), mibInputMultiDlg(), and min.
function mibPreferencesAppController.OKButtonPushedCallback | ( | ) |
callback on press of OK
References handle.notify.
function mibPreferencesAppController.RescaleGUIButtonPushed | ( | ) |
rescale user interface of MIB
References mibRescaleWidgets().
function mibPreferencesAppController.SegmentationPanelCallbacks | ( | event | ) |
callbacks for modification of the Segmentation tools panel Parameters: event: a structure to the GUI element that has triggered callback
function mibPreferencesAppController.TableCellEditCallback | ( | event | ) |
callback for modification of cells in tables
function mibPreferencesAppController.TableCellSelectionCallback | ( | event | ) |
callback for selection of a cell in ModelsColorsTable
function mibPreferencesAppController.updateColorPalette | ( | ) |
generate default colors for the selected palette
References mibGenerateDefaultSegmentationPalette().
function mibPreferencesAppController.updateColorsTables | ( | ColorTableTag, | |
options ) |
update color tables: ModelsColorsTable or LUTColorsTable
options | a structure with additional parameters .updateDataOnly - [logical, dafault=false] update the data in the table without .rowId - [integer, default=[]] index of a row to update, when empty update the full table redrawing the styles |
ColorTableHandle | a string with a tag of the table: "ModelsColorsTable", "LUTColorsTable" |
References min.
function mibPreferencesAppController.updateKeyShortcut | ( | eventdata | ) |
callback for change of key shortcuts in the table obj.View.handles.shortcutsTable
function mibPreferencesAppController.updateWidgets | ( | panelId | ) |
update widgets of this window
panelId; | [optional] handle to panel that has to be updated, when missing all panels are updated "UserInterfacePanel", |
function mibPreferencesAppController.UserInterfacePanelCallbacks | ( | event | ) |
callbacks for modification of the User Interface panel
event | a structure to the GUI element that has triggered callback |
References mibUpdateFontSize().
|
static |
EVENT mibPreferencesAppController.closeEvent |
> Description of events event firing when window is closed
mibPreferencesAppController.duplicateEntries |
array with duplicate key shortcut entries
mibPreferencesAppController.listener |
a cell array with handles to listeners
mibPreferencesAppController.mibController |
a handle to mibController class
mibPreferencesAppController.mibModel |
handles to mibModel
Referenced by mibPreferencesAppController().
mibPreferencesAppController.oldPreferences |
stored old preferences
mibPreferencesAppController.preferences |
local copy of MIB preferences
mibPreferencesAppController.renderedPanels |
indices of panels that are already rendered, for faster change upon press on new tree node
mibPreferencesAppController.shownPanelTag |
a tag of the shown panel
mibPreferencesAppController.View |
handle to the view / mibPreferencesAppGUI