Microscopy Image Browser  1.233
All Classes Files Functions Variables Pages
editbox_Callback.m File Reference

Check for entered values in an edit box and switch the focus to handles.updatefilelistBtn. More...

Functions

function status = editbox_Callback (hObject, eventdata, handles, chtype, default_val, variation)
 Check for entered values in an edit box and switch the focus to handles.updatefilelistBtn. More...
 

Detailed Description

Check for entered values in an edit box and switch the focus to handles.updatefilelistBtn.

Function Documentation

function status = editbox_Callback (   hObject,
  eventdata,
  handles,
  chtype,
  default_val,
  variation 
)

Check for entered values in an edit box and switch the focus to handles.updatefilelistBtn.

Parameters
hObjecthandle to im_browser.m (see GCBO)
eventdatareserved - to be defined in a future version of MATLAB
handlesstructure with handles of im_browser.m
chtype- required type of the input
  • 'int' -> positive and negative integers
  • 'pint' -> positive integers
  • 'float' -> positive and negative floats
  • 'pfloat' -> positive floats and zero
  • 'intrange' -> range of integers without zero
  • 'posintx2' -> two integers separated with comma
default_val- [optional], default value if the input is wrong. default is 1
variation[optional] a variation of the input, a vector [minValue, maxValue]
Return values
statusresult of the function:
  • - fail
  • - success
Required fields of handles:

Referenced by changelayerEdit_Callback(), changeTimeEdit_Callback(), imfiltPar1Edit_Callback(), imfiltPar2Edit_Callback(), localNormSigmaSlider_Callback(), and imbrowser>corrAbsvsEdit_Callback().

Here is the caller graph for this function: