Skip to content

set

  SET method overloaded for JCONTROL class

  Examples:
  set(obj,PropertyName, PropertyValue)
  set(obj, PropertyName1, Value1, PropertyName2, Value2....)

  The propertyname/valuename sequence can have an embedded cell array if
  that contains property/value pairs e.g
            standardvalues={'Units', 'normalized'}
            set(myobj, 'javax.swing.JPane',...
                       'ToolTipText','MyTip',...
                        standardvalues);
 s
  Also:
  set(obj, s)
  set(obj, pn, pm)
  where s in a structure with fieldnames corresponding to property names
  and values corresponding to property values
  pn and pm and name/value cell vectors (note pm may not be a matrix)

  If obj is a vector of JCONTROLs, SET will act on each element.
  In this case, the specified properties must be present in all the 
  JCONTROLs or an error will result


  See also: jcontrol

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