Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibPreferencesController Class Reference

a controller class for the MIB Preferences dialog More...

Inheritance diagram for mibPreferencesController:
Collaboration diagram for mibPreferencesController:

Public Member Functions

 mibPreferencesController (mibModel, mibController)
 
function  closeWindow ()
 closing mibPreferencesController window
 
function  updateWidgets ()
 update widgets of the window
 
function  paletteTypePopup_Callback ()
 update palette colors, obj.View.handles.paletteColorNumberPopup
 
function  updateColorPalette ()
 generate default colors for the selected palette
 
function  updateModelColorTable ()
 update the obj.View.handles.modelsColorsTable with palette colors
 
function  updateLUTColorTable ()
 adding colors to the color table for the color channels LUT
 
function  applyBtn_Callback ()
 apply preferences
 
function  OKBtn_Callback ()
 callback for press of obj.View.handles.OKBtn
 
function  mouseWheelPopup_Callback ()
 callback for change of obj.View.handles.mouseWheelPopup
 
function  mouseButtonPopup_Callback ()
 callback for change of obj.View.handles.mouseButtonPopup
 
function  undoPopup_Callback ()
 callback for change of obj.View.handles.undoPopup
 
function  imresizePopup_Callback ()
 callback for change of obj.View.handles.imresizePopup
 
function  colorSelectionBtn_Callback ()
 callback for press of obj.View.handles.colorSelectionBtn set color for the selection layer
 
function  colorMaskBtn_Callback ()
 callback for press of obj.View.handles.colorMaskBtn set color for the mask layer
 
function  colorModelSelection_Callback ()
 callback for selection of colors in obj.View.handles.modelsColorsTable
 
function  modelsColorsTable_cb (parameter)
 callback for context menu of obj.View.handles.modelsColorsTable
 
function  modelsColorsTable_CellEditCallback (eventdata)
 callback for cell edit in obj.View.handles.modelsColorsTable
 
function  lutColorsTable_CellEditCallback (eventdata)
 callback for cell edit in obj.View.handles.lutColorsTable
 
function  undoHistory_Callback ()
 callback for change undo history
 
function  disableSelectionPopup_Callback ()
 callback for selection of obj.View.handles.disableSelectionPopup
 
function  interpolationTypePopup_Callback ()
 callback for change of obj.View.handles.interpolationTypePopup
 
function  interpolationNoPoints_Callback ()
 callback for change of obj.View.handles.interpolationNoPoints
 
function  interpolationLineWidth_Callback ()
 callback for change of obj.View.handles.interpolationLineWidth
 
function  colorChannelSelection_Callback ()
 callback for change of obj.View.handles.lutColorsTable selection of color stripe in the Color channels table
 
function  fontSizeEdit_Callback ()
 callback for change of obj.View.handles.fontSizeEdit update font size for mibPreferencesGUI
 
function  annotationColorBtn_Callback ()
 callback for press of obj.View.handles.annotationColorBtn
 
function  annotationFontSizeCombo_Callback ()
 callback for press of obj.View.handles.annotationFontSizeCombo
 
function  defaultBtn_Callback ()
 callback for press of obj.View.handles.defaultBtn
 
function  fontBtn_Callback ()
 callback for press of obj.View.handles.fontBtn
 
function  keyShortcutsBtn_Callback ()
 start a dialog for selection of key shortcuts
 
function  externalDirsBtn_Callback ()
 define external directories, for example of Fiji
 
function  guiScalingBtn_Callback ()
 modify gui scaling settings
 

Static Public Member Functions

static function  ViewListner_Callback (obj, src, evnt)
 

Public Attributes

 mibController
 a handle to mibController class
 
 mibModel
 handles to the model
 
 View
 handle to the view
 
 listener
 a cell array with handles to listeners
 
 oldPreferences
 stored old preferences
 
 preferences
 local copy of MIB preferences
 
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.
 

Detailed Description

a controller class for the MIB Preferences dialog

Constructor & Destructor Documentation

◆ mibPreferencesController()

mibPreferencesController.mibPreferencesController ( mibModel,
mibController )

Member Function Documentation

◆ annotationColorBtn_Callback()

function mibPreferencesController.annotationColorBtn_Callback ( )

callback for press of obj.View.handles.annotationColorBtn

◆ annotationFontSizeCombo_Callback()

function mibPreferencesController.annotationFontSizeCombo_Callback ( )

callback for press of obj.View.handles.annotationFontSizeCombo

◆ applyBtn_Callback()

function mibPreferencesController.applyBtn_Callback ( )

apply preferences

References mibUpdateFontSize(), and handle.notify.

Here is the call graph for this function:

◆ closeWindow()

function mibPreferencesController.closeWindow ( )

closing mibPreferencesController window

References handle.isvalid, and handle.notify.

◆ colorChannelSelection_Callback()

function mibPreferencesController.colorChannelSelection_Callback ( )

callback for change of obj.View.handles.lutColorsTable selection of color stripe in the Color channels table

◆ colorMaskBtn_Callback()

function mibPreferencesController.colorMaskBtn_Callback ( )

callback for press of obj.View.handles.colorMaskBtn set color for the mask layer

◆ colorModelSelection_Callback()

function mibPreferencesController.colorModelSelection_Callback ( )

callback for selection of colors in obj.View.handles.modelsColorsTable

◆ colorSelectionBtn_Callback()

function mibPreferencesController.colorSelectionBtn_Callback ( )

callback for press of obj.View.handles.colorSelectionBtn set color for the selection layer

◆ defaultBtn_Callback()

function mibPreferencesController.defaultBtn_Callback ( )

callback for press of obj.View.handles.defaultBtn

◆ disableSelectionPopup_Callback()

function mibPreferencesController.disableSelectionPopup_Callback ( )

callback for selection of obj.View.handles.disableSelectionPopup

◆ externalDirsBtn_Callback()

function mibPreferencesController.externalDirsBtn_Callback ( )

define external directories, for example of Fiji

◆ fontBtn_Callback()

function mibPreferencesController.fontBtn_Callback ( )

callback for press of obj.View.handles.fontBtn

References mibUpdateFontSize().

Here is the call graph for this function:

◆ fontSizeEdit_Callback()

function mibPreferencesController.fontSizeEdit_Callback ( )

callback for change of obj.View.handles.fontSizeEdit update font size for mibPreferencesGUI

◆ guiScalingBtn_Callback()

function mibPreferencesController.guiScalingBtn_Callback ( )

modify gui scaling settings

References mibInputMultiDlg(), and mibRescaleWidgets().

Here is the call graph for this function:

◆ imresizePopup_Callback()

function mibPreferencesController.imresizePopup_Callback ( )

callback for change of obj.View.handles.imresizePopup

◆ interpolationLineWidth_Callback()

function mibPreferencesController.interpolationLineWidth_Callback ( )

callback for change of obj.View.handles.interpolationLineWidth

◆ interpolationNoPoints_Callback()

function mibPreferencesController.interpolationNoPoints_Callback ( )

callback for change of obj.View.handles.interpolationNoPoints

◆ interpolationTypePopup_Callback()

function mibPreferencesController.interpolationTypePopup_Callback ( )

callback for change of obj.View.handles.interpolationTypePopup

◆ keyShortcutsBtn_Callback()

function mibPreferencesController.keyShortcutsBtn_Callback ( )

start a dialog for selection of key shortcuts

◆ lutColorsTable_CellEditCallback()

function mibPreferencesController.lutColorsTable_CellEditCallback ( eventdata)

callback for cell edit in obj.View.handles.lutColorsTable

Parameters
eventdatastructure with selected cell index
Required fields of eventdata:

◆ modelsColorsTable_cb()

function mibPreferencesController.modelsColorsTable_cb ( parameter)

callback for context menu of obj.View.handles.modelsColorsTable

References handle.disp, max, mib_uigetfile(), mibInputDlg(), mibInputMultiDlg(), and min.

Here is the call graph for this function:

◆ modelsColorsTable_CellEditCallback()

function mibPreferencesController.modelsColorsTable_CellEditCallback ( eventdata)

callback for cell edit in obj.View.handles.modelsColorsTable

Parameters
eventdatastructure with selected cell index
Required fields of eventdata:

◆ mouseButtonPopup_Callback()

function mibPreferencesController.mouseButtonPopup_Callback ( )

callback for change of obj.View.handles.mouseButtonPopup

◆ mouseWheelPopup_Callback()

function mibPreferencesController.mouseWheelPopup_Callback ( )

callback for change of obj.View.handles.mouseWheelPopup

◆ OKBtn_Callback()

function mibPreferencesController.OKBtn_Callback ( )

callback for press of obj.View.handles.OKBtn

References handle.notify.

◆ paletteTypePopup_Callback()

function mibPreferencesController.paletteTypePopup_Callback ( )

update palette colors, obj.View.handles.paletteColorNumberPopup

References max, and mibInputDlg().

Here is the call graph for this function:

◆ undoHistory_Callback()

function mibPreferencesController.undoHistory_Callback ( )

callback for change undo history

◆ undoPopup_Callback()

function mibPreferencesController.undoPopup_Callback ( )

callback for change of obj.View.handles.undoPopup

◆ updateColorPalette()

function mibPreferencesController.updateColorPalette ( )

generate default colors for the selected palette

References mibGenerateDefaultSegmentationPalette().

Here is the call graph for this function:

◆ updateLUTColorTable()

function mibPreferencesController.updateLUTColorTable ( )

adding colors to the color table for the color channels LUT

◆ updateModelColorTable()

function mibPreferencesController.updateModelColorTable ( )

update the obj.View.handles.modelsColorsTable with palette colors

References min.

◆ updateWidgets()

function mibPreferencesController.updateWidgets ( )

update widgets of the window

◆ ViewListner_Callback()

static function mibPreferencesController.ViewListner_Callback ( obj,
src,
evnt )
static

Member Data Documentation

◆ closeEvent

EVENT mibPreferencesController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ listener

mibPreferencesController.listener

a cell array with handles to listeners

◆ mibController

mibPreferencesController.mibController

a handle to mibController class

Referenced by mibPreferencesController().

◆ mibModel

mibPreferencesController.mibModel

handles to the model

Referenced by mibPreferencesController().

◆ oldPreferences

mibPreferencesController.oldPreferences

stored old preferences

◆ preferences

mibPreferencesController.preferences

local copy of MIB preferences

◆ View

mibPreferencesController.View

handle to the view


The documentation for this class was generated from the following file: