Skip to content

jvDisplay

  jvDisplay creates and displays a GUI

  jvDisplay takes  a structure created by a prior call to jvPanel as input
  This will usually have been populated with GUI component descriptions by
  calls to jvElement. jvDisplay create the GUIs. The output of jvDisplay is
  a structure containing the handles of the GUI components. You can alter
  the properties and call methods on these handles to fine-tune the GUI.

  Explicitly call uiwait after invoking jvDisplay to wait for a user
  response.

  Example:
  h=jvDisplay(fhandle, s);
  uiwait(); 

  Output h is a a structure with fields for each of those in s. Each field
  contains the handle of the created jcontrol. In addition, standard 
  jcontrols (e.g. 'OK' and 'Cancel') are added to the panel.

  h is also added to the parent figure's application data area
  labeled as 'sigTOOL:jvhandles').

  Additional panels can be added to the GUI by calling jvAddPanel

  When 'OK' is selected, the structure of handles is replaced in the figure
  application data area with a structure containing the return values for
  each component in the GUI (labeled 'sigTOOL:jvvalues').


  See also: jvPanel, jvElement, jvAddPanel

 -------------------------------------------------------------------------
  Author: Malcolm Lidierth 07/07
  Copyright © The Author & King’s College London 2006-2007
 -------------------------------------------------------------------------

  Acknowledgements:
  Revisions: